Angular 4-5 WebRTC participants video play only on DOM refresh

10 views
Skip to first unread message

István Ferenc Tóth

unread,
Dec 12, 2017, 5:17:13 AM12/12/17
to Angular and AngularJS discussion
Hi all

I'm creating a little app with a WebRTC connection.
The problem is my own source video playing well, but the other participant's video play only when I trigger a DOM event, like scroll, click, or even when I select the video tag in Chrome debugger.
After that, the video stops till I interact again.
The connection itself is okay.

Sander Elias

unread,
Dec 13, 2017, 10:55:37 AM12/13/17
to Angular and AngularJS discussion
Hi Istvan,

I think you hit upon a bug in chrome. you need to start the video element, and after that it will keep on playing. I would say it's something like videoElm.play(), but I'm not sure.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages