Stream of example RTP packets
I am trying to tunnel R开发者_如何学运维TP traffic through a user-defined protocol, and want to test this setup. Is there any C++ library, which I can use to generate example RTP packets and then tunnel them through my library?
Thanks.
you can see an example here: RTPpacket
but is in java. Well this is the main page streaming tcp/udp
Hope can be helpfull! Bye
Have a look at jRtpLib. Live555 is another open source RTP RTSP lib but would probably be harder to integrate. Both are free open source cross platform c++ libraries with "liberal" licences. AFAIR JRTPLIB focuses more on the RTP/RTCP side or at least it did when i last looked at it. It was fairly easy to get started. The one from live555 is more comprehensive featuring an event loop, many RTP payload formats, RTSP, etc. but is also more difficult to understand.
精彩评论