[Live-devel] Strange sequence number

Luca Zappella luca at filibusta.crema.unimi.it
Tue May 10 12:56:44 PDT 2005


> Luca,
> 
> The problem is being caused by the extremely large (in some cases, >100 
> kByte) MPEG-4 video frames in your file.  (You must have the worst MPEG-4 
> encoder on the planet :-)    

Oh! I am sorry! I use libavcodec but probably with wrong parameters,
sorry again and thank you very much!


> You will have already discovered that you need 
> to increase "OutPacketBuffer::maxSize" in your server application.
Yes, I have

> In your client application(s), you will need increase the kernel's socket 
> receive buffer size, to properly handle these large frames (which are split 
> over many RTP packets, that are sent (and thus received) in immediate 
> succession).
> 
> The easiest way to do this is to change - in "MultiFramedRTPSource.cpp" - 
> the line
>          increaseReceiveBufferTo(env, RTPgs->socketNum(), 50*1024);
> to
>          increaseReceiveBufferTo(env, RTPgs->socketNum(), 200000);

Ok, but it will be better to do use libavcodec in the right way ;)

Thanks again
Luca



More information about the live-devel mailing list