Skip to content
New issue

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

GB: Fix PSM parsing indicator bug. v6.0.15 #3383

Merged
merged 4 commits into from Jan 17, 2023

Conversation

duiniuluantanqin
Copy link
Member

@duiniuluantanqin duiniuluantanqin commented Jan 16, 2023

@see Table 2-35 – Program Stream map
@doc hls-mpeg-ts-iso13818-1.pdf, page 77.

    // 2B
    //      1bit current_next_indicator
    //      2bits reserved
    //      5bits program_stream_map_version
    //      7bits reserved
    //      1bit marker_bit '1'
    // This is a 1-bit field, when set to '1' indicates that the Program Stream Map sent is currently applicable. When
    // the bit is set to '0', it indicates that the Program Stream Map sent is not yet applicable and shall be the next
    // table to become valid.
    uint8_t current_next_indicator_;
    // This 5-bit field is the version number of the whole Program Stream Map. The version number shall be incremented
    // by 1 modulo 32 whenever the definition of the Program Stream Map changes. When the current_next_indicator is set
    // to '1', then the program_stream_map_version shall be that of the currently applicable Program Stream Map. When
    // the current_next_indicator is set to '0', then the program_stream_map_version shall be that of the next
    // applicable Program Stream Map.
    uint8_t program_stream_map_version_;

TRANS_BY_GPT3

trunk/src/kernel/srs_kernel_ps.cpp Show resolved Hide resolved
@winlinvip winlinvip changed the title fix psm parse bug GB: Fix PSM parsing indicator bug Jan 17, 2023
@winlinvip winlinvip merged commit a78936f into ossrs:develop Jan 17, 2023
@winlinvip winlinvip changed the title GB: Fix PSM parsing indicator bug GB: Fix PSM parsing indicator bug. v6.0.15 Jan 17, 2023
winlinvip pushed a commit that referenced this pull request Jan 17, 2023
PICK a78936f

Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
winlinvip pushed a commit that referenced this pull request Jan 17, 2023
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants