Re: [webrtc-pc] Inconsistent rules for rid in RTCRtpEncodingParameters (#2732)

I'll expand this a bit because this is RFC-level of confusing. So, RFC8851 says

`rid-id = 1*(alpha-numeric) / "-" / "_")`, pointing to RFC4566 for `alpha-numeric`
`rid-id = 1*(ALPHA / DIGIT) / "-" / "_")`, pointing to RFC4234 for `ALPHA` and `DIGIT` :woman_facepalming: 
`rid-id = 1*(%x41-5A / %x61-7A / %x30-39 / "-" / "_")`, which is simply
`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`, or in other words what we all understand as the regex
`[A-Za-z0-9\-_]`.

RFC8852 describes the ranges differently
`rid = 48 through 57, 65 through 90, and 97 through 122` which expands to almost the same,
`rid = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`, obviously a different order but whatever it's a set, right, so this is basically what we all understand as the regex
`[A-Za-z0-9]`.

I'm not seeing spaces in that set. It seems the only issue is `-` and `_`?

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2732#issuecomment-1123021838 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 10 May 2022 23:49:27 UTC