FHEM Forum

FHEM => English Corner => Thema gestartet von: kroonen am 19 Dezember 2023, 20:48:01

Titel: Video streans RTSP to different format with go2rtc , best weblinks?
Beitrag von: kroonen am 19 Dezember 2023, 20:48:01
Hi,

I noticed that there is no good solution to view rtsp streams in the browser and fhem.

the project go2rtc (https://github.com/AlexxIT/go2rtc) solves this issue with a simple application.

Now I want to create the weblink in fhem with the still image and clicking the image that the video streams.
In the screenshot the options I can choose.
 

Any idea how it can be done in fhem?

Screenshot from 2023-12-19 20-45-58.png
Titel: Aw: Video streans RTSP to different format with go2rtc , best weblinks?
Beitrag von: rudolfkoenig am 20 Dezember 2023, 10:25:09
Sorry, I have no experience yet in this area.
After reading the documentation, the following might(!) work:
define go2rtc weblink iframe http://my-go2rtc-host:1984/api/stream.mp4?src=camera1
attr go2rtc htmlattr width="480" height="560"
It assumes that in go2rtc you configured camera1, and are usig the http configuration mentioned in the link.

Please share your results.
Titel: Aw: Video streans RTSP to different format with go2rtc , best weblinks?
Beitrag von: kroonen am 22 Dezember 2023, 10:57:41
Thnx that works. Is it also possible that you can click to get is full screen in seperate window?

Titel: Aw: Video streans RTSP to different format with go2rtc , best weblinks?
Beitrag von: rudolfkoenig am 22 Dezember 2023, 11:31:01
You could try a weblink of type link.