We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flv_write_packet里 if (par->codec_id == AV_CODEC_ID_VP6F || par->codec_id == AV_CODEC_ID_VP6A || par->codec_id == AV_CODEC_ID_VP6 || par->codec_id == AV_CODEC_ID_AAC || par->codec_id == AV_CODEC_ID_OPUS) flags_size = 2; else if (par->codec_id == AV_CODEC_ID_H264 || par->codec_id == AV_CODEC_ID_MPEG4 || par->codec_id == AV_CODEC_ID_H265 || par->codec_id == AV_CODEC_ID_VP8 || par->codec_id == AV_CODEC_ID_VP9) { if (is_flv_extern_header_enable(flv, par->codec_id) && (pkt->dts != pkt->pts)) { flags_size = 8; } else { flags_size = 5; } } else flags_size = 1;
如果是扩展rtmp头,flags_size是8为什么不是5
The text was updated successfully, but these errors were encountered:
enhance-rtmp的格式解析,详情请看https://mp.weixin.qq.com/s/xqfILkFg1Gmk8Be5VhsW3w
Sorry, something went wrong.
No branches or pull requests
flv_write_packet里
if (par->codec_id == AV_CODEC_ID_VP6F || par->codec_id == AV_CODEC_ID_VP6A ||
par->codec_id == AV_CODEC_ID_VP6 || par->codec_id == AV_CODEC_ID_AAC ||
par->codec_id == AV_CODEC_ID_OPUS)
flags_size = 2;
else if (par->codec_id == AV_CODEC_ID_H264 || par->codec_id == AV_CODEC_ID_MPEG4 ||
par->codec_id == AV_CODEC_ID_H265 || par->codec_id == AV_CODEC_ID_VP8 ||
par->codec_id == AV_CODEC_ID_VP9) {
if (is_flv_extern_header_enable(flv, par->codec_id) && (pkt->dts != pkt->pts)) {
flags_size = 8;
} else {
flags_size = 5;
}
}
else
flags_size = 1;
如果是扩展rtmp头,flags_size是8为什么不是5
The text was updated successfully, but these errors were encountered: