Data type

更新时间:
复制 MD 格式

This topic describes the data types involved in the Android SDK.

Table of contents

Data typeDescriptionSupported in the above version
AliRtcVideoTrackThe type of the video track. 1.1
AliRtcAudioTrackThe type of the audio track. 1.1
AliRTCCameraTypeThe type of the camera. 1.1
AliRtcNetworkQualityNetwork quality. 1.1
AliRtcRenderModeThe rendering mode. 1.1
AliRtcRenderMirrorMode The image mode. 1.11
AliRtcLogLevelThe level of the log entry. 1.1
AliVideoCanvasRenders the canvas. 1.1
AliRtcAuthInfoThe authentication information. 1.1
AliRtcVideoProfileThe video quality parameters. 1.1
AliRtcRemoteUserInfoThe remote user information. 1.1
AliRTCImageFormatImage format enumeration. 1.14
AliStatusInfoThe information about the user. 1.14
AliStatusStateThe status of the convenience user. 1.14
AliDetectObserverFace Recognition preprocessing interfaces. 1.14
AliRtcChannelProfileThe type of the channel. 1.15
AliAudioTypeAudio type enumeration. 1.17
AliRTCSDK_Client_RoleThe type of the role. 1.16
AliRtcStatsCurrent channel call real-time data. 1.16
AliRtcAudioCodecQualityTypeEnumeration of recording file quality. 1.16
ErrorCodeEnumThe type of the error that occurred. 1.16
AliRtcAudioPlayingStateCodeMusic accompaniment playing status. 1.16.2
AliRtcRecordAudioConfigRecord audio settings. 1.17
RTCLocalVideoStatsThe statistics on local videos. 1.17
RTCRemoteVideoStatsThe statistics on remote videos. 1.17
AliRtcRecordTypeThe recording format. 1.17
AliRtcRecordFormatThe format of the recording. 1.17
AliRtcAudioSampleRateThe type of the audio sample rate. 1.17
AliRtcAudioQualityThe quality of the recording audio. 1.17
AliRTCSDK_AudioEffect_Reverb_ModeReverberation sound mode. 1.17
AliRTCSDK_AudioEffect_Reverb_Param_TypeThe type of reverb sound effect. 1.17
AliVideoSourceTypeThe type of the video source. 1.17
AliVideoSampleThe video sample class. 1.17
AliRtcBeautyConfigBeauty settings. 1.17.1
AliRtcAudioVolumeThe user volume information. 1.17.1
AliRtcAudioNumChannelThe type of the audio channel. 1.17.13
AliRtcFeedbackTypeThe type of the SDK feedback problem. 1.17.13
AliRtcOrientationModeThe type of the horizontal screen. 1.17
AliRtcVideoEncoderMirrorModeThe image mode of the encoded video. 1.17.31
AliRtcVideoEncoderConfigurationvideo encoding preferences. 1.17.31
AliRawDataStreamTypeThe type of the video stream. 1.17

Description

  • AliRtcVideoTrack: the type of the video track.
    Enumeration NameDescription
    AliRtcVideoTrackNoNo video streams.
    AliRtcVideoTrackCameraThe camera stream.
    AliRtcVideoTrackScreenScreen sharing stream.
    AliRtcVideoTrackBothCamera stream and screen sharing stream.
  • AliRtcAudioTrack: the type of the audio track.
    Enumeration NameDescription
    AliRtcAudioTrackNoNo audio stream.
    AliRtcAudioTrackMicMicrophone stream.
  • AliRTCCameraType: the camera type.
    Enumeration NameDescription
    AliRTCCameraInvalidInvalid.
    AliRTCCameraBackRear camera.
    AliRTCCameraFrontFront camera.
  • AliRtcNetworkQuality: network quality.
    Enumeration NameDescription
    Network_ExcellentThe network is excellent and the flow definition is good.
    Network_GoodThe network is good, the fluency definition are about the same as excellent.
    Network_PoorThe network is poor, and the definition of audio and video fluency is flawed, which does not affect communication.
    Network_BadThe network is poor, the video is stuck seriously, and the audio can communicate normally.
    Network_VeryBadThe network is extremely poor and basically unable to communicate.
    Network_DisconnectedNetwork interruption.
    Network_UnknowThe reason is unknown.
  • AliRtcRenderMode: rendering mode.
    Enumeration NameDescription
    AliRtcRenderModeAutoAutomatic.
    AliRtcRenderModeStretchStretch the fill view without maintaining the video scale.
    AliRtcRenderModeFillScale and fill black edges while maintaining the aspect ratio of the video.
    AliRtcRenderModeClipZoom while maintaining the video aspect ratio and crop to fit the view.
  • AliRtcRenderMirrorMode: image mode.
    Enumeration NameDescription
    AliRtcRenderMirrorModeOnlyFrontOnly the front camera previews the mirror image, and the rest are not mirrored.
    AliRtcRenderMirrorModeAllEnabledAll images.
    AliRtcRenderMirrorModeAllDisableAll images are not mirrored.
  • AliRtcLogLevel: the log level.
    Enumeration NameDescription
    AliRtcLogLevelDumpFull.
    AliRtcLogLevelDebugDebug the job data.
    AliRtcLogLevelVerboseDetails.
    AliRtcLogLevelInfoOrdinary.
    AliRtcLogLevelWarnWarning.
    AliRtcLogLevelErrorThe error information.
    AliRtcLogLevelFatalSerious.
    AliRtcLogLevelNoneNone
  • AliVideoCanvas: renders a canvas.
    ParameterTypeDescription
    surfaceViewSophonSurfaceViewRenders the Surface view.
    textureViewSophonTextureViewRenders the Texture view.
    renderModeAliRtcRenderModeThe rendering mode.
    mirrorModeAliRtcRenderMirrorModeThe image mode.
  • AliRtcAuthInfo: the authentication information.
    Important The session id field is removed in 1.9 and later versions.
    FieldTypeDescription
    mConferenceId StringThe ID of the channel.
    mUserId StringThe ID of the user.
    mAppid StringThe ID of the application.
    mNonce StringA random string.
    mTimestamp longTimestamp.
    mToken StringThe token.
    mGslb String[]The GSLB address.
    mAgent String[]Specifies the address of the Agent server.
    mRoleStringThe 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.
    For more information, see How can I implement role authentication?.
  • AliRtcVideoProfile: the video quality parameters.
    Note Publish the video stream specification. The default value is AliRTCSDK_Video_Profile_Default. You can set it before or after you join the channel, but you must set it through the setVideoProfile method before you publish the local stream.
    Enumeration NameDescription
    AliRTCSDK_Video_Profile_DefaultBy default, the resolution is 480*640 and the frame rate is 15.
    AliRTCSDK_Video_Profile_180_240P_15Resolution 180*240, frame rate 15.
    AliRTCSDK_Video_Profile_180_320P_15Resolution 180*320, frame rate 15.
    AliRTCSDK_Video_Profile_180_320P_30Resolution 180*320, frame rate 30.
    AliRTCSDK_Video_Profile_240_320P_15Resolution 240*320, frame rate 15.
    AliRTCSDK_Video_Profile_360_480P_15Resolution 360*480, frame rate 15.
    AliRTCSDK_Video_Profile_360_480P_30Resolution 360*480, frame rate 30.
    AliRTCSDK_Video_Profile_360_640P_15Resolution 360*640, frame rate 15.
    AliRTCSDK_Video_Profile_360_640P_30Resolution 360*640, frame rate 30.
    AliRTCSDK_Video_Profile_480_640P_15Resolution 480*640, frame rate 15.
    AliRTCSDK_Video_Profile_480_640P_30Resolution 480*640, frame rate 30.
    AliRTCSDK_Video_Profile_720_960P_15Resolution 720*960, frame rate 15.
    AliRTCSDK_Video_Profile_720_960P_30Resolution 720*960, frame rate 30.
    AliRTCSDK_Video_Profile_720_1280P_15Resolution 720*1280, frame rate 15.
    AliRTCSDK_Video_Profile_720_1280P_30Resolution 720*1280, frame rate 30.
    AliRTCSDK_Video_Profile_360_640P_15_800Kb360*640 resolution, frame rate 15,800Kb bit rate.
    AliRTCSDK_Video_Profile_480_840P_15_500Kb480*840 resolution, frame rate 15,500Kb bit rate.
    AliRTCSDK_Video_Profile_480_840P_15_800Kb480*840 resolution, frame rate 15,800Kb bit rate.
    AliRTCSDK_Video_Profile_540_960P_15_800Kb540*960 resolution, frame rate 15,800Kb bit rate.
    AliRTCSDK_Video_Profile_540_960P_15_1200Kb540*960 resolution, frame rate 15,120 0Kb bit rate.
    AliRTCSDK_Video_Profile_MaxThe placeholder value.
  • AliRtcRemoteUserInfo: remote user information.
    FieldTypeDescription
    userIDStringThe ID of the remote user.
    sessionIDStringThe session ID of the remote user.
    callIDStringThe callID of the remote user.
    displayNameStringThe name of the remote user.
    streamLabelStringThe remote user flow label.
    firstSubscribebooleanSpecifies whether to subscribe for the first time.
    muteAudioPlayingbooleanSpecifies whether to mute remote users.
    isOnlinebooleanIndicates whether the remote user is online.
    cameraCanvasAliVideoCanvasThe camera stream displays the canvas.
    screenCanvasAliVideoCanvasThe screen stream displays the canvas.
    hasAudiobooleanSpecifies whether the remote user pushes the audio stream.
    hasCameraMasterbooleanSpecifies whether the remote user pushes the camera stream.
    hasCameraSlavebooleanSpecifies whether the remote user pushes the camera stream.
    hasScreenSharingbooleanSpecifies whether the remote user pushes the screen stream.
    subAudiobooleanSpecifies whether to subscribe to audio streams of remote users.
    subCamerabooleanSpecifies whether to subscribe to camera streams for remote users.
    subCameraMasterbooleanSpecifies whether to subscribe to camera streams for remote users.
    subScreenSharingbooleanSpecifies whether to subscribe to screen streams for remote users.
    requestAudiobooleanSpecifies whether to request subscriptions to audio streams of remote users.
    requestCamerabooleanSpecifies whether to request a subscription to a remote user's camera stream.
    requestCameraMasterbooleanSpecifies whether to request a subscription to a remote user's camera stream.
    requestScreenSharingbooleanSpecifies whether to request subscriptions to screen streams for remote users.
  • AliRTCImageFormat: image format enumeration.
    Enumeration NameDescription
    ALIRTC_IMAGE_FORMATUNKNOWNThe format is unknown.
    ALIRTC_IMAGE_FORMATARGBFormat ARGB.
    ALIRTC_IMAGE_FORMATBGRAFormat BGRA.
    ALIRTC_IMAGE_FORMATRGBAFormat RGBA.
    ALIRTC_IMAGE_FORMATYUV420PThe format is YUV420P.
    ALIRTC_IMAGE_FORMATYUVYV12The format is YUVYV12.
    ALIRTC_IMAGE_FORMATYUVNV21The format is YUVNV21.
    ALIRTC_IMAGE_FORMATYUVNV12Format YUVNV12.
    ALIRTC_IMAGE_FORMATYUVNV12_FULL_RANGEThe format is YUVNV12_FULL_RANGE.
    ALIRTC_IMAGE_FORMATYUVJ420PThe format is YUVJ420P.
    ALIRTC_IMAGE_FORMATYUV420SPThe format is YUV420SP.
    ALIRTC_IMAGE_FORMATYUVJ420SPThe format is YUVJ420SP.
    ALIRTC_IMAGE_FORMATYUVJ444PThe format is YUVJ444P.
    ALIRTC_IMAGE_FORMATYUVJ422PThe format is YUVJ422P.
    ALIRTC_IMAGE_FORMATYUV444PThe format is YUV444P.
    ALIRTC_IMAGE_FORMATYUV2Format YUV2.
    ALIRTC_IMAGE_FORMATMJPEGFormat MJPEG.
    ALIRTC_IMAGE_FORMATTEXTURE_2DFormat TEXTURE_2D.
    ALIRTC_IMAGE_FORMATTEXTURE_OESFormat: TEXTURE_OES.
  • AliStatusInfo: the user information.
    FieldTypeDescription
    user_idStringThe ID of the user.
    statusAliStatusStateThe status of the O&M events.
  • AliStatusState: the user status.
    FieldTypeDescription
    mic_openbooleanSpecifies whether the microphone is turned on.
    mic_interruptedbooleanWhether the microphone is interrupted.
    cam_openbooleanWhether the camera is turned on.
    audio_disabledbooleanIndicates whether the audio is unavailable.
    video_disabledbooleanIndicates whether the video is unavailable.
    background_modebooleanSpecifies whether to specify the background mode.
  • AliDetectObserver: Face Recognition preprocessing interface.
    Method NameDescription
    onDataFace Recognition the callback interface.

    The following example shows the method.

    long onData(long dataFrameY, long dataFrameU, long dataFrameV, AliRtcEngine.AliRTCImageFormat aliRTCImageFormat, int width, int height, int strideY, int strideU, int strideV, int rotate, long extraData);
    ParameterTypeDescription
    dataFrameYlongY component pointer.
    dataFrameUlongU component pointer.
    dataFrameVlongV component pointer, NV12 and NV21 This pointer is null.
    aliRTCImageFormatAliRtcEngine.AliRTCImageFormatThe image data format.
    widthintThe width of the image.
    heightintThe height of the image.
    strideYintThe Y-component stride of the image.
    strideUintThe image U component stride.
    strideVintThe image V component stride.
    rotateintImage rotation angle.
    extraDatalongAdditional fields (non-customized and negligible).
  • AliRtcChannelProfile: the channel type.
    Enumeration NameDescription
    AliRTCSDK_CommunicationThe communication mode.
    AliRTCSDK_Interactive_liveInteractive mode.
  • AliAudioType: the audio type enumeration.
    Enumeration NameDescription
    PUB_OBSERVERAudio data after audio 3A processing.
    SUB_OBSERVERThe audio data that is remixed by the current subscribed remote user.
    RAW_DATA_OBSERVERRaw audio data collected locally.
  • AliRtcClientRole: the type of the role.
    Enumeration NameDescription
    AliRTCSDK_InteractiveParticipate in interactive roles.
    AliRTCSDK_liveWatch characters only.
  • AliRtcStats: the real-time call data of the current channel.

    ParameterTypeDescription
    sent_kbitratelongthe total transmission bit rate. unit: kb.
    rcvd_kbitratelongThe total received bitrate. Unit: kb.
    sent_byteslongThe total amount of data sent. Unit: bytes.
    rcvd_byteslongThe total amount of data received. Unit: bytes.
    cpu_usagelongThe CPU usage. Unit: %.
    sent_loss_rateshortThe packet loss rate from the client to the server. Unit: %.
    lastmile_delaylongThe latency from the client to the server. Unit: ms.
  • AliRtcAudioCodecQualityType: recording file quality enumeration.

    Enumeration NameDescription
    AliRTCSDK_Audio_Codec_Quality_lowLow-quality file recording, small file size, average sound quality.
    AliRTCSDK_Audio_Codec_Quality_midiumMedium quality file recording, medium file volume, medium sound quality.
    AliRTCSDK_Audio_Codec_Quality_highHigh-quality file recording, large file volume and good sound quality.
  • ErrorCodeEnum: the type of the error.

    ParameterEnumeration NameDescription
    Error codesERR_JOIN_BAD_APPIDThe AppId (application ID) does not exist.
    ERR_JOIN_INVALID_APPIDThe AppId (application ID) is invalid.
    ERR_JOIN_BAD_CHANNELThe channel does not exist.
    ERR_JOIN_INVALID_CHANNELThe channel has expired.
    ERR_JOIN_BAD_TOKENToken (authentication token) does not exist.
    ERR_JOIN_TIMEOUTAdding a channel timed out.
    ERR_JOIN_ERR_JOIN_BAD_PARAMBAD_CHANNELThe error message returned because the format of the specified parameter is invalid.
    Audio device error codesERR_MIC_OPEN_FAILThe initialization of the collection device failed.
    ERR_SPEAKER_OPEN_FAILThe playback device failed to be initialized.
    ERR_MIC_INTERRUPTAn exception occurred during collection.
    ERR_SPEAKER_INTERRUPTAn exception occurs during playback.
    ERR_MIC_AUTH_FAILThe microphone device is not authorized.
    ERR_MIC_NOT_AVAILABLENo audio acquisition device is available.
    ERR_SPEAKER_NO_AVAILABLENo audio playback device is available.
    Video device error codesERR_CAMERA_OPEN_FAILThe initialization of the collection device failed.
    ERR_CAMERA_INTERRUPTAn exception occurred during collection.
    ERR_VIDEO_DISPLAY_INTERRUPTFailed to initialize the rendering device.
    AliRtcErrDisplayInterruptAn exception occurred during rendering.
    Network error codesERR_ICE_CONNECTION_CONNECT_FAILMedia channel establishment failed.
    ERR_ICE_CONNECTION_RECONNECT_FAIMedia channel reconnection failed.
    ERR_ICE_CONNECTION_HEARTBEAT_TIMEOUTSignaling heartbeat times out.
    Other error codesAliRtcErrSdkInvalidStateThe SDK status is incorrect.
    ERR_SESSION_REMOVEDSession has been removed.
    AliRtcErrInnerThe error code returned because a hotword vocabulary error other than the preceding ones has occurred.
    ON_PERFORMANCE_LOWThe current device performance is insufficient.
    ON_PERMORMANCE_RECOVERYThe performance of the current device is restored.
  • AliRtcAudioPlayingStateCode: Music accompaniment playing status.

    Enumeration NameDescription
    AliRtcAudioPlayingStartedStart the playback.
    AliRtcAudioPlayingStoppedStop the playback.
    AliRtcAudioPlayingPausedIndicates that the player pauses a video.
    AliRtcAudioPlayingResumedThe playback is resumed.
    AliRtcAudioPlayingEndedPlay finished.
    AliRtcAudioPlayingBufferingis buffering.
    AliRtcAudioPlayingBufferingEndThe buffer ends.
    AliRtcAudioPlayingFailedThe error message returned because the playback failed.
  • AliRtcRecordAudioConfig: Record audio settings.

    ParameterTypeDescription
    sampleRateAliRtcAudioSampleRateRecord the audio file sample rate.
    qualityAliRtcAudioQualityThe quality of the recorded audio file.
  • RTCLocalVideoStats: local video statistics.

    ParameterTypeDescription
    track_labelStringThe type of the streams to query.
    sent_bitrateintThe published bit rate.
    sent_fpsintThe release frame rate.
    encode_fpsintThe frame rate of video encoding.
  • RTCRemoteVideoStats: remote video statistics.

    ParameterTypeDescription
    track_labelStringThe type of the streams to query.
    widthintThe width.
    heightintHigh.
    decode_fpsintThe frame rate of video encoding.
    render_fpsintThe frame rate of video rendering.
    frozen_timesintThe number of interruptions.
    user_idStringThe ID of the user.
  • AliRtcRecordType: the recording type. Only audio files can be recorded.

    Enumeration NameDescription
    AliRtcRecordTypeAudioThe audio type.
  • AliRtcRecordFormat: the recording format.

    Enumeration NameDescription
    AliRtcRecordFormatAACThe format of the recorded audio file is AAC.
    AliRtcRecordFormatWAVThe format of the recorded audio file is WAV.
  • AliRtcAudioSampleRate: Record audio sample rate.

    Enumeration NameDescription
    AliRtcAudioSampleRate_80008K.
    AliRtcAudioSampleRate_1600016K.
    AliRtcAudioSampleRate_3200032K.
    AliRtcAudioSampleRate_4410044.1K.
    AliRtcAudioSampleRate_4800048K.
    AliRtcAudioSampleRate_MaxThe placeholder value.
  • AliRtcAudioQuality: the quality of the recording audio.

    Enumeration NameDescription
    AliRtcAudioQualityLowLow quality.
    AliRtcAudioQualityMidiumQuality.
    AliRtcAudioQualityHighHigh quality.
  • AliRTCSDK_AudioEffect_Reverb_Mode: reverb mode.

    Enumeration NameDescription
    AliRTCSDK_AudioEffect_Reverb_OffDisabled
    AliRTCSDK_AudioEffect_Reverb_Vocal_IVocal I.
    AliRTCSDK_AudioEffect_Reverb_Vocal_IIVocal II.
    AliRTCSDK_AudioEffect_Reverb_BathroomThe bathhouse.
    AliRTCSDK_AudioEffect_Reverb_Small_Room_BrightBright little room.
    AliRTCSDK_AudioEffect_Reverb_Small_Room_DarkDark little room.
    AliRTCSDK_AudioEffect_Reverb_Medium_RoomMedium size room.
    AliRTCSDK_AudioEffect_Reverb_Large_RoomBig room.
    AliRTCSDK_AudioEffect_Reverb_Church_HallChurch corridor.
    AliRTCSDK_AudioEffect_Reverb_CathedralThe cathedral.
  • AliRTCSDK_AudioEffect_Reverb_Param_Type: reverb sound effect type.

    Enumeration NameDescription
    AliRTCSDK_AudioEffect_Reverb_Room_SizeRoom size, range:[0,100].
    AliRTCSDK_AudioEffect_Reverb_Pre_DelayThe pre-delay. Unit: ms. Valid values:[0,200].
    AliRTCSDK_AudioEffect_Reverb_ReverberanceReverberation, range:[0,100].
    AliRTCSDK_AudioEffect_Reverb_Hf_DampingMuffling. Range:[0,100].
    AliRTCSDK_AudioEffect_Reverb_Tone_LowBass tone, range:[0,100].
    AliRTCSDK_AudioEffect_Reverb_Tone_HighHigh pitch, range:[0,100].
    AliRTCSDK_AudioEffect_Reverb_Dry_GainDry gain, range:[-20,10].
    AliRTCSDK_AudioEffect_Reverb_Wet_GainWet gain, range:[-20,10].
  • AliVideoSourceType: the type of the video source.
    Enumeration NameDescription
    AliRTCSdk_Videosource_Camera_Large_TypeCamera Stream Big Stream.
    AliRTCSdk_Videosource_Camera_Small_TypeCamera Stream Small Stream.
    AliRTCSdk_Videosource_ScreenShare_TypeScreen sharing stream.
  • AliVideoSample: the video sample class.
    ParameterTypeDescription
    dataFrameYlongY component pointer.
    dataFrameUlongU component pointer.
    dataFrameVlongV component pointer.
    formatAliRTCImageFormatThe format of the video frame.
    widthintThe width of the video frame.
    heightintThe height of the video frame.
    strideYintThe row span of the Y buffer in the YUV data.
    strideUintThe row span of the U buffer in the YUV data.
    strideVintThe row span of the V buffer in the YUV data.
    rotateintThe rotation angle of the video frame.
    extraDatalongAdditional fields (non-customized and negligible).
  • AliRtcBeautyConfig: the beauty settings.

    ParameterTypeDescription
    whiteningLevelfloatThe larger the value of whitening [0,1], the better the whitening effect.
    smoothnessLevelfloatThe larger the value of grinding [0,1], the better the grinding effect.
  • AliRtcAudioVolume: user volume information.

    ParameterTypeDescription
    mUserIdStringThe uid of the current user. 0: indicates local, 1: indicates remote mixing, and others indicate remote users.
    mVolumeintThe volume of the current callback.
    mSpeechstateint1: indicates that you are talking, 0: not speaking.
  • AliRtcAudioNumChannel: the audio channel type.

    Enumeration NameDescription
    AliRtcMonoAudio = 1Mono audio.
    AliRtcStereoAudio = 2Stereo audio.
  • AliRtcFeedbackType: SDK feedback problem type.

    Enumeration NameDescription
    AliRtcFeedbackVideoDeviceFailVideo equipment issues.
    AliRtcFeedbackVideoNotRenderThe video has no picture.
    AliRtcFeedbackAudioDeviceFailAudio device problem.
    AliRtcFeedbackAudioNotRenderThe audio has no sound.
    AliRtcFeedbackAudioEchoErrorThe audio echo is abnormal.
    AliRtcFeedbackChannelTypeErrorThe meeting status is abnormal. The meeting status is abnormal. The meeting status is abnormal.
    AliRtcFeedbackSDKTypeErrorOther status of the SDK is abnormal.
    AliRtcFeedbackNetworkUnfluentNetwork Catton problem.
    AliRtcFeedbackVideoBlurringVideo clarity issues.
    AliRtcFeedbackUnkonwThe unknown type.
  • AliRtcOrientationMode: the horizontal screen type.

    Enumeration NameDescription
    AliRtcOrientationModePortraitFixed vertical screen mode.
    AliRtcOrientationModeLandscapeLeftFixed the left horizontal screen mode.
    AliRtcOrientationModeLandscapeRightFixed right horizontal screen mode.
    AliRtcOrientationModeAutoAdaptive horizontal and vertical screen mode.
  • AliRtcVideoEncoderMirrorMode: Encoded video image mode.
    Enumeration NameDescription
    AliRtcVideoEncoderMirrorModeDisabledEncode the video image.
    AliRtcVideoEncoderMirrorModeEnabledThe encoded video is not mirrored.
  • AliRtcVideoEncoderConfiguration: video encoding preferences.
    ParameterTypeDescription
    mirrorModeAliRtcVideoEncoderMirrorModeThe image mode of the encoded video.
  • AliRawDataStreamType: the type of the video stream.
    Enumeration NameDescription
    AliRTCSdk_Streame_Type_CaptureThe camera stream.
    AliRTCSdk_Streame_Type_ScreenScreen stream.