正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
| @@ -419,7 +419,10 @@ int SrsMpegtsOverUdp::write_h264_sps_pps(u_int32_t dts, u_int32_t pts) | @@ -419,7 +419,10 @@ int SrsMpegtsOverUdp::write_h264_sps_pps(u_int32_t dts, u_int32_t pts) | ||
| 419 | { | 419 | { |
| 420 | int ret = ERROR_SUCCESS; | 420 | int ret = ERROR_SUCCESS; |
| 421 | 421 | ||
| 422 | - // only send when both sps and pps changed. | 422 | + // TODO: FIMXE: there exists bug, see following comments. |
| 423 | + // when sps or pps changed, update the sequence header, | ||
| 424 | + // for the pps maybe not changed while sps changed. | ||
| 425 | + // so, we must check when each video ts message frame parsed. | ||
| 423 | if (!h264_sps_changed || !h264_pps_changed) { | 426 | if (!h264_sps_changed || !h264_pps_changed) { |
| 424 | return ret; | 427 | return ret; |
| 425 | } | 428 | } |
-
请 注册 或 登录 后发表评论