Neuigkeiten:

Am Sonntag den 8.12.2024 kann es ab ca. 8:00 Uhr zu kurzzeitigen Einschränkungen / Ausfällen bei den Diensten des FHEM Vereines kommen.
Die Server müssen mal gewartet und dabei neu gestartet werden ;)

Hauptmenü

Video streans RTSP to different format with go2rtc , best weblinks?

Begonnen von kroonen, 19 Dezember 2023, 20:48:01

Vorheriges Thema - Nächstes Thema

kroonen

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?

Du darfst diesen Dateianhang nicht ansehen.

rudolfkoenig

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.

kroonen

Thnx that works. Is it also possible that you can click to get is full screen in seperate window?


rudolfkoenig