I want to send multimedia data over RTP. What I wnat to know is how to send and receive RTP packets with Python. I found the python class DPKT. But couldn’t able to find a good reference to visualize how to generate each filed in RTP.
I would appreciate if someone could help me generate and receive rtp packets at the server.
After several days of studies I was able to use gstreamer in ubuntu terminal to achieve the above task. My main scope was to learn about synchronization of the streams. I used RTP and RTCP functionalities in gstreamer. I divided a video in to four parts vertically and send from one PC to another and displayed in the second PC. Following is the code used.
Sender:
Receiver:
I was able to receive the four streams in one window as expected. But still streams are not synchronized perfectly.