This topic describes the data types involved in the iOS SDK and the Mac SDK.
| Data type | Description | Supported in the above version |
| AliRtcVideoTrack | The type of the video track. | 1.1 |
| AliRtcAudioTrack | The type of the audio track. | 1.1 |
| AliRtcNetworkQuality | Network quality. | 1.1 |
| AliRtcRenderMode | The rendering mode. | 1.1 |
| AliRtcLogLevel | The level of the log entry. | 1.1 |
| AliRtcVideoProfile | The video quality parameters. | 1.1 |
| AliRtcErrorCode | The type of the error that occurred. | 1.9 |
| AliRtcAuthInfo | The authentication information. | 1.1 |
| AliVideoCanvas | Renders the canvas. | 1.1 |
| AliRtcRenderMirrorMode | The image mode. | 1.11 |
| AliRtcOnByeType | The OnBye type. | 1.11 |
| AliRtcAudioNumChannel | Audio channel type (iOS only). | 1.15 |
| AudioSamplerate | sample rate (iOS only). | 1.15 |
| AliRtcChannelProfile | The type of the channel. | 1.15 |
| AliRtcAudioSessionOperationRestriction | SDK control permissions on Audio Sessions (iOS only). | 1.15 |
| AliRtcVideoFormat | The data format of the video. |
|
| AliRtcBufferType | The type of the video data. |
|
| AliRtcAudioSource | The type of the bare audio data source. | 1.15 |
| AliRtcStats | Current channel call real-time data. | 1.16 |
| AliRtcRecordingQuality | Enumeration of recording file quality. | 1.16 |
| AliRtcClientRole | The type of the role. | 1.16 |
| AliRtcAudioPlayingStateCode | Music accompaniment playback status (iOS only). | 1.16.2 |
| AliRtcVideoSource | The type of the bare video data source. | 1.16.2 |
| AliRtcMuteLocalAudioMode | Local silent mode (Mac only). | 1.16.2 |
| AliRtcAudioEffectReverbMode | Reverberation sound mode. | 1.17 |
| AliRtcAudioEffectReverbParamType | The type of reverb sound effect. | 1.17 |
| AliRtcRecordType | The recording format. | 1.17 |
| AliRtcRecordFormat | The format of the recording. | 1.17 |
| AliRtcAudioQuality | The quality of the recording audio. | 1.17 |
| AliRtcVideoQuality | The quality of the recorded video. | 1.17 |
| AliRtcAudioSampleRate | Record audio sample rate. | 1.17 |
| AliRtcRecordAudioConfig | Record audio settings. | 1.17 |
| AliRtcRecordVideoConfig | Recording video settings. | 1.17 |
| AliRtcLocalVideoStats | The statistics on local videos. | 1.17 |
| AliRtcRemoteVideoStats | The statistics on remote videos. | 1.17 |
| AliRtcBeautyConfig | Beauty settings. | 1.17.9 |
| AliRtcUserVolumeInfo | The user volume information. | 1.17.9 |
| AliRtcFeedbackType | The type of the SDK feedback problem. |
|
| AliRtcCameraDirection | Camera direction. | 1.17.20 |
| AliRtcAudioDataSample | The bare audio data. | 1.17.20 |
| AliRtcVideoDataSample | The bare video data. | 1.17 |
| AliRtcOrientationMode | The type of the horizontal screen. | 1.17 |
| AliRtcAudioPlayingErrorCode | Music accompaniment playback error code (iOS only). | 1.17.30 |
| AliRtcVideoEncoderMirrorMode | The image mode of the encoded video. | 1.17.31 |
| AliRtcVideoEncoderConfiguration | video encoding preferences. | 1.17.31 |
| AliRtcVideoTextureType | The type of the texture. | 1.17 |
| AliRtcDeviceVolumeType | The device volume type (iOS only). | 1.17.39 |
AliRtcVideoTrack: the type of the video track.
Enumeration Name Description AliRtcVideoTrackNo There is no camera and screen sharing stream. AliRtcVideoTrackCamera The camera stream. AliRtcVideoTrackScreen Screen sharing stream. AliRtcVideoTrackBoth Camera stream and screen sharing stream. AliRtcAudioTrack: the type of the audio track.
Enumeration Name Description AliRtcAudioTrackNo No microphone stream. AliRtcAudioTrackMic Microphone stream. AliRtcNetworkQuality: network quality.
Enumeration Name Description AlivcRtcNetworkQualityExcellent The network is excellent and the flow definition is good. AlivcRtcNetworkQualityGood The network is good, the fluency definition are about the same as excellent. AlivcRtcNetworkQualityPoor The network is poor, and the definition of audio and video fluency is flawed, which does not affect communication. AlivcRtcNetworkQualityBad The network is poor, the video is stuck seriously, and the audio can communicate normally. AlivcRtcNetworkQualityVeryBad The network is extremely poor and basically unable to communicate. AlivcRtcNetworkQualityDisconnect Network interruption. AlivcRtcNetworkQualityUnknow Unknown. AliRtcRenderMode: rendering mode.
Enumeration Name Description AliRtcRenderModeAuto Automatic mode. AliRtcRenderModeStretch Stretch the fill view without maintaining the video scale. AliRtcRenderModeFill Scale and fill black edges while maintaining the aspect ratio of the video. AliRtcRenderModeCrop Zoom while maintaining the video aspect ratio and crop to fit the view. AliRtcLogLevel: the log level.
Enumeration Name Description AliRtcLogLevelDump Full. AliRtcLogLevelDebug Debug the job data. AliRtcLogLevelVerbose Details. AliRtcLogLevelInfo Ordinary. AliRtcLogLevelWarn Warning. AliRtcLogLevelError The error information. AliRtcLogLevelFatal Serious. AliRtcLogLevelNone None AliRtcVideoProfile: the video quality parameters.
The specification of the published video stream. The default value is AliRtcSDK_Video_Profile_Default. It can be set before or after the channel is added, but it must be set by using the setVideoProfile method before publishing.
- iOS video quality parameters.
Enumeration Name Description AliRtcVideoProfile_Default By default, the resolution is 480*640 and the frame rate is 15. AliRtcVideoProfile_180_240P_15 Resolution 180*240, frame rate 15. AliRtcVideoProfile_180_320P_15 Resolution 180*320, frame rate 15. AliRtcVideoProfile_180_320P_30 Resolution 180*320, frame rate 30. AliRtcVideoProfile_240_320P_15 Resolution 240*320, frame rate 15. AliRtcVideoProfile_360_480P_15 Resolution 360*480, frame rate 15. AliRtcVideoProfile_360_480P_30 Resolution 360*480, frame rate 30. AliRtcVideoProfile_360_640P_15 Resolution 360*640, frame rate 15. AliRtcVideoProfile_360_640P_30 Resolution 360*640, frame rate 30. AliRtcVideoProfile_480_640P_15 Resolution 480*640, frame rate 15. AliRtcVideoProfile_480_640P_30 Resolution 480*640, frame rate 30. AliRtcVideoProfile_720_960P_15 Resolution 720*960, frame rate 15. AliRtcVideoProfile_720_960P_30 Resolution 720*960, frame rate 30. AliRtcVideoProfile_720_1280P_15 Resolution 720*1280, frame rate 15. AliRtcVideoProfile_720_1280P_30 Resolution 720*1280, frame rate 30. AliRtcVideoProfile_1080_1920P_15 Resolution 1080*1920, frame rate 15. AliRtcVideoProfile_1080_1920P_30 Resolution 1080*1920, frame rate 30. AliRtcVideoProfile_480_640P_15_1500Kb Resolution 480*640, frame rate 15,150 0Kb bit rate. AliRtcVideoProfile_900_1600P_20 Resolution 900*1600, frame rate 20. AliRtcVideoProfile_360_640P_15_800Kb Resolution 360*640, frame rate 15,800Kb bit rate. AliRtcVideoProfile_480_840P_15_500Kb Resolution 480*840, frame rate 15,500Kb bit rate. AliRtcVideoProfile_480_840P_15_800Kb Resolution 480*840, frame rate 15,800Kb bit rate. AliRtcVideoProfile_540_960P_15_800Kb Resolution 540*960, frame rate 15,800Kb bit rate. AliRtcVideoProfile_540_960P_15_1200Kb Resolution 540*960, frame rate 15,120 0Kb bit rate. AliRtcVideoProfile_Max The placeholder value. - Mac video quality parameters.
Enumeration Name Description AliRtcVideoProfile_Default By default, the resolution is 480*640 and the frame rate is 15. AliRtcVideoProfile_180_240P_15 Resolution 180*240, frame rate 15. AliRtcVideoProfile_180_320P_15 Resolution 180*320, frame rate 15. AliRtcVideoProfile_180_320P_30 Resolution 180*320, frame rate 30. AliRtcVideoProfile_240_320P_15 Resolution 240*320, frame rate 15. AliRtcVideoProfile_360_480P_15 Resolution 360*480, frame rate 15. AliRtcVideoProfile_360_480P_30 Resolution 360*480, frame rate 30. AliRtcVideoProfile_360_640P_15 Resolution 360*640, frame rate 15. AliRtcVideoProfile_360_640P_30 Resolution 360*640, frame rate 30. AliRtcVideoProfile_480_640P_15 Resolution 480*640, frame rate 15. AliRtcVideoProfile_480_640P_30 Resolution 480*640, frame rate 30. AliRtcVideoProfile_720_960P_15 Resolution 720*960, frame rate 15. AliRtcVideoProfile_720_960P_30 Resolution 720*960, frame rate 30. AliRtcVideoProfile_720_1280P_15 Resolution 720*1280, frame rate 15. AliRtcVideoProfile_720_1280P_30 Resolution 720*1280, frame rate 30. AliRtcVideoProfile_1080_1920P_15 Resolution 1080*1920, frame rate 15. AliRtcVideoProfile_1080_1920P_30 Resolution 1080*1920, frame rate 30. AliRtcVideoProfile_480_640P_15_1500Kb Resolution 480*640, frame rate 15,150 0Kb bit rate. AliRtcVideoProfile_900_1600P_20 Resolution 900*1600, frame rate 20. AliRtcVideoProfile_360_640P_15_800Kb Resolution 360*640, frame rate 15,800Kb bit rate. AliRtcVideoProfile_480_840P_15_500Kb Resolution 480*840, frame rate 15,500Kb bit rate. AliRtcVideoProfile_480_840P_15_800Kb Resolution 480*840, frame rate 15,800Kb bit rate. AliRtcVideoProfile_540_960P_15_800Kb Resolution 540*960, frame rate 15,800Kb bit rate. AliRtcVideoProfile_540_960P_15_1200Kb Resolution 540*960, frame rate 15,120 0Kb bit rate. AliRtcVideoProfile_Max The placeholder value.
- iOS video quality parameters.
AliRtcErrorCode: the error type.
Parameter Enumeration Name Description Error codes AliRtcErrJoinBadAppId The AppId does not exist. AliRtcErrJoinInvalidAppId The AppId is invalid. AliRtcErrJoinBadChannel The channel does not exist. AliRtcErrJoinInvalidChannel The channel has expired. AliRtcErrJoinBadToken The token does not exist. AliRtcErrJoinTimeout Adding a channel timed out. AliRtcErrJoinBadParam The error message returned because the format of the specified parameter is invalid. Audio device error codes AliRtcErrMicOpenFail The initialization of the collection device failed. AliRtcErrSpeakerOpenFail The playback device failed to be initialized. AliRtcErrMicInterrupt An exception occurred during collection. AliRtcErrSpeakerInterrupt An exception occurs during playback. AliRtcErrMicAuthFail The microphone device is not authorized. AliRtcErrMicNotAvailable No audio acquisition device is available. AliRtcErrSpeakerNotAvailable No audio playback device is available. Video device error codes AliRtcErrCameraOpenFail The initialization of the collection device failed. AliRtcErrCameraInterrupt An exception occurred during collection. AliRtcErrDisplayOpenFail Failed to initialize the rendering device. AliRtcErrDisplayInterrupt An exception occurred during rendering. Network error codes AliRtcErrIceConnectionConnectFail Media channel establishment failed. AliRtcErrIceConnectionReconnectFail Media channel reconnection failed. AliRtcErrIceConnectionHeartbeatTimeout Signaling heartbeat times out. Other error codes AliRtcErrSdkInvalidState The SDK status is incorrect. AliRtcErrSessionRemoved Session has been removed. AliRtcErrInner The error code returned because a hotword vocabulary error other than the preceding ones has occurred. AliRtcErrAudioBufferFull Buffer queues are saturated and used for external delivery of bare data. AliRtcAuthInfo: the authentication information.
Important The session id field is removed in 1.9 and later versions.Parameter Type Description channel NSString * Channel number. user_id NSString * The ID of the user. appid NSString * The ID of the application. nonce NSString * The random code of the token. token NSString * The token. gslb NSArray The address of the origin server. timestamp long long Timestamp. agent NSArray Set the proxy server address (the default state does not need to be passed). role NSString * The type of the role. The default value is empty, indicating that this feature is not involved. Valid values: - pub: the anchor role.
- sub: the audience role.
AliVideoCanvas: renders a canvas.
Parameter Type Description view AliRenderView * Renders a view and inherits the UIView class. You must create a view (view) before creating a view. renderMode AliRtcRenderMode The rendering mode. Default value: AliRtcRenderModeAuto (Auto mode). mirrorMode AliRtcRenderMirrorMode The image mode. Default value: Pre-image. AliRtcRenderMirrorMode: image mode.
Enumeration Name Description AliRtcRenderMirrorModeOnlyFrontCameraPreviewEnabled Only the front camera previews the mirror image, and the rest are not mirrored. AliRtcRenderMirrorModeAllEnabled All images. AliRtcRenderMirrorModeAllDisabled All images are not mirrored. AliRtcOnByeType:OnBye type (messages kicked out of the channel by the server).
Enumeration Name Description AliRtcOnByeBeKickedOut The current user is kicked off the channel. AliRtcOnByeChannelDestroy The channel is over and needs to leave the meeting. AliRtcOnByeUserReplaced If the same UserID is added to a channel on another device, the current device is offline. AliRtcAudioNumChannel: the audio channel type.
Enumeration Name Description AliRtcMonoAudio Mono audio. AliRtcStereoAudio Stereo audio. AudioSamplerate: sample rate.
Enumeration Name Description AliRtcAudioSampleRate_8000 8000. AliRtcAudioSampleRate_11025 11025. AliRtcAudioSampleRate_16000 16000. AliRtcAudioSampleRate_22050 22050. AliRtcAudioSampleRate_32000 32000. AliRtcAudioSampleRate_44100 44100. AliRtcAudioSampleRate_48000 48000. AliRtcChannelProfile: channel type (default is communication mode).
Enumeration Name Description AliRtcCommunication The communication mode. AliRtcInteractivelive Interactive mode. AliRtcAudioSessionOperationRestriction: the control permissions of the SDK on Audio Sessions.
Enumeration Name Description AliRtcAudioSessionOperationRestrictionNone There are no restrictions. The SDK fully controls AVAudioSession. AliRtcAudioSessionOperationRestrictionSetCategory The SDK cannot modify the Category of AVAudioSession. AliRtcAudioSessionOperationRestrictionConfigureSession The SDK cannot modify the configuration of AVAudioSession, including Category, Mode, and CategoryOptions. AliRtcAudioSessionOperationRestrictionDeactivateSession The SDK cannot disable the AVAudioSession activity. When you leave the channel, the AVAudioSession is still active. AliRtcVideoFormat: video data format.
Enumeration Name Description AliRtcVideoFormat_UNKNOW Unknown. AliRtcVideoFormat_BGRA BGRA. AliRtcVideoFormat_I420 I420. AliRtcVideoFormat_NV21 NV21. AliRtcVideoFormat_NV12 NV12. AliRtcBufferType: the video data type.
Enumeration Name Description AliRtcBufferType_Raw_Data YUV bare data. AliRtcBufferType_CVPixelBuffer CVPixelBuffer data. AliRtcBufferType_Texture Texture data. AliRtcAudioSource: the type of the audio bare data source.
Enumeration Name Description AliRtcAudiosourcePub Ingest audio data. AliRtcAudiosourceSub Pull audio data. AliRtcAudiosourceRawData Collect bare audio data. AliRtcAudiosourceVolume Volume. Note Mac and iOS1.16 and above support AliRtcAudiosourceVolume enumeration. The difference between the two languages: iOS supports AliRtcAudioSource all enumeration, while Mac only supports AliRtcAudiosourceVolume (volume).AliRtcStats: the real-time call data of the current channel.
Parameter Type Description sent_kbitrate int64_t the total transmission bit rate. unit: kb. rcvd_kbitrate int64_t The total received bitrate. Unit: kb. sent_bytes int64_t The total amount of data sent. Unit: bytes. rcvd_bytes int64_t The total amount of data received. Unit: bytes. video_rcvd_kbitrate int64_t the video sending bit rate. unit: kb. video_sent_kbitrate int64_t the video reception bitrate. unit: kb. call_duration uint64_t Call duration, unit: s. cpu_usage float The CPU usage. Unit: %. sent_loss_rate int8_t The packet loss rate from the client to the server. Unit: %. lastmile_delay int64_t The latency from the client to the server. Unit: ms. AliRtcRecordingQuality: recording file quality enumeration.
Enumeration Name Description AliRtcRecording_Low_Quality Low-quality file recording, small file size, average sound quality. AliRtcRecording_Midium_Quality Medium quality file recording, medium file volume, medium sound quality. AliRtcRecording_High_Quality High-quality file recording, large file volume and good sound quality. AliRtcClientRole: the type of the role.
Enumeration Name Description AliRtcClientRoleInteractive Participate in interactive roles. AliRtcClientRolelive Watch characters only. AliRtcAudioPlayingStateCode: Music accompaniment playing status.
Enumeration Name Description AliRtcAudioPlayingStarted Start the playback. AliRtcAudioPlayingStopped Stop the playback. AliRtcAudioPlayingPaused Indicates that the player pauses a video. AliRtcAudioPlayingResumed The playback is resumed. AliRtcAudioPlayingEnded Play finished. AliRtcAudioPlayingBuffering is buffering. AliRtcAudioPlayingBufferingEnd The buffer ends. AliRtcAudioPlayingFailed The error message returned because the playback failed. AliRtcVideoSource: the type of the bare video data source.
Enumeration Name Description AliRtcVideosourceCameraLargeType Large-resolution video streams. AliRtcVideosourceCameraSmallType Small resolution video stream. AliRtcVideosourceScreenShareType Screen sharing stream. AliRtcVideosourceTypeMax Placeholder. AliRtcMuteLocalAudioMode: local mute mode.
Enumeration Name Description AliRtcMuteAudioModeDefault The default mode. AliRtcMuteAllAudioMode Mute all (microphone and external input audio). AliRtcMuteOnlyMicAudioMode Only mute the microphone. AliRtcMuteLocalAudioMax The placeholder value. AliRtcAudioEffectReverbMode: reverb mode.
Enumeration Name Description AliRtcAudioEffectReverb_Off Disabled AliRtcAudioEffectReverb_Vocal_I Vocal I. AliRtcAudioEffectReverb_Vocal_II Vocal II. AliRtcAudioEffectReverb_Bathroom The bathhouse. AliRtcAudioEffectReverb_Small_Room_Bright Bright little room. AliRtcAudioEffectReverb_Small_Room_Dark Dark little room. AliRtcAudioEffectReverb_Medium_Room Medium room. AliRtcAudioEffectReverb_Large_Room Big room. AliRtcAudioEffectReverb_Church_Hall Church corridor. AliRtcAudioEffectReverb_Cathedral The cathedral. AliRtcAudioEffectReverb_Mode_Max Placeholder, no meaning. AliRtcAudioEffectReverbParamType: the reverb parameters of the sound effect.
Enumeration Name Description AliRtcAudioEffectReverb_Room_Size The room size. Valid values: 0 to 100. AliRtcAudioEffectReverb_Pre_Delay The pre-delay. Unit: ms. Valid values: 0 to 200. AliRtcAudioEffectReverb_Revetberance The reverberation. Valid values: 0 to 100. AliRtcAudioEffectReverb_Hf_Damping The noise reduction. Valid values: 0 to 100. AliRtcAudioEffectReverb_Tone_Low The bass tone. Valid values: 0 to 100. AliRtcAudioEffectReverb_Tone_High The high pitch. Valid values: 0 to 100. AliRtcAudioEffectReverb_Dry_Gain The dry gain. Valid values:-20 to 10. AliRtcAudioEffectReverb_Wet_Gain The wet gain. Valid values:-20 to 10. AliRtcAudioEffectReverb_Type_Max Placeholder. AliRtcRecordType: the recording type.
Enumeration Name Description AliRtcRecordTypeAudio Audio-only recording. AliRtcRecordFormat: the recording format.
Enumeration Name Description AliRtcRecordFormatAAC AAC file. AliRtcRecordFormatWAV WAV file. AliRtcAudioQuality: the quality of the recording audio.
Enumeration Name Description AliRtcAudioQualityLow Low. AliRtcAudioQualityMidium instance. AliRtcAudioQualityHigh High. AliRtcVideoQuality: the quality of the recorded video.
Enumeration Name Description AliRtcVideoQualityDefault The default value is the same as the collection. For example, the maximum value of the collected video stream is 1080P, and the default value is 1080P. AliRtcAudioSampleRate: Record audio sample rate.
Enumeration Name Description AliRtcAudioSampleRate_8000 sample rate 8000. AliRtcAudioSampleRate_11025 sample rate 11025. AliRtcAudioSampleRate_16000 sample rate 16000. AliRtcAudioSampleRate_22050 sample rate 22050. AliRtcAudioSampleRate_32000 sample rate 32000. AliRtcAudioSampleRate_44100 sample rate 44100. AliRtcAudioSampleRate_48000 sample rate 48000. AliRtcRecordAudioConfig: Record audio settings.
Parameter Type Description sampleRate AliRtcAudioSampleRate The audio sample rate. quality AliRtcAudioQuality The audio quality. enableRecordExternalRenderPCM bool Specifies whether to allow recording of external PCM input rendering data. AliRtcRecordVideoConfig: Recording video settings.
Parameter Type Description quality AliRtcVideoQuality The video quality. sourceType AliRtcVideoSource The type of the bare video data source. AliRtcLocalVideoStats: local video statistics.
Parameter Type Description track AliRtcVideoTrack The type of the video stream track. sent_bitrate uint32_t The bitrate of local videos that are sent. sent_fps uint32_t The frame rate of local videos that are sent. encode_fps uint32_t The frame rate of video encoding. AliRtcRemoteVideoStats: remote video statistics.
Parameter Type Description userId NSString * _Nonnull The ID of the remote user. track AliRtcVideoTrack The type of the video stream track. width uint32_t The width. height uint32_t High. decode_fps uint32_t The frame rate of video decoding. render_fps uint32_t The frame rate of video rendering. frozen_times uint32_t The number of stuttering times. AliRtcBeautyConfig: the beauty settings.
Parameter Type Description whiteningLevel float Whitening grade [0-1.0], the larger the value, the better the whitening effect. smoothnessLevel float Grinding grade [0-1.0], the larger the value, the better the grinding effect. AliRtcUserVolumeInfo: the volume information format.
Parameter Type Description uid NSString * _Nonnull The uid of the current user. 0: indicates local, 1: indicates remote mixing, and others indicate remote users. speech_state BOOL true: indicates that you are speaking. false: indicates that you are not speaking. volume int The volume of the current callback. AliRtcFeedbackType:SDK feedback problem type.
Enumeration Name Description AliRtcFeedbackVideoDeviceFail Video equipment issues. AliRtcFeedbackVideoNotRender The video has no picture. AliRtcFeedbackAudioDeviceFail Audio device problem. AliRtcFeedbackAudioNotRender The audio has no sound. AliRtcFeedbackAudioEchoError The audio echo is abnormal. AliRtcFeedbackChannelTypeError The meeting status is abnormal. The meeting status is abnormal. The meeting status is abnormal. AliRtcFeedbackSDKTypeError Other status of the SDK is abnormal. AliRtcFeedbackNetworkUnfluent Network Catton problem. AliRtcFeedbackVideoBlurring Video clarity issues. AliRtcFeedbackUnkonw The unknown type. - AliRtcCameraDirection: the camera direction.
Enumeration Name Description AliRtcCameraDirectionInvalid Invalid. AliRtcCameraDirectionBack Post. AliRtcCameraDirectionFront Front. - AliRtcAudioDataSample: audio bare data.
Parameter Type Description dataPtr long Naked data. numOfSamples int The number of audio sample points. bytesPerSample int The number of quantized digits. numOfChannels int The number of sound channels. samplesPerSec int The sampling rate. - AliRtcVideoDataSample: Naked video data.
Parameter Type Description format AliRtcVideoFormat The data format of the video. type AliRtcBufferType The type of the video data. pixelBuffer CVPixelBufferRef iOS video texture frame data. dataPtr long The bare video data. dataYPtr long The bare data of the Y channel video. dataUPtr long Bare data of U-channel video. dataVPtr long V channel video bare data. dataLength long The total length of video frame data. strideY int Y channel row spacing. strideU int U channel row spacing. strideV int V channel row spacing. stride int The line spacing of video frames. height int The height of the video image. width int The width of the video image. rotation int The rotation angle of the video image. timeStamp long long The timestamp of the video frame. - AliRtcOrientationMode: the horizontal screen type.
Enumeration Name Description AliRtcOrientationModePortrait Fixed vertical screen mode. AliRtcOrientationModeLandscapeLeft Fixed the left horizontal screen mode. AliRtcOrientationModeLandscapeRight Fixed right horizontal screen mode. AliRtcOrientationModeAuto Adaptive horizontal and vertical screen mode. - AliRtcAudioPlayingErrorCode: Music accompaniment playback error code (iOS only).
Enumeration Name Description AliRtcAudioPlayingNoError No errors. AliRtcAudioPlayingOpenFailed Open file error. AliRtcAudioPlayingDecodeFailed Decoding file error. - AliRtcVideoEncoderMirrorMode: Encoded video image mode.
Enumeration Name Description AliRtcVideoEncoderMirrorModeDisabled Encode the video image. AliRtcVideoEncoderMirrorModeEnabled The encoded video is not mirrored. - AliRtcVideoEncoderConfiguration: video encoding preferences.
Parameter Type Description mirrorMode AliRtcVideoEncoderMirrorMode The image mode of the encoded video. - AliRtcVideoTextureType: texture type.
Enumeration Name Description AliRtcVideoTextureTypeUnknown No texture specified. AliRtcVideoTextureTypePre Texture before rendering. AliRtcVideoTextureTypePost Texture after rendering. - AliRtcDeviceVolumeType: the device volume type.
Enumeration Name Description AliRtcDeviceVolumeTypeAuto The SDK automatically sets the volume type (default). The SDK automatically selects an appropriate volume type. If you do not have special requirements, we recommend that you do not set it yourself. AliRtcDeviceVolumeTypeMedia Set this parameter to Media Volume, which is suitable for media playback scenarios. The volume can be adjusted to zero. AliRtcDeviceVolumeTypeVOIP Set this parameter to Call Volume, which is suitable for call scenarios. The volume cannot be adjusted to zero.