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

Black Screen After Few Minutes of Streaming on Mac Firefox


1. open http://demo.jwplayer.com/stream-tester/ on Mac Firefox browser
2. load stream , url is rtmps://video.presencepro.com:443/ppcvideoserver?sessionId=1n9ujZ8oPQb58kjELCriq3ArV&deviceId=CB4A8A33-3B82-43B4-9F97-A6196A714864::75093/1n9ujZ8oPQb58kjELCriq3ArV
3. uncheck "Attempt to render in HTML5"
4. click "Load Stream"

The page will player the stream, but after 5-25 minutes, the player becomes black screen. But can reload again.

This only happen on Mac Safari, Please help to check . Works well on Chrome browser.

11 Community Answers

Alex

JW Player Support Agent  
1 rated :

Hi there,

When I try that stream URL on our Stream Tester, I receive a “Error loading stream: ID not found on server” error. Did the URL expire by any chance?

Also, have you tried the stream in another player but in the same browser, such as Wowza’s Test Player?

Thank you.

w...

User  
0 rated :

Hi Alex,

The URL expired.
I will test in Wowza's Test Play page, and compare the two player first.

Thanks for you help.

w...

User  
0 rated :

Hi Alex,

I setup a camera for test.
1. Access url https://app.presencepro.com/test-camera.html , will wake up my camera, and output the RTMP url and session id. please keep the page open, the stream will shutdown if you close the page.
2.Try to play stream in JW Player's test page and Wowza's test page.
3.You can find the Wowza's test page stable than JW Player. Wait x minutes, the JW Player's page becomes dark, but the Wowza's test page still playing.

Thank you.

Alex

JW Player Support Agent  
0 rated :

For testing purposes, are you able to provide a version of the stream that is RTMP, not RTMPS? I would like to test playing the stream in VLC but it doesn’t support RTMPS streams.

Thanks.

w...

User  
0 rated :

Sure, RTMP not has the problem. we can play it and keep in a long time. but RTMPS will get dark screen after x minutes.
I test play RTMPS in Mac Chrome, FF. Mac Chrome works better than Mac FF.

w...

User  
0 rated :

I using RTMPs or HTTPS(HLS stream) for security. Any problems in RTMPS?

Alex

JW Player Support Agent  
0 rated :

After doing some more research, it looks like the use of RTMPS streams in our player would require you to supply the secure token from Wowza in the rtmp.securetoken configuration option inside of your player setup, much like this:

playerInstance.setup({
  file: "rtmps://whatever.the.path.is",
  rtmp: {
    securetoken: "dksjhajksdhasdaskjd"
  }
});

Please let me know if that improves the playback. Thank you.

w...

User  
0 rated :

Hi Alex,

I think this is JWplayer's issue. This issue only happen on Mac browsers in RTMPS protocol.

I create a wowza application 'testapplication', you can test and reproduce it by yourself.
1. Download htmlplay.zip from https://presencepro-my.sharepoint.com/personal/vincent_peoplepowerco_com/_layouts/15/guestaccess.aspx?guestaccesstoken=aHLYwRAfPf34Ix2aS2ucN3uuH9YES5RYxQHflXx0D30%3d&docid=07d8144931fa2411da7e70205a923f242&rev=1&expiration=2016-11-29T07%3a37%3a37.000Z
2. Read README , and publish a rtmp stream. like : rtmp://stream.presencepro.com:1935/testapplication, stream name is jwplayertesting
3. Open the url rtmp://stream.presencepro.com:443/testapplication/jwplayertesting in JWPlayer test page(http://demo.jwplayer.com/stream-tester/)
4. Open the url rtmp://stream.presencepro.com:443/testapplication in RTMP Player Test page( https://www.wowza.com/resources/4.4.1/examples/VideoOnDemandStreaming/FlashRTMPPlayer/player.html)

Result : JWPlayer test page will dark after x minutes, and the RTMP Player page still working.


w...

User  
0 rated :

Here's what I observed.
Viewer Results
Mac Safari Dark screen after 5 minutesI
Mac Firefox Dark screen after 11 minutesI
Mac Chrome Disconnected after 55 minutesI

Alex

JW Player Support Agent  
0 rated :

You’re asking me to test the stream on our Stream Tester, which does not give the ability to set the rtmp.securetoken which I advised should resolve the issue. If you could supply a reproduction page showing the player still going black even when its set up properly with the stream’s secure token, then I will be more than happy to take a further look.

Thank you.

w...

User  
0 rated :

Hi Alex,

Thanks for you help, I think I found the cause of the issue. Please close the issue.

Because of we using RTMPS. https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol
The ssl link require call /idle/<session id>/<sequence #>, and our wowza server not response 200, so the screen becomes dark and the stream is disconnected.
I am not found /idle/<session id>/<sequence #> calling when using RTMP Player, I think RTMP Player not use ssl protocol, so the can continue working.

This question has received the maximum number of answers.