Live Streaming over RTP using VLC - 2020
The Real-time Transport Protocol (RTP) is a network protocol for delivering audio and video over IP networks.RTP is used in communication and entertainment systems that involve streaming media, such as telephony, video teleconference applications including WebRTC, television services and web-based push-to-talk features. RTP typically runs over User Datagram Protocol. Real Time Streaming Protocol (RTSP) controls media sessions between endpoints and is often used together with Real-time Transport Protocol (RTP) and with Real-time Control Protocol (RTCP) for media stream delivery. Using RTP with RTCP allows for adaptive streaming.
- RTP 1 Live streaming and TV schedules. Live, delayed, on-demand and replay sports events on RTP 1.
- RTP Play is the online streaming service of the Portuguese state broadcaster, RTP. The new RTP Play Kodi add-on is the first to make all of RTP’s channels easily available for Kodi users. The add-on has been developed independently of RTP, but it is hosted in the official Kodi Repository and this is important.
To broadcast a stream over the network, we need to click the Stream option:
In the Open Media dialog, select the media to stream. We can select any media. Hit the Stream button after selection. In this example, we will use a file for the media:
The Stream Output window will appear. We just want to click Next to continue:
On the Destination Setup window, we want to choose a destination for our stream. We want select RTP / MPEG Transport Stream to listen for connections so that other computers can connect to our computer and watch the stream:
After selecting our destination, hit the Add button. To watch the media being streamed on our local computer, we may also want to activate the Display locally check box:
We'll set the Address as a multicast 239.0.0.1 amd the port as 5004:
We can customize the transcoding settings. For example, by transcoding to a lower quality, VLC can save network bandwidth.
Click Next to continue to the Option Setup dialog. We probably don't need to change any of the advanced options here. To start streaming, click the Stream button:
Sic Online
To tune in to a stream from 192.169.1.1, we need to select the Media menu in VLC on another computer and select Open Network Stream. In this example, we run the VLC media player on another machine in the same network (192.168.1.12).
We're using RTP, so we need to enter an address and port 'rtp://@239.0.0.1:5004':
After clicking Play, the stream should start playing. If we encounter an error like:
Rtp Live
We should make sure VLC isn't being blocked by a firewall on the streaming system. If VLC is blocked, we need to do adjust the firewall settings. For Windows 8, Control Panel -> System and Security -> Windows Firewall -> Allowed apps:Here are the two pictures: top - streaming, bottom - receiving the stream over RTP locally.
So, we can share our media content with our friends live without uploading to internet, just by giving ip-address and port to our friends.
Here is the file used in this example:
source.mp4.