webrtc.models.rtc_on_data_event#
- class webrtc.models.rtc_on_data_event.RTCOnDataEvent(audio_data: AnyStr, number_of_frames: int)#
Bases:
webrtc.base.WebRTCObject
Audio data samples representation.
Note
webrtc.RTCOnDataEvent
should represent 10 ms of audio samples.- property audioData: AnyStr#
Alias for
audio_data
- property audio_data: AnyStr#
An audio data.
- Type
AnyStr
- property bitsPerSample: int#
Alias for
bits_per_sample
- property bits_per_sample: int#
Bits per sample.
- Type
int
- property channelCount: int#
Alias for
channel_count
- property channel_count: int#
A channel count.
- Type
int
- property numberOfFrames: int#
Alias for
number_of_frames
- property number_of_frames: int#
A number of frames.
- Type
int
- property sampleRate: int#
Alias for
sample_rate
- property sample_rate: int#
A sample rate.
- Type
int