Skip to content

H265 SDP negotiation: level-id=180 from latest Chrome #860

@showier-drastic

Description

@showier-drastic

This is what I get from Chrome on macOS Version 144.0.7559.133 (Official Build) (arm64)

a=rtpmap:49 H265/90000r
a=rtcp-fb:49 goog-rembr
a=rtcp-fb:49 transport-ccr
a=rtcp-fb:49 ccm firr
a=rtcp-fb:49 nackr
a=rtcp-fb:49 nack plir
a=fmtp:49 level-id=180;profile-id=1;tier-flag=0;tx-mode=SRSTr
a=rtpmap:50 rtx/90000r
a=fmtp:50 apt=49r
a=rtpmap:51 H265/90000r
a=rtcp-fb:51 goog-rembr
a=rtcp-fb:51 transport-ccr
a=rtcp-fb:51 ccm firr
a=rtcp-fb:51 nackr
a=rtcp-fb:51 nack plir
a=fmtp:51 level-id=180;profile-id=2;tier-flag=0;tx-mode=SRSTr
a=rtpmap:52 rtx/90000r
a=fmtp:52 apt=51r

In the current code, H265 level is 156:

self.add_h265(PT_H265, Some(PT_H265_RTX), 1, 0, 156); // Main, Main tier, Level 5.2

Therefore, negotiation fails. If I change the level-id to 180 manually in codec_config.rs, negotiation works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions