Closed Subcode closed 2 months ago
+1 I'm interested by this answer as well to add P2P video streaming for the Jeedom plugin. @bropat could you please explain how this is supposed to work?
You can pass the data as a buffer to e.g. go2rtc as in this project:
Ask your question
Hi, i want to use the library to receive a p2p stream, and present it as rtsp on a socket. I had a look at the eufy-security hass addon to see how they use simple_rtsp_server and i cant seem to reproduce their work.
Is there a way to read out the video/audio events and just present them straight from python onto a socket and open that with vlc or something? If not, is it possible to push the data to mediamtx or something similar so i can use vlc from there? I've tried using cv2.VideoWriter but i cant seem to get it to work. I'm not sure how to use the video / audio chunks that come from the events correctly.