use webcodecs api (breaking other things)

This commit is contained in:
Jakob Ketterl
2022-06-18 23:24:40 +02:00
parent a6f2b6b31a
commit a779d5d02a
2 changed files with 49 additions and 30 deletions

View File

@@ -32,7 +32,7 @@ class ClientAudioChain(Chain):
super().__init__(workers)
def _buildConverter(self):
return Converter(self.format, self.inputRate, self.clientRate)
return Converter(self.format, self.inputRate, 12000)
def _updateConverter(self):
converter = self._buildConverter()