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

Platform and RTMP


We have received reports from customers about receiving "could not connect to server" errors. According to the troubleshooting docs (http://support.jwplayer.com/customer/portal/articles/1403682-troubleshooting-your-setup#media), this problem is caused by not being able to connect to the RTMP server. I'm trying to understand when this would be the case, so we can give suggestions to resolve the problem.

I came across this page:

http://qa.jwplayer.com/~todd/multiple-sources.html

The feed provided by JW Platform seems to provide an m3u8 file and an mp4 backup, similar to this example. Based on this, it seems like there's never a case where RTMP would be used, so I'm not exactly sure what situation would cause that error to surface.

Thanks for any help

7 Community Answers

Cooper Reid

JW Player Support Agent  
-1 rated :

I’m not sure what you mean. If our player cannot playback a source, it will try to fallback to a secondary source in the sources block.
-Cooper

kae

User  
0 rated :

I just want to understand what client side restrictions would have to be in place for them to receive an error that your documentation claims is related to not being able to hit an RTMP server.

Cooper Reid

JW Player Support Agent  
-1 rated :

The only way this would happen, is if the RTMP file were corrupt or not accessible.
Cooper

kae

User  
0 rated :

What RTMP file, though? We don't provide an RTMP streaming source, only an m3u8 and an mp4 fallback. Correct me if I'm wrong, but as I understand it, the m3u8 will be streamed over HLS unless HLS is unavailable, in which case the mp4 fallback will be used, but still served over HTTP. I'm not understanding which file would be streamed over RTMP, or what situation would cause that to happen.

Cooper Reid

JW Player Support Agent  
-1 rated :

You need to configure an RTMP server to stream over RTMP. Our player only does what you tell it to – if you provide 3 sources: rtmp, hls, mp4 it will try each in sequence. If the first one plays back it will use that source, otherwise it will fall to subsequent sources. Each source will have it’s own URL as set up on your server.
-Cooper

kae

User  
0 rated :

I understand that, but we do not provide an RTMP file, so why would we get an error that supposedly relates to RTMP?

Cooper Reid

JW Player Support Agent  
0 rated :

If your HLS source is invalid, this error might show-
Cooper

This question has received the maximum number of answers.