w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
978 stars 136 forks source link

add audio encoder frame duration configure parameter #526

Closed bdrtc closed 1 year ago

bdrtc commented 2 years ago

we use webcodecs audio encoder encode opus realtime and send via webtransport, but find its frame duration(ptime) is 60ms by default and no parameter to configure it. 60ms is not acceptable for realtime stream, it add extra 40ms fix delay compare to webrtc's 20ms ptime, hope the configure for audio ptime to encoder parameter

sandersdan commented 2 years ago

Agreed, there should probably be a configurable parameter for packet duration.

bdrtc commented 1 year ago

close this as solved by #551