Re: [webrtc-encoded-transform] Should neutered RTCEncodedVideoFrames have type "empty" (#278)

There is an inconsistency in the spec because we have a ``[[type]]`` slot, but:
1. the `type` field is not defined to return the value of that slot.
2.  the slot is never initialized to any actual value when a source produces a frame.
3. the slot is only used in the spec to be copied when using the copy constructor or when serializing.

Thus, the slot is not observable.

Therefore, I think the test is wrong. We can either change the test or change the spec, but right now the test and the spec do not agree.


-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/webrtc-encoded-transform/issues/278#issuecomment-3210128323 using your GitHub account


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

Received on Thursday, 21 August 2025 11:26:33 UTC