-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to play rtmp from AWS Cloudfront RTMP distribution #57
Comments
@daniel2surf I tried to reproduce this stream URL Can you provide me with another valid URL? |
@gfronza I just tried again... And it is playing... |
Ok now it's working! Thanks! |
@daniel2surf I added some logging and noticed a security error when loading the URL. The streaming is not playing because of that. I'll add more debugging lines to help identify those cases. |
@gfronza If the other rtmp players are able to play it, Clappr RTMP should play as well... Don't you think? |
@daniel2surf Yes, but so far I couldn't identify the reason for this |
@daniel2surf I found the issue. OSMF (a very old Adobe project) is ruling out the application instance in the path (in your case the app instance is I have a "fork" of the OSMF project and will make the fix. |
@gfronza Haha... |
@daniel2surf I found out that the fix is not as simple as I first thought :( |
@gfronza Thanks for your effort. I cannot use default instance as it is all setup by aws cloudfront distribuition... The "/cfx/st/" is their standard path... |
@daniel2surf Adding host and filename/streamname as arguments wouldn't be a clappr-like solution. So I decided to add a boolean parameter called https://github.com/flavioribeiro/clappr-rtmp-plugin/releases/tag/0.0.14 Let me know if I can close this issue (after your validation). |
@gfronza Still not able to play... Using your rtmp.min.js release... |
@daniel2surf the CDN (jsdelivr) is outdated due to the repo ownership change. We already asked them to update, but nothing so far. You'll have to host the SWF file yourself for now. Oh, and you have to use both rtmp.min.js and the RTMP.swf from this latest release. |
@gfronza Working perfect now... Thanks a lot! |
I can reproduce with no problem here on the their debug player: http://d1k5ny0m6d4zlj.cloudfront.net/diag/CFStreamingDiag.html
My setup is ok, cause it works fine when playing rtmp from nginx server.
I also can play the RTMP vod file from wowza flash player:
https://www.wowza.com/testplayers
host: rtmp://rtmp.conanewborn.com.br:1935/cfx/st
file/stream: entrada
My player setup:
<script> var player = new Clappr.Player({ source: "rtmp://rtmp.conanewborn.com.br:1935/cfx/st/entrada", poster: "poster.jpg", parentId: "#player_57ae3ed6cd36f", plugins: { container: [TextOverlay], playback: [RTMP] }, textOverlay: "test", rtmpConfig: { swfPath: '//cdn.jsdelivr.net/clappr.rtmp/latest/assets/RTMP.swf', scaling:'stretch', playbackType: 'vod', bufferTime: 1, startLevel: 0 } }); </script>Does anybody knows if that is a limitation or bug? Any tip?
Thanks
The text was updated successfully, but these errors were encountered: