在libavformat/hls.c的hls_read_header函数中
在avformat_open_input之前,对ctx设置probesize
例如:
pls->ctx->probesize=40960;
特别注意的是,probesize太小会造成流信息无法读取完整,导致某条流不能播放
在libavformat/hls.c的hls_read_header函数中
在avformat_open_input之前,对ctx设置probesize
例如:
pls->ctx->probesize=40960;
特别注意的是,probesize太小会造成流信息无法读取完整,导致某条流不能播放