python SDK
This commit is contained in:
commit
6dc9fceeb5
18 changed files with 482 additions and 0 deletions
15
vocode/output_device/base_output_device.py
Normal file
15
vocode/output_device/base_output_device.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
from ..models.audio_encoding import AudioEncoding
|
||||
|
||||
class BaseOutputDevice:
|
||||
|
||||
def __init__(self, sampling_rate: int, audio_encoding: AudioEncoding):
|
||||
self.sampling_rate = sampling_rate
|
||||
self.audio_encoding = audio_encoding
|
||||
|
||||
async def send_async(self, chunk):
|
||||
raise NotImplemented
|
||||
|
||||
async def maybe_send_mark_async(self, message):
|
||||
pass
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue