Re: [webrtc-pc] Creation of MediaStreamTrack from raw PCM stream; Example 18 with a JSON file instead of messaging (#2570)

WebAudio with `SharedArrayBuffer` or `TypedArray` as backing has limitations at 32-bit architectures where the stream is dynamic, has no definitive end, see https://github.com/WebAudio/web-audio-api-v2/issues/97. There is no way, currently, to use a `ReadableStream` directly with `AudioWorklet` without involving some type of memory allocation, pre-allocated or dynamic. It should be possible to both pass raw PCM directly to the contructor or a method or transceiver, or create a `MediaStream` or `MediaStreamTrack` directly from `ReadableStream`, `WritableStream` or `TransforStream` https://github.com/w3c/webrtc-insertable-streams/issues/41, without needing to use JavaScript `TypedArray`s and `ArrayBuffer` and `SharedArrayBuffer`.



-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2570#issuecomment-686805709 using your GitHub account


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

Received on Thursday, 3 September 2020 23:00:01 UTC