I have been searching for this problem online for a long time. It may take about two weeks. After a large number of searches and searches, I have finally made some progress. Although I still don't understand the principle, I can finally see it. The next step is to make a deeper research, but today we are going to post the receipt, although very few, but it is also a summary of myself. Of course, we would also like to thank our predecessors and Friends of the video forum for their selfless dedication.
1. Of course, you must have a server that sends the. 264 file of the RTP package.
2. Download vlchttp: // download.videolan.org/pub/videolan/vlc/1.1.5/win32/. This version can be used for playback (It seems that other versions are not acceptable. I tried it for a long time. Thanks for the connection provided by netizens.)
And then set:
1). Set W. SDP to open VLC ---> media ---> open network stream
(1) ---> network ---> RTP: // @ 192.168.1.101: 1234
(2) ---> file ---> Add... W. SDP -----> play
Here we will talk about the SDP file. When the SDP file is used, VLC playback is required. This is required. Otherwise, it cannot be played. W. the SDP file has only a few words. I will post them here:
M = video 1234 RTP/AVP 96 // 96 indicates the dynamic net load type number, which means that the load type is uncertain and A = rtpmap: 96 h264a = framerate: 15c = in ip4 192.168.0.30
The above 1234 and 192.168.1.101 should all know what it is, namely, the RTP Port and IP address.
2.) Click the play button of VLC (you must first click play)
3) then run the. 264 file's RTP packet sent to the server
4.) You will be able to see the VLC starting to play the video later.