[FFmpeg-devel] [PATCH 5/6] RTMP output: implement rtmp-output

Sergiy piratfm
Thu Dec 3 17:56:02 CET 2009


2009/12/3 Kostya <kostya.shishkov at gmail.com>:
> Ahem, sending "publish" instead of "play" in gen_play() is a bit
> counterintuitive, don't you think? Make it a separate function instead.

But they so similar...

>> + ? ? ? ? ? ? ? ?//crutch: can be big packet (128k), better to send it right here.
>
> //this can be a big packet, it's better to send it right here

Yes. You are right.

>
> Ahem, why are doing this? There is rtmp_close() for final calls, and why

I will try to move it there.

> that if(size > 11) condition?

After CTRL+C rtmp_write() got unneeded 9 bytes from flv muxer.



More information about the ffmpeg-devel mailing list