ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Packet Size - HELP


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] Packet Size - HELP
Date: Thu, 23 Sep 2004 10:34:00 +0200
User-agent: Mutt/1.5.6+20040818i

   Ummm, the change 

> uint32 nextSize = 65534;//getNextDataPacketSize();

   means that you will read 65534, but only the first 8192 (returned
by getNextDataPacketSize) are actual payload received in an RTP
packet. If you use IPv4, you won't be able to send more than 64k bytes
in a packet, and in principle ccRTP is able to send/receive packets
that long. That's a huge packet size for a normal RTP application
anyway. What codec are you using?

On Tue, Sep 21, 2004 at 03:44:14PM +0000, Paolo Di paolo wrote:
> Hi,
> I have done it (adu->getSize()=8192 byte =8Kb).
> However, i have also tried to change in incqueue.cpp on the line 193:
> uint32 nextSize = 65534;//getNextDataPacketSize();
> and so i can transmit 65534 byte, but this is ~ the UDP limit,
> (so now adu->getSezi()=65534, but no more)
> but RTP have to be free about this limit,
> Can i  wait for a wished number of byte?
> (I have to send and receive more than 200000 byte via RTP)
> In the call :
> adu = socket->getData(socket->getFirstTimestamp());
> how many byte i can receive?
> thanks,
> paolo
> 
> >From: Federico Montesino Pouzols <address@hidden>
> >Reply-To: Federico Montesino Pouzols <address@hidden>
> >To: Paolo Di paolo <address@hidden>
> >CC: address@hidden
> >Subject: Re: [Ccrtp-devel] Packet Size - HELP
> >Date: Tue, 21 Sep 2004 14:55:20 +0200
> >
> >
> >   Hi, I do not have a clear idea of where the problem may be. It may be
> >a very weird win32 limitation on the read/write system calls. Does
> >adu->getSize return 8192?
> >
> >On Thu, Sep 02, 2004 at 12:03:41PM +0000, Paolo Di paolo wrote:
> >> Hi,
> >> I have a problem with ccrtp...
> >> I'm working on Win32 and i have to send packet with a payload with more
> >> then 9000 byte.
> >> i know that udp-limit our packet to 64000 byte, but, in the ccrtp 
> >examples,
> >> i have attempt by change the third parameter in putdata (i.e. 
> >PACKET_SIZE =
> >> 10000) and i have got only 8192 byte in my receiver...
> >> i have also tried to set this functions:
> >>            socket->setSessionBandwidth(128000000);
> >>            socket->setMaxSendSegmentSize(30000000);
> >> and/or to make a DynamicPayloadFormart(100, 90000),
> >> but on the run i haven't had a variation on the achievement.
> >> can you help me?
> >> thank's
> >>
> >> _________________________________________________________________
> >> Personalizza MSN Messenger con sfondi e fotografie!
> >> http://www.ilovemessenger.msn.it/
> >>
> >>
> >>
> >> _______________________________________________
> >> Ccrtp-devel mailing list
> >> address@hidden
> >> http://lists.gnu.org/mailman/listinfo/ccrtp-devel
> 
> _________________________________________________________________
> Personalizza MSN Messenger con sfondi e fotografie! 
> http://www.ilovemessenger.msn.it/
> 




reply via email to

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