Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anand-dotworld opened this issue Apr 3, 2023 · 5 comments
Open

Comments

@anand-dotworld
Copy link

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?

@naveenrobo
Copy link

Yes. Unable to steam camera using given webrtc example.

@selvan
Copy link

selvan commented Apr 5, 2023

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

@naveenrobo
Copy link

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

@cwww3
Copy link

cwww3 commented Apr 25, 2023

vp8 works fine in chrom but not works in safari

@G2G2G2G
Copy link

G2G2G2G commented May 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants