mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add todo for ts parse.
This commit is contained in:
parent
40eab7fc88
commit
a4216cc582
1 changed files with 4 additions and 1 deletions
|
@ -419,7 +419,10 @@ int SrsMpegtsOverUdp::write_h264_sps_pps(u_int32_t dts, u_int32_t pts)
|
||||||
{
|
{
|
||||||
int ret = ERROR_SUCCESS;
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
||||||
// only send when both sps and pps changed.
|
// TODO: FIMXE: there exists bug, see following comments.
|
||||||
|
// when sps or pps changed, update the sequence header,
|
||||||
|
// for the pps maybe not changed while sps changed.
|
||||||
|
// so, we must check when each video ts message frame parsed.
|
||||||
if (!h264_sps_changed || !h264_pps_changed) {
|
if (!h264_sps_changed || !h264_pps_changed) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue