![]() |
AliyunPlayer v7.10.0
Aliyun Player API Reference Manual for iOS Platforms
|
Media track information class. More...
#include "AVPMediaInfo.h"
Properties | |
| int | audioChannels |
| Number of audio channels. | |
| NSString * | audioLanguage |
| Audio language. | |
| int | audioSampleFormat |
| Audio sample format. | |
| int | audioSamplerate |
| Audio sample rate. | |
| NSString * | codecName |
| Codec name. | |
| NSString * | subtitleLanguage |
| Subtitle language. | |
| int | trackBitrate |
| Track bitrate. | |
| NSString * | trackDefinition |
| Track definition. | |
| int | trackIndex |
| Track index. | |
| AVPTrackType | trackType |
| Track type. | |
| int | videoHeight |
| Video height. | |
| int | videoWidth |
| Video width. | |
| int64_t | vodFileSize |
| VOD file size. | |
| NSString * | vodFormat |
| VOD format. | |
| NSString * | vodPlayUrl |
| VOD play URL. | |
| NSString * | waterMarkUrl |
| Watermark URL. | |
Media track information class.
Contains detailed information of a single media track, including codec format, type, resolution, bitrate, etc. Different track types have different valid properties.
|
readwritenonatomicassign |
Number of audio channels.
Number of audio channels, such as mono (1), stereo (2), etc. Valid only when trackType is AVPTRACK_TYPE_AUDIO.
|
readwritenonatomiccopy |
Audio language.
Language identifier of audio track, such as "en" (English), "zh" (Chinese), etc. Valid only when trackType is AVPTRACK_TYPE_AUDIO.
|
readwritenonatomicassign |
Audio sample format.
Audio sample data format. Valid only when trackType is AVPTRACK_TYPE_AUDIO.
|
readwritenonatomicassign |
Audio sample rate.
Audio sampling frequency in Hz. Common values are 44100, 48000, etc. Valid only when trackType is AVPTRACK_TYPE_AUDIO.
|
readwritenonatomiccopy |
Codec name.
Represents the name of the audio/video codec format used by this track, such as "h264", "aac", etc.
|
readwritenonatomiccopy |
Subtitle language.
Language identifier of subtitle track, such as "en" (English), "zh" (Chinese), etc. Valid only when trackType is AVPTRACK_TYPE_SUBTITLE.
|
readwritenonatomicassign |
Track bitrate.
Bitrate of this track in bps (bits per second). Valid only when trackType is AVPTRACK_TYPE_VIDEO.
|
readwritenonatomiccopy |
Track definition.
Indicates the resolution or clarity identifier of this video track. Valid only when trackType is AVPTRACK_TYPE_SAAS_VOD.
|
readwritenonatomicassign |
Track index.
|
readwritenonatomicassign |
Track type.
Represents the type of this track (video, audio, subtitle, or VOD stream).
|
readwritenonatomicassign |
Video height.
Height of video frame in pixels. Valid only when trackType is AVPTRACK_TYPE_VIDEO.
|
readwritenonatomicassign |
Video width.
Width of video frame in pixels. Valid only when trackType is AVPTRACK_TYPE_VIDEO.
|
readwritenonatomicassign |
VOD file size.
The size of the VOD stream file in bytes. Valid only when trackType is AVPTRACK_TYPE_SAAS_VOD.
|
readwritenonatomiccopy |
VOD format.
|
readwritenonatomiccopy |
VOD play URL.
The playback URL of the VOD stream. Valid only when trackType is AVPTRACK_TYPE_SAAS_VOD.
|
readwritenonatomiccopy |
Watermark URL.
The watermark file URL associated with this VOD stream. Valid only when trackType is AVPTRACK_TYPE_SAAS_VOD.