logo elektroda
logo elektroda
X
logo elektroda

Understanding RTSP Functionality in IP Cameras & How to Stream on Multiple Devices Simultaneously

foxeu 9489 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17298031
    foxeu
    Level 4  
    As probably most of those who sit on the subject of IP cameras know (there is a lot about it on this forum), practically all cheap - average IP cameras are supported by RTSP and / or only by Internet Explorer browser, chrome, firefox and all newer ones fall off.
    It is difficult to talk.

    However, now it looks like this, I have a webcam that works via RTSP (it also has ONVIF if it has something to do with it) and yes ... I want to fire the image from this webcam simultaneously on several computers ...

    1. With IE = it works for everyone at once
    2. Via IE + the program where he pats the RTSP address: //192.168.1.25 etc ... = also works
    3. For two or more programs = it only works on one of them that was fired first
    4. Stream via FFMPEG on youtube in which I gave the address via RTSP + program + IE = also works for everyone

    Also only webcam programs bite, and practically all of them, the question is why? Since they do not bite with each other through IE, and when I run FFMPEG stream in which I give the RTSP + address, I run the same link in the program, they also do not bite, so as you can see?

    Does it have to do with TCP / UDP? I tried to play with it but from what I can see via UDP this webcam does not work (I only opened the UDP port on the router and the webcam fell, it must go via TCP). So these streams are different, e.g. several IE + one program + FFMPEG go as I understand it by TCP and yet this one webcam source can be received in several clients at once.

    So the question is how to do it humanly in one browser / program (not IE) playing the webcam stream simultaneously on several computers?

    The programs I tried, the more popular ones: VLC, ip cam viewer (there was a lot more)
    Even tried through something like this: https://github.com/linkingvision/h5stream
    RTSP> HTML5, in short, it converts the RTSP stream to HTML5 and you can run RTSP stream in the latest browsers if someone needs it, I confirm that it works - but so I said, only one computer can watch this stream at a time, and I need it for 2-3 computers at the same time.
  • ADVERTISEMENT
  • #2 17298477
    makosuu
    Network and Internet specialist
    foxeu wrote:
    Average rate of IP cameras are supported by RTSP and / or only by Internet Explorer, chrome, firefox and all newer ones fall off.


    Well, I can't agree with that. Many cameras provide MJPEG stream that can be easily played in the browser.

    In another topic I gave suggestions - does it work?
  • ADVERTISEMENT
  • #3 17298542
    foxeu
    Level 4  
    It is possible that the internals have more on MJPEG but the externals I was looking for are all H264, ONVIF and RTSP protocol, so you have to play with IE or programs.

    When it comes to this webcamXP, nothing works for me there, you have to enter the manufacturer of the webcam there and mine are not there, of course, I have not seen entering the address on rtsp there either. Besides, I have already given up with a few webcams, so far I want to run at least one on several computers, but it is probably not possible via RTSP / ONVIF. Although it works through IE ...

    Alternatively, I am still thinking of putting this mini raspberry server on it and making a RTSP restream on HTTP / MJPEG on it and then it could be opened on several computers ...
  • ADVERTISEMENT
  • #4 17298601
    makosuu
    Network and Internet specialist
    In webcamxp you can choose as Brand OEM, Empire Security model, Video Preset RTSP, further enter the port, password etc. it's always worth trying.
  • #5 17298695
    TvWidget
    Level 38  
    The RTSP protocol is just a way of negotiating between the sending party and the receiving party. In a few steps, the pages mainly determine how the image stream is to be sent, i.e. in what compression format, on what port, whether TCP or UDP should be used, etc.
    Thus, it does not prescribe the H264 or MJPEG compression method in advance.
    What's more, if you select UDP multicast or broadcast, the stream can be fed into the network just like the TV signal, i.e. any computer can receive it.
ADVERTISEMENT