Simplest way to stream RTSP IP Cameras to your website via WebRTC, without transcoding

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
david235235
Posts: 1
Joined: Wed Jul 29, 2020 9:22 am

Simplest way to stream RTSP IP Cameras to your website via WebRTC, without transcoding

Post by david235235 »

If you are on Windows OS, there is a remarkably easy way of doing this.

Download and install free Unreal Media Server, create a live broadcast of type "rebroadcast live RTSP/RTMP...stream", select RTSP from dropdown and provide your RTSP Camera URL. Give that broadcast some name (Alias). Now go to their demo page and open this demo: Unreal Media Server WebRTC player

Ctrl+S will save that page on your computer. Go to line 44 and replace "livedemocam" with your live broadcast name (Alias), "104.194.11.25" with your computer IP address, "80" with "5119" (that's the port number, it's 5119 by default).
Now open that webpage in Chrome.

Notice that your IP Camera must encode H264 video and G.711 audio. If audio is AAC then you will not hear audio on the webpage, because WebRTC doesn't support AAC.
Unreal Media Server simply converts incoming RTSP to outcoming WebRTC, without audio or video transcoding.
Post Reply