AudioTrackInfo
Overview
Related Modules:
Description:
Defines audio track information.
Since:
1.0
Version:
1.0
Summary
Data Fields
Details
Field Documentation
bitrate
uint32_t AudioTrackInfo::bitrate
Description:
Audio and video bit rate
channels
uint16_t AudioTrackInfo::channels
Description:
Number of audio channels
durationMs
int64_t AudioTrackInfo::durationMs
Description:
Stream duration, in milliseconds
format
[CodecFormat]($api-api-SmartVision-Devices-Format.md#gaf7ed135f15d4b218d41705bac0122ba7) AudioTrackInfo::format
Description:
Audio encoding format. For details, see CodecFormat.
language
char AudioTrackInfo::language[[FORMAT_LANGUAGE_LEN]($api-api-SmartVision-Devices-Format.md#gaa70508bb1089c99f9aa3d59fcbdfa8eb)]
Description:
Audio track language
profile
uint32_t AudioTrackInfo::profile
Description:
Audio encoding profile, for example, 0x160(WMAV1) and 0x161 (WMAV2).
sampleFmt
uint16_t AudioTrackInfo::sampleFmt
Description:
Data storage format of one sample in an audio channel. For details, see AudioSampleFmt.
sampleRate
uint32_t AudioTrackInfo::sampleRate
Description:
Audio sampling rate, for example, 8000, 16000, 24000, 32000, 11025, 22050, 441000, and 48000
subStreamID
int32_t AudioTrackInfo::subStreamID
Description:
ID of the subsidiary audio stream, which is used when the encoding or decoding format of the primary stream is not supported for audio rendering.