WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Any idea how to embed this Live Webcam?

Open pickonedev opened this issue 1 year ago • 5 comments

Hi!

I have this live webcam https://webcamromania.ro/webcam-orase/webcam-piata-romana-bucuresti/ And I would like to add it to my dashboard, but I can't get it to work.

Any help, please?

Thanks!

pickonedev avatar Oct 30 '24 08:10 pickonedev

This streams works via HLS format. It's hard to get something good from HLS. Because it's not real time format...

This is the best I can suggest in a short time.

ffmpeg:
  webcamromania: -headers referer:https://player.webcamromania.ro/ -i {input}

streams:
  tmp1: ffmpeg:https://p.webcamromania.ro/piataromanab/tracks-v1/mono.m3u8#input=webcamromania#video=h264

It's working terribly. Needs to add delays. But go2rtc doesn't work with delays. It only works in real time mode.

AlexxIT avatar Oct 30 '24 09:10 AlexxIT

I understand.

Can you please give me the complete dashboard card? I don't understand how to add this :-) sry, noob here

image

pickonedev avatar Oct 30 '24 10:10 pickonedev

This is part from go2rtc config. go2rtc build-in to this integration. You should to learn how to config and use it. It's advanced user case.

AlexxIT avatar Oct 30 '24 13:10 AlexxIT

Oh, ok, I understand... So, there is no easy way. Thanks

pickonedev avatar Oct 30 '24 15:10 pickonedev

Once you figure out how to edit the config, it's a 15 second task to change it.

AlexxIT avatar Oct 31 '24 17:10 AlexxIT