Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Properties | |
VIEW_CLASS *_Nullable | view |
AgoraVideoRenderMode | renderMode |
AgoraVideoMirrorMode | mirrorMode |
NSUInteger | uid |
AgoraVideoSourceType | sourceType |
int | sourceId |
CGRect | cropArea |
AgoraVideoViewSetupMode | setupMode |
Properties of the video canvas object.
|
readwritenonatomicstrong |
The video display view. The SDK does not maintain the lifecycle of the view.
The view can be safely released after calling [leaveChannel]([AgoraRtcEngineKit leaveChannel:]) with a returned value. The SDK keeps a cache of the view value, so calling [setupLocalVideo]([AgoraRtcEngineKit setupLocalVideo:]) to set the view value to nil can clear the cache before switching or releasing the view.
|
readwritenonatomicassign |
Render mode of the view; hidden, fit, or adaptive.
|
readwritenonatomicassign |
Mirror mode of the view; auto, enabled, or disabled.
|
readwritenonatomicassign |
User ID of the view.
|
readwritenonatomicassign |
the sourceType of view
|
readwritenonatomicassign |
when sourceType == AgoraVideoSourceTypeMediaPlayer valid( sourceId == mediaPlayerId )
|
readwritenonatomicassign |
crop area of video to show.
|
readwritenonatomicassign |
setup Mode add or remove.