<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>><i>Hi,
</i>><i>I would like to know how we get rtp packets. I am using openRTSP in
</i>><i>Live555 library. We can get rtp frames by using the getNextFrame(). But
</i>><i>i need rtp packets. I know, using incomingPacketHandler() we can get rtp
</i>><i>packets, but it is declared in the private section. So i can't use it in
</i>><i>the openRTSP test program. Can anyone help me ....
</i>
RTP packets are received in the class "MultiFramedRTPSource".
--
Ross Finlayson
Live Networks, Inc.
<a href="http://www.live555.com/">http://www.live555.com/</a>
Thanks for the info. I know doGetNextFrame1() will give the rtp frames. But instead of rtp frames i need rtp packets.
The following function will do get rtp packets.
* static void networkReadHandler(MultiFramedRTPSource* source, int /*mask*/);
* friend void networkReadHandler(MultiFramedRTPSource*, int);
both are declared under private section. How can i use that friend function in the playCommon.cpp(openRTSP test program)
file to get those rtp packets? Please replyy
</pre>
</body>
</html>