Jump to content
  • 0

Screen blank on playing the stream ( happens randomly)


Deepinder Singh
 Share

Question

At some random times the screen goes blank while playing has already started as seen in the events. This usually happens after refreshing, but its happening randomly, I am calling start playing method in the initialization of the socket. This is happening randomly.
if (info === "initialized") {
console.log("initialized");
startPlaying();
} else if (info === "play_started") {}
function startPlaying() {
webRTCAdaptor.play(streamId);
}



1785505668_Screenshot2020-04-08at2_59_27AM.thumb.png.22aa0d2246a49821ea4db10b3f0714dd.png

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0
Hi Deepinder,

Sorry for my late response, have you been able to resolve the issue?

Best,
Asim



On Wednesday, April 8, 2020 at 12:32:45 AM UTC+3, Deepinder Singh wrote:
At some random times the screen goes blank while playing has already started as seen in the events. This usually happens after refreshing, but its happening randomly, I am calling start playing method in the initialization of the socket. This is happening randomly.
if (info === "initialized") {
console.log("initialized");
startPlaying();
} else if (info === "play_started") {}
function startPlaying() {
webRTCAdaptor.play(streamId);
}
Link to comment
Share on other sites

 Share

×
×
  • Create New...