AudioTrackInfo

Overview

Related Modules:

Format

Description:

Defines audio track information.

Since:

1.0

Version:

1.0

Summary

Data Fields

Variable Name

Description

format

CodecFormat 

profile

uint32_t 

sampleRate

uint32_t 

sampleFmt

uint16_t 

channels

uint16_t 

subStreamID

int32_t 

bitrate

uint32_t 

language [FORMAT_LANGUAGE_LEN]

char 

durationMs

int64_t 

Details

Field Documentation

bitrate

  1. uint32_tAudioTrackInfo::bitrate

Description:

Audio and video bit rate

channels

  1. uint16_tAudioTrackInfo::channels

Description:

Number of audio channels

durationMs

  1. int64_tAudioTrackInfo::durationMs

Description:

Stream duration, in milliseconds

format

  1. [CodecFormat]($api-api-SmartVision-Devices-Format.md#gaf7ed135f15d4b218d41705bac0122ba7) AudioTrackInfo::format

Description:

Audio encoding format. For details, see CodecFormat.

language

  1. charAudioTrackInfo::language[[FORMAT_LANGUAGE_LEN]($api-api-SmartVision-Devices-Format.md#gaa70508bb1089c99f9aa3d59fcbdfa8eb)]

Description:

Audio track language

profile

  1. uint32_tAudioTrackInfo::profile

Description:

Audio encoding profile, for example, 0x160(WMAV1) and 0x161 (WMAV2).

sampleFmt

  1. uint16_tAudioTrackInfo::sampleFmt

Description:

Data storage format of one sample in an audio channel. For details, see AudioSampleFmt.

sampleRate

  1. uint32_tAudioTrackInfo::sampleRate

Description:

Audio sampling rate, for example, 8000, 16000, 24000, 32000, 11025, 22050, 441000, and 48000

subStreamID

  1. int32_tAudioTrackInfo::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.