зеркало из
1
0
Форкнуть 0
This commit is contained in:
Vinothini Dharmaraj 2024-09-17 16:42:26 -07:00
Родитель 2d3172e9f7
Коммит feb84d9a54
1 изменённых файлов: 3 добавлений и 12 удалений

Просмотреть файл

@ -7,7 +7,6 @@
from typing import List, Optional, Union, TYPE_CHECKING from typing import List, Optional, Union, TYPE_CHECKING
from enum import Enum from enum import Enum
from datetime import datetime
from typing_extensions import Literal from typing_extensions import Literal
from ._generated.models import ( from ._generated.models import (
CallLocator, CallLocator,
@ -955,7 +954,7 @@ class CancelAddParticipantOperationResult:
operation_context=cancel_add_participant_operation_result_generated.operation_context operation_context=cancel_add_participant_operation_result_generated.operation_context
) )
class AudioData: class ServerAudioData:
""" """
Data for Audio Streaming. Data for Audio Streaming.
:keyword data: Audio streaming data. :keyword data: Audio streaming data.
@ -967,19 +966,11 @@ class AudioData:
""" """
data: bytes data: bytes
""" Audio streaming data. """ """ Audio streaming data. """
time_stamp : datetime
""" Time stamp. """
is_silent : bool
""" Is silent. """
def __init__( def __init__(
self, self,
*, *,
data: bytes, data: bytes):
time_stamp: str,
is_silent: bool):
self.data = data self.data = data
self.time_stamp = time_stamp
self.is_silent = is_silent
class Mark: class Mark:
""" """
@ -1022,7 +1013,7 @@ class ServerStreamingData:
kind: ServerMessageType kind: ServerMessageType
""" Message that determines the format that of the subsequent messages, """ Message that determines the format that of the subsequent messages,
received through the WebSocket. Required. """ received through the WebSocket. Required. """
audio_data : AudioData audio_data : ServerAudioData
""" Audio Data which contains the audio data stream information. """ """ Audio Data which contains the audio data stream information. """
mark : Mark mark : Mark
""" Mark determines end of stream of data.""" """ Mark determines end of stream of data."""