I want to play streaming media. I checked some information and made some preliminary knowledge reserves.
Currently, the RTP protocol is selected for streaming media playback.
I sorted out the process.
Protocol: RTP + RTCP, RTP transmission data, RTCP control Streaming Media Playback
Server: sends streaming media data and controls streaming media playback.
Client: receives streaming media data and plays the Video Based on the RTCP protocol, and uses dshow to play the video.
Details:
1. RTP protocol: Implemented Using jrtplib. Using the sample code of jrtplib, you can use jrtplib to send and receive RTP data.
2. RTCP protocol: after searching online, jrtplib will automatically send RTCP packets. You need to understand the RTCP protocol.
3. SERVER: whether to read streaming media files with special requirements, such as reading by Frame
4. Client: to implement RTCP protocol control, dshow needs to implement Source Filter of stream playing, and needs to be manually connected to filter
The first step is to send and receive streaming media data.