mediadevices icon indicating copy to clipboard operation
mediadevices copied to clipboard

Video not showing in video element in latest versions of chrome.

Open anand-dotworld opened this issue 2 years ago • 5 comments
trafficstars

I am trying out the pion mediadevices example for webrtc. which is given in this repository. The connection is connected successfully. I am also receiving a video track and attaching the Mediastream from the video track to a video element, just like in the example I haven't changed anything. But the video is not showing in video element.

Tested in Chrome 111 - Not working Chrome 108 - Working.

I don't know whether the problem is with pion or chrome. Does anyone has similar problem like this. Can anyone help me with this?

anand-dotworld avatar Apr 03 '23 10:04 anand-dotworld

Yes. Unable to steam camera using given webrtc example.

naveenrobo avatar Apr 04 '23 11:04 naveenrobo

same issue with chrome 112 and webrtc example. After replacing video encoding H264 with VP8 (changing x264.NewParams() to vpx.NewVP8Params()), video is showing in Chrome 112.

ps: My go build was linked to x264: stable r3095

@wawesomeNOGUI @Sean-Der

selvan avatar Apr 05 '23 11:04 selvan

Yes. I can confirm vp8 works fine but not h264.

naveenrobo avatar Apr 07 '23 03:04 naveenrobo

vp8 works fine in chrom but not works in safari

cwww3 avatar Apr 25 '23 13:04 cwww3

every example is broken in 1 or more ways except mjpeg (http) one

G2G2G2G avatar May 04 '23 16:05 G2G2G2G