Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

RTMP Working Embed , Self Hosted Not


Stream working with embed, but not self hosted

https://s3.amazonaws.com/jwtestrtmp/embedded.html
https://s3.amazonaws.com/jwtestrtmp/selfhosted.html

Same source in both: rtmp://centosstream-k3ds7l33.cloudapp.net/live2/video

Stream is fine, checked in VLC and ffmpeg

And ideas?

3 Community Answers

Alex

JW Player Support Agent  
1 rated :

Hi,

The issue appears to be caused by the use of rtmp: { subscribe: true } in your setup block. That option is only required for certain steaming providers like Akamai, Edgecast or Limelight CDN. If you remove that block from your code, the RTMP stream should work on the self-hosted player.

The reason why the issue is not present when embedding the cloud-hosted player is because the configuration options we provide for setting up a player does not include setting that subscribe option.

Please let me know if you need any more help or have any other questions.

Thank you!

polo.boltes

User  
0 rated :

Sweet, thank you, and I see rtmp block still works for others settings, when I add bufferlength for instance.

Alex

JW Player Support Agent  
0 rated :

Yes, buffer length should be fine, but not subscribe.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.