-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clarify requirement of handling symmetric/asymmetric levels of HEVC offer/answer #27
Comments
RFC 7798 Section 7.2.2 allows “The parameters identifying a media format configuration for HEVC are However, it also says: “The Answerer MUST:
@fippo What do you think? |
What about this case: With a fixed profile/tier, if the offerer is able to decode/encode up to level 3.1, and the answerer is able to decode/encode up to level 5.2, what level/levels should answer include for sendonly/sendrecv/recvonly? sendrecv Offer Offer: 3.1 sendonly Offer Offer: 3.1 recvonly Offer Offer: 3.1 |
The meaning of the Offer and Answer changes based on direction. Here is my take: sendrecv OfferOffer: 3.1 (maximum it can encode and decode) Result: Offerer would send 3.1 to the the Answerer, Answerer will send 3.1 to the Offerer. sendonly OfferOffer: 3.1 (maximum it can encode) Result: Offerer would send 3.1 to the the Answerer. recvonly OfferOffer: 3.1 (maximum it can decode) Result: Answerer would send 3.1 to the the Offerer. |
are we interpreting SDP correctly? The "sCP take" is what I put in my SDP is what I would prefer to receive sendrecvOffer: 3.1 (maximum it can decode) sendonlyOffer: 3.1 (maximum it can decode) recvonlyOffer: 3.1 (maximum it can decode) |
@fippo RFC 7798 Table 1 seems to indicate that level-id reflects what can be sent (not received) on a sendonly m-line. |
And that is backed by RFC 3264 section 5.1 so we can not have nice things :-( |
At TPAC 2024, the W3C WEBRTC WG decided on "Proposal A" which is aligned with RFC 3264 Section 5.1. Related: w3c/webrtc-pc#3006 |
Looks like the proposal does not conform to RFC 7798(https://datatracker.ietf.org/doc/html/rfc7798#section-7.2.2, sub-clause #1):
With this requirement, the answer must ensure level-id is no larger than that in offer. |
Is this a bug in RFC 7798 (that it doesn't support answerer indicating that it supports more than the offerer does)? |
@alvestrand We will explore this at IETF 121. Some of the text does look wrong (e.g. |
Resolution: Discussion at IETF 121 indicates that the text in Section 7.2.2 relating to the Answer |
Unlike AVC, in RFC 7798 we don't explicitly signal level-asymmetric-allowed in the SDP.
A few things that should be clarified for sendonly/sendrecv/recvonly cases in the O/A flow for HEVC
There might be more combinations. So a rule should be specified for SDP offer/answer generation.
The text was updated successfully, but these errors were encountered: