HTML 5 Sub Second Streaming using EMS 2.0 not Playing in latest Mozilla and IE
Hello ,
I am using your EMS 2.0 for Sub Second streaming . I am using the following code to play the streaming through websocket .
var emsIp = document.getElementById(“IPAddress”).value;
var streamName = “mystream.sdp”; sessionID = document.getElementById(“HiddenFieldSessionID”).value; var opts = {
emsIp: emsIp,
streamName: streamName,
videoTagId: sessionID,
queueSize: 5
};
window[sessionID] = new EvoWsPlayer(opts); var obj = document.getElementById(“ObjectDiv”);
var html = “<video id=” + sessionID + ” controls autoplay class=’videoElement’ src=” + emsIp + “/> “; obj.innerHTML = html;
window[sessionID].play(); I am viewing this page from multiple PC . with chrome it works good means on all PC i am able to see the streaming . But when i use Mozilla or IE , I am able to get the stream only on first browser which has login first . On all other Mozilla or IE browser it only shows buffering icons .Also if i reload or refresh i still see only buffering image and no streaming on these browser . I have check the number of connected clients to the EMS using getConnectionCount it shows that client is connected .but i am not able to see the streaming . I am using the latest Mozilla Browser and IE browser and using the OS windows 8.1 pro . I have the webpage hosted at one place and i am accesing that webpage from different machine Could you please tell me the process how could i see the streaming in different mozilla and IE browser when login to see that webpage from different machine. Regards Avaneesh Srivastava
var streamName = “mystream.sdp”; sessionID = document.getElementById(“HiddenFieldSessionID”).value; var opts = {
emsIp: emsIp,
streamName: streamName,
videoTagId: sessionID,
queueSize: 5
};
window[sessionID] = new EvoWsPlayer(opts); var obj = document.getElementById(“ObjectDiv”);
var html = “<video id=” + sessionID + ” controls autoplay class=’videoElement’ src=” + emsIp + “/> “; obj.innerHTML = html;
window[sessionID].play(); I am viewing this page from multiple PC . with chrome it works good means on all PC i am able to see the streaming . But when i use Mozilla or IE , I am able to get the stream only on first browser which has login first . On all other Mozilla or IE browser it only shows buffering icons .Also if i reload or refresh i still see only buffering image and no streaming on these browser . I have check the number of connected clients to the EMS using getConnectionCount it shows that client is connected .but i am not able to see the streaming . I am using the latest Mozilla Browser and IE browser and using the OS windows 8.1 pro . I have the webpage hosted at one place and i am accesing that webpage from different machine Could you please tell me the process how could i see the streaming in different mozilla and IE browser when login to see that webpage from different machine. Regards Avaneesh Srivastava
6 Answers
Hi Avaneesh,
IE does not support WebSockets.
Mozilla and Chrome does! Please see http://docs.evostream.com/2.0/html5players_wscompatibility.html
Please try to configure your Firefox and try it again.
Thank you.
Hello ,
The linq which you have suggested http://docs.evostream.com/2.0/html5players_wscompatibility.html when opens gives me the following message
Page Not Found
Sorry, but the page you were trying to view does not exist. Try searching for it or looking at the URL to see if it looks correct.
Also as per your docs it has been said that browsers which have MSE enabled will be able to play HTML5 SubSecond Streaming and i am able to play streaming in IE also but it only shows buffering.
Regards
Avaneesh Srivastava
Hi Avaneesh,
Please see: http://docs.evostream.com/2.0/html5players_wscompatibility.html
You can play websockets using Edge but not with older versions of IE. You can also check here if your browser is supported or not. HTMLVideoElement, MSE & H.264 should be checked.
Thank you.
Hii Erika ,
I have modified the browser as per the setting told in docs for Mozilla and also check my browser support it is fine .
I am using the v56.0.1 for mozilla .I am continously seeing this view as shown in image uploaded.
If i first login to Mozilla browser to see the streaming then streaming is coming ok ,but if any other instance of browser is open any where then i am seeing this below image only in my browser.
I
The debug message of player is as follows :
1508998604840: VIDEO play event triggered.
1508998604839: VIDEO play event triggered.
1508998604838: Playing video…
1508998600593: Initialization data added.
1508998600569: Initializing source buffer…
1508998600568: Media source is now ready.
1508998600561: VIDEO loadstart event triggered.
1508998600561: VIDEO loadstart event triggered.
1508998600558: Initializing player…
1508998600557: Playback failure. Restarting player…
1508998588792: VIDEO play event triggered.
1508998588792: VIDEO play event triggered.
1508998588792: Playing video…
1508998584402: Initialization data added.
1508998584388: Initializing source buffer…
1508998584387: Media source is now ready.
1508998584367: VIDEO loadstart event triggered.
1508998584367: VIDEO loadstart event triggered.
1508998584365: Initializing player…
1508998584365: Playback failure. Restarting player…
1508998572839: VIDEO play event triggered.
1508998572839: VIDEO play event triggered.
1508998572838: Playing video…
1508998569236: Initialization data added.
1508998569211: Initializing source buffer…
1508998569210: Media source is now ready.
1508998569201: VIDEO loadstart event triggered.
1508998569201: VIDEO loadstart event triggered.
1508998569198: Initializing player…
1508998569197: Playback failure. Restarting player…
1508998557035: VIDEO play event triggered.
1508998557034: VIDEO play event triggered.
1508998557034: Playing video…
1508998553026: Initialization data added.
1508998553008: Initializing source buffer…
1508998553007: Media source is now ready.
1508998552998: VIDEO loadstart event triggered.
1508998552998: VIDEO loadstart event triggered.
1508998552994: Initializing player…
1508998552994: Playback failure. Restarting player…
1508998541167: VIDEO play event triggered.
1508998541167: VIDEO play event triggered.
1508998541167: Playing video…
1508998536808: Initialization data added.
1508998536801: Initializing source buffer…
1508998536800: Media source is now ready.
1508998536789: VIDEO loadstart event triggered.
1508998536789: VIDEO loadstart event triggered.
1508998536786: Initializing player…
1508998536786: Playback failure. Restarting player…
1508998531272: VIDEO pause event triggered.
1508998531272: VIDEO pause event triggered.
1508998531051: VIDEO play event triggered.
1508998531051: VIDEO play event triggered.
1508998530862: VIDEO pause event triggered.
1508998530862: VIDEO pause event triggered.
1508998525060: Playing video…
1508998524677: VIDEO play event triggered.
1508998524676: VIDEO play event triggered.
1508998521630: Initialization data added.
1508998521624: Initializing source buffer…
1508998521623: Media source is now ready.
1508998521618: VIDEO loadstart event triggered.
1508998521617: VIDEO loadstart event triggered.
1508998521611: Initializing player…
1508998521611: Playback failure. Restarting player…
1508998509618: Playing video…
1508998506118: VIDEO play event triggered.
1508998506118: VIDEO play event triggered.
1508998504992: Initialization data added.
1508998504980: Initializing source buffer…
1508998504444: Media source is now ready.
1508998504439: VIDEO loadstart event triggered.
1508998504439: VIDEO loadstart event triggered.
1508998504425: Initializing player…
1508998503565: VIDEO pause event triggered.
1508998493698: VIDEO play event triggered.
1508998493697: Playing video…
1508998488749: Initialization data added.
1508998488741: Initializing source buffer…
1508998487893: Media source is now ready.
1508998487889: VIDEO loadstart event triggered.
1508998487868: Initializing player… Please tell me how could i solve this issue . Regards Avaneesh Srivastava
1508998604839: VIDEO play event triggered.
1508998604838: Playing video…
1508998600593: Initialization data added.
1508998600569: Initializing source buffer…
1508998600568: Media source is now ready.
1508998600561: VIDEO loadstart event triggered.
1508998600561: VIDEO loadstart event triggered.
1508998600558: Initializing player…
1508998600557: Playback failure. Restarting player…
1508998588792: VIDEO play event triggered.
1508998588792: VIDEO play event triggered.
1508998588792: Playing video…
1508998584402: Initialization data added.
1508998584388: Initializing source buffer…
1508998584387: Media source is now ready.
1508998584367: VIDEO loadstart event triggered.
1508998584367: VIDEO loadstart event triggered.
1508998584365: Initializing player…
1508998584365: Playback failure. Restarting player…
1508998572839: VIDEO play event triggered.
1508998572839: VIDEO play event triggered.
1508998572838: Playing video…
1508998569236: Initialization data added.
1508998569211: Initializing source buffer…
1508998569210: Media source is now ready.
1508998569201: VIDEO loadstart event triggered.
1508998569201: VIDEO loadstart event triggered.
1508998569198: Initializing player…
1508998569197: Playback failure. Restarting player…
1508998557035: VIDEO play event triggered.
1508998557034: VIDEO play event triggered.
1508998557034: Playing video…
1508998553026: Initialization data added.
1508998553008: Initializing source buffer…
1508998553007: Media source is now ready.
1508998552998: VIDEO loadstart event triggered.
1508998552998: VIDEO loadstart event triggered.
1508998552994: Initializing player…
1508998552994: Playback failure. Restarting player…
1508998541167: VIDEO play event triggered.
1508998541167: VIDEO play event triggered.
1508998541167: Playing video…
1508998536808: Initialization data added.
1508998536801: Initializing source buffer…
1508998536800: Media source is now ready.
1508998536789: VIDEO loadstart event triggered.
1508998536789: VIDEO loadstart event triggered.
1508998536786: Initializing player…
1508998536786: Playback failure. Restarting player…
1508998531272: VIDEO pause event triggered.
1508998531272: VIDEO pause event triggered.
1508998531051: VIDEO play event triggered.
1508998531051: VIDEO play event triggered.
1508998530862: VIDEO pause event triggered.
1508998530862: VIDEO pause event triggered.
1508998525060: Playing video…
1508998524677: VIDEO play event triggered.
1508998524676: VIDEO play event triggered.
1508998521630: Initialization data added.
1508998521624: Initializing source buffer…
1508998521623: Media source is now ready.
1508998521618: VIDEO loadstart event triggered.
1508998521617: VIDEO loadstart event triggered.
1508998521611: Initializing player…
1508998521611: Playback failure. Restarting player…
1508998509618: Playing video…
1508998506118: VIDEO play event triggered.
1508998506118: VIDEO play event triggered.
1508998504992: Initialization data added.
1508998504980: Initializing source buffer…
1508998504444: Media source is now ready.
1508998504439: VIDEO loadstart event triggered.
1508998504439: VIDEO loadstart event triggered.
1508998504425: Initializing player…
1508998503565: VIDEO pause event triggered.
1508998493698: VIDEO play event triggered.
1508998493697: Playing video…
1508998488749: Initialization data added.
1508998488741: Initializing source buffer…
1508998487893: Media source is now ready.
1508998487889: VIDEO loadstart event triggered.
1508998487868: Initializing player… Please tell me how could i solve this issue . Regards Avaneesh Srivastava
Hi Avaneesh,
Can you play the stream fine using VLC?
Is the playback the same after browser restart?
Can you send listConfig and listStreams and place the result here.
Thank you.