Streaming with CloudFront to JWPlayer

时光总嘲笑我的痴心妄想 提交于 2019-12-04 09:48:48

Which version of JWPlayer are you using? I'm not sure if this is the issue, but I had to prefix the filename part of my url with mp4:, like this:

'rtmp://sxxxxxx.cloudfront.net/cfx/st/mp4:a.mp4'

If that doesn't work code you put you code on a public URL, so we can help you diagnose the issue?

Updated 1 March

I've had a look at your JWplayer set up and it looks fine.

I have a local JWPlayer page which I use for testing - it works fine with a RTMP stream I have from Amazon CloudFront, but as soon as switch to your RTMP file I get the same error as you.

Therefore I think the issue must be todo with your Amazon set up. It might be worth double checking permissions on the file, or trying to add some other files to test with ( i can see you've made it public, but there are also some file level permissions you might need to set)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!