[webrtc-encoded-transform] Is "empty" value of RTCEncodedVideoFrameType useful? (#156)

youennf has just created a new issue for https://github.com/w3c/webrtc-encoded-transform:

== Is "empty" value of RTCEncodedVideoFrameType useful? ==
"empty" is part of RTCEncodedVideoFrameType but not part of EncodedVideoChunkType.
As spotted in https://github.com/w3c/webrtc-encoded-transform/pull/155#discussion_r985478345, it is in use by Chrome to indicate the frame was enqueued. This is not in use by Safari AFAIK.
I can see two options:
1. Remove "empty", make RTCEncodedVideoFrame.type immutable. Replace RTCEncodedVideoFrameType by EncodedVideoChunkType.
2. Describe that RTCEncodedVideoFrame.type changes to "empty" when being enqueued (like we are adding the transfer rules for data).

Please view or discuss this issue at https://github.com/w3c/webrtc-encoded-transform/issues/156 using your GitHub account

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

Received on Monday, 3 October 2022 08:10:34 UTC