sinch.domains.voice.models.v2.types.stream_dict module
- class sinch.domains.voice.models.v2.types.stream_dict.StreamOptionsDict[source]
Bases:
TypedDict- version: NotRequired[int]
- codec: NotRequired[Literal['PCM'] | str]
- sample_rate: NotRequired[Literal[8000, 16000, 24000, 44100, 48000, 96000] | int]
- class sinch.domains.voice.models.v2.types.stream_dict.StreamDetailsDict[source]
Bases:
TypedDict- endpoint: str
- stream_options: NotRequired[StreamOptionsDict]
- call_headers: NotRequired[List[CallHeaderDict]]
- class sinch.domains.voice.models.v2.types.stream_dict.StreamDict[source]
Bases:
TypedDict- type: Literal['STREAM']
- stream: StreamDetailsDict