Re: [webrtc-encoded-transform] add mimeType to metadata (#140)

The use-case is codec-adaptive encryption schemes that can differentiate between VP8, VP9 and H264 for example, you will remember [this]( long-standing issue.

Doing a mapping in JS requires parsing SDP and keeping a copy of the SDP around and synchronized in the worker at all times. And would be nontrivial for unbundled cases where you can have more than one codec associated with a payload type (even though I bet this case isn't well defined in stats mimeType).

At the sender side the information what encoder was used is readily available since the frame comes from there. At the receiver side one would assume the same but it turned out to be a bit more complicated to implement.

GitHub Notification of comment by fippo
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Tuesday, 26 July 2022 13:57:23 UTC