Luca Barbato <[email protected]> wrote: >On 13/09/13 13:43, Martin Storsjö wrote: >> >> >> Luca Barbato <[email protected]> wrote: >>> --- >>> >>> Martin can you confirm? >> >> I don't remember offhand (for either of these patches), and the rtmp >> handshake is something I'm not all that familiar with TBH. >> >> I'd mostly say that they're ok if they improve something for you - I >> could check some setups that these patches don't break anything, but >> that'll be on Monday earliest, I'm away over the weekend. > >It can wait I guess, I noticed while trying to figure out why > >avconv -i something -f flv -rtmp_listen 1 rtmp://localhost/test/me > >avplay rtmp://localhost/test/me > >is deadlocking
In case you didn't figure it out yet, the reason probably is that the rtmp listen mode only supports receiving a published stream, but doesn't support playback. That is, move the "-rtmp_listen 1" part to the avplay command instead. Short of actually implementing this mode, we should probably warn about it (e.g. error on the "play" commands in the listen mode, or error on opening rtmp in write mode with the listen flag. // Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
