Re: [mediacapture-transform] Is MediaStreamTrackGenerator for audio necessary? (#31)

One benefit of AudioWorklet is that the application has full control of cases like: 'there is no more buffered data, what should I do?'. Applications may decide to reduce volume, fake some sound...

With MediaStreamTrackGenerator, the application has no way to react on this case.
Its sole approach is to pile enough data that the audio renderer will never get in that 'no more buffered data' case.
This is especially difficult when processing is done in main thread or when application is planned to be run on very diverse devices.


-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-transform/issues/31#issuecomment-831723736 using your GitHub account


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

Received on Tuesday, 4 May 2021 06:58:07 UTC