go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

WebRTC link not working on Chrome on PC/but works on Android/Chrome

Open alenzurfluh opened this issue 2 years ago • 4 comments

Hi

I'm using go2rtc with Frigate in docker. I've updated go2rtc to the latest version because I want to use ISAPI for 2-way audio I've have defined following stream for my hikvision doorbell camera

  streams:
     haustuere_rtps:
      - "rtsp://admin:XXX@CAM_HAUSTUERE:554/Streaming/Channels/101/"
      - "isapi://admin:XXX@CAM_HAUSTUERE:80"

When I try to open the WebRTC link from the go2rtc dashboard (i.e. http://ubuntu22:1984/webrtc.html?src=haustuere_rtps&media=video+audio) on my PC with Chrome or Edge the video won't load. But when I open the same link in Chrome on my Android mobile the video will load! I can open the MSE link on my PC in Chrome without an issues (http://ubuntu22:1984/stream.html?src=haustuere_rtps)

Any ideas what I'm doing wrong - why is the rtc link no working on my pc and laptop in Chrome?

When open chrome://webrtc-internals/ in Chrome I get the below - not sure if that helps.

image

alenzurfluh avatar Jan 06 '24 20:01 alenzurfluh

Hello, I have the same question with the same behavior... And I don't know what I'm doing wrong :/

madjx avatar Mar 06 '24 12:03 madjx

Same problem, didn't find a way to show a stream in chrome on Windows

Horgul123 avatar Apr 20 '24 10:04 Horgul123

You must have ports open on the server with go2rtc. If you using docker - check recommended config https://hub.docker.com/r/alexxit/go2rtc

AlexxIT avatar Apr 20 '24 11:04 AlexxIT

Found the problem: A Chrome extension (Disable HTML5 Auto-Play) prevented to show the stream

Horgul123 avatar Apr 20 '24 19:04 Horgul123