Hi,
I'm using avformat and avcodec to stream audio data from a
media server over HTTP. The server is expecting certain HTTP
headers in the GET request, but otherwise works like any
other HTTP client.
My research so far has pointed me at two options: implement
a custom URLProtocol, or implement a custom ByteIOContext.
However, I'm not exactly clear on what the difference
between those two is, and which one is more appropriate for
what I need. What I'm still confused about is:
Should I implement my own URLPRotocol, my own ByteIOContext,
or both?
Is there a way for my custom implementation to make use of
the existing HTTP protocol handler for everything except
making the initial GET request?
Is there an easier way to get new headers into the HTTP
request without implementing a custom handler?
Thanks,
--Mike
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user