[FFmpeg-devel] Controlling the server reply (was: 9/9] doc/example: Add http multi-client) example code
george at nsup.org
Sun Jul 19 21:31:20 CEST 2015
Le primidi 1er thermidor, an CCXXIII, Stephan Holljes a écrit :
> I'm having trouble accessing a client's private data in my sample
> application. After forking I have an AVIOContext client, but how do I
> access its HTTPContext's AVOption fields? For example, how do I get
> the method or how do I set the http_code?
It is hard to tell without seeing the code. The principle is not complex:
declare the field in the options array in http.c. Then the application can
access using av_opt_set*() and av_opt_get*() on the AVIOContext with
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel