Re: [webrtc-extensions] Exposing SW fallback as an event (#146)

@xingri You are very welcome to provide a PR. I suggest a custom event exposing what type of error happened as an enum ([RTCTrackEvent](https://w3c.github.io/webrtc-pc/#rtctrackevent) is an example of an event interface adding custom attributes to the Event).

I suggest adding the event handler to RTCRtpReceiver (and if we want to expose encode errors we would add a similar event to RTCRtpSender in a follow up). The question is how to expose the necessary information for the app to take action.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/146#issuecomment-1493970271 using your GitHub account


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

Received on Monday, 3 April 2023 09:17:35 UTC