need a help - how to test WSS stream on IOS (Safari)

Max

Administrator
Staff member
Websocket player for iOS Safari works under Player example:
https://wcs5-eu.flashphoner.com:8888/demo2/player
https://wcs5-eu.flashphoner.com:8888/client2/examples/demo/streaming/player/player.html
wss://wcs5-eu.flashphoner.com:8443
/usr/local/FlashphonerWebCallServer/client2/examples/demo/streaming/player/player.html

To get this working without SSL certs you have to use http, not https:
Example:
http://wcs5-eu.flashphoner.com:9091/demo2/player
http://wcs5-eu.flashphoner.com:9091/client2/examples/demo/streaming/player/player.html
ws://wcs5-eu.flashphoner.com:8080

If you need to get this working over https, you have to import your SSL certificates via Dashboard / Security / Certificates and use your domain name.
https://yourdomain.com:8888/demo2/player
https://yourdomain.com:8888/client2/examples/demo/streaming/player/player.html
wss://yourdomain.com:8443
 

Max

Administrator
Staff member
According the logs, your server says that license is expired.
Code:
com.flashphoner.server.license.manager.exception.LicensePeriodIsExpired: License period is expired Sat Apr 22 16:24:34 CEST 2017 Wed May 03 00:00:00 CEST 2017 Wed Jan 01 00:00:00 CET 3000
        at com.flashphoner.server.license.manager.A.A.D.check(Unknown Source)
        at com.flashphoner.server.license.manager.LicenseManager.check(Unknown Source)
 

Arsen G.

Member
Dear Max, I found the problem :)
I had two "codec" descriptions in my flashphoner.properties :) It was not license problem, the license is active till May 02.
I fixed the error and now everything is OK :)
Thank you for your help.
 

Arsen G.

Member
sorry, but now I have another problem :(
I can play stream on my iMac via Safari, but have problem with paying the same stream on my iPhone (Safari browser).
I got disconnected immediately :(
Please find attached a screenshot.
 

Attachments

Max

Administrator
Staff member
Please read my post above regarding SSL
http://forum.flashphoner.com/thread...st-wss-stream-on-ios-safari.10868/#post-12236
To get this working without SSL certs you have to use http, not https:
Example:
http://wcs5-eu.flashphoner.com:9091/demo2/player
http://wcs5-eu.flashphoner.com:9091/client2/examples/demo/streaming/player/player.html
ws://wcs5-eu.flashphoner.com:8080

If you need to get this working over https, you have to import your SSL certificates via Dashboard / Security / Certificates and use your domain name.
https://yourdomain.com:8888/demo2/player
https://yourdomain.com:8888/client2/examples/demo/streaming/player/player.html
wss://yourdomain.com:8443
 
Top