ccrtp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ccrtp-devel] using ccrtp without internal threading or timers


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] using ccrtp without internal threading or timers
Date: Wed, 31 Jan 2007 13:29:13 +0100 (CET)
User-agent: SquirrelMail/1.4.5

Also, for

> video.SetPayloadType(StaticPayload(sptH263));    // cheating on MPEG4 type

you can use dynamic payload types. For example:

   video.setPayloadType(DynamicPayload(100,90000))

Where 100 is the dynamic payload type and 90000 is the RTP clock rate
for MPEG4.


sendImmediate will most probably work for your application, but if you do
not want any additional thread, you can create your own RTP session class
as ccRTP creates SingleThreadRTPSession and SingleThreadRTPSessionIPV6.
That would require that you replace the usual run method with your own
code (that would also be responsible for sending/receiving RTCP packets)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]