[Libav-user] Custom AVIOContext with RTMP
Chen Fisher
chen.fisher at gmail.com
Mon Mar 28 14:13:45 CEST 2016
Is it possible to use custom AVIOContext with RTMP?
I've implemented my own AVIOContext with read and write functions by I get
an error form ffmpeg when trying to stream to that aviocontext saying it
couldn't read the RTMP handshake response.
I saw that my 'write' function was never called so I think I misunderstood
its purpose; it's probably there for when using it to encode a stream, not
when decoding.
What I'm trying to do is to create a server that accepts tcp socket
connections and use it as the input stream to ffmpeg to decode. RTMP
protocol uses a handshake so that socket is both read from and written to.
That's why AVIOContext with read function is not enough.
Thanks
Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160328/1d4543f6/attachment.html>
More information about the Libav-user
mailing list