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_t AudioTrackInfo::bitrate

Description:

Audio and video bit rate

channels

  1. uint16_t AudioTrackInfo::channels

Description:

Number of audio channels

durationMs

  1. int64_t AudioTrackInfo::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. char AudioTrackInfo::language[[FORMAT_LANGUAGE_LEN]($api-api-SmartVision-Devices-Format.md#gaa70508bb1089c99f9aa3d59fcbdfa8eb)]

Description:

Audio track language

profile

  1. uint32_t AudioTrackInfo::profile

Description:

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

sampleFmt

  1. uint16_t AudioTrackInfo::sampleFmt

Description:

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

sampleRate

  1. uint32_t AudioTrackInfo::sampleRate

Description:

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

subStreamID

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