Add an option to specify HTTP header in the WebM Chunk Muxer (this
works the same way as the 'method' parameter in the HLS muxer).
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/210/merge
Vignesh Venkatasubramanian8 years agocommitted byMichael Niedermayer
{"chunk_start_index","start index of the chunk",OFFSET(chunk_start_index),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{"header","filename of the header where the initialization data will be written",OFFSET(header_filename),AV_OPT_TYPE_STRING,{0},0,0,AV_OPT_FLAG_ENCODING_PARAM},
{"audio_chunk_duration","duration of each chunk in milliseconds",OFFSET(chunk_duration),AV_OPT_TYPE_INT,{.i64=5000},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{"method","set the HTTP method",OFFSET(http_method),AV_OPT_TYPE_STRING,{.str=NULL},0,0,AV_OPT_FLAG_ENCODING_PARAM},