public interface MobileRTCVideoViewManager
Modifier and Type | Method and Description |
---|---|
boolean |
addActiveVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
Add an active video unit to the MobileRTCVideoView.
|
boolean |
addAttendeeVideoUnit(long userId,
MobileRTCVideoUnitRenderInfo renderInfo)
Add the specified attendee's video unit to the MobileRTCVideoView.
|
boolean |
addPreviewVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
Add video preview unit to the MobileRTCVideoView.
|
boolean |
addShareVideoUnit(long userId,
MobileRTCRenderInfo renderInfo)
Add a shared video unit to the MobileRTCVideoView.
|
void |
removeActiveVideoUnit()
Remove active video unit from the MobileRTCVideoView.
|
void |
removeAllAttendeeVideoUnit()
Remove all attendees' video units from the MobileRTCVideoView.
|
void |
removeAllVideoUnits()
Remove all video units from the MobileRTCVideoView.
|
void |
removeAttendeeVideoUnit(long userId)
Remove the specified attendee's video unit from the MobileRTCVideoView.
|
void |
removePreviewVideoUnit()
Remove video preview unit from the MobileRTCVideoView.
|
void |
removeShareVideoUnit()
Remove shared video unit from the MobileRTCVideoView.
|
float |
shareContentToViewX(float x) |
float |
shareContentToViewY(float y) |
void |
updateActiveVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
Update active video unit render information in the MobileRTCVideoView.
|
void |
updateAttendeeVideoUnit(long userId,
MobileRTCVideoUnitRenderInfo renderInfo)
Update the specified attendee's video unit render information in the MobileRTCVideoView.
|
void |
updatePreviewVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
Update preview video unit render information in the MobileRTCVideoView.
|
void |
updateShareVideoUnit(MobileRTCRenderInfo renderInfo)
Update shared video unit render information in the MobileRTCVideoView.
|
float |
viewToShareContentX(float x) |
float |
viewToShareContentY(float y) |
boolean addPreviewVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
renderInfo
- Render information for video unit, which is an instance of MobileRTCVideoUnitRenderInfo
.void updatePreviewVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
renderInfo
- New render information of the video preview unit, which is an instance of MobileRTCVideoUnitRenderInfo
.void removePreviewVideoUnit()
boolean addActiveVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
renderInfo
- Render information for the video unit, which is an instance of MobileRTCVideoUnitRenderInfo
.void updateActiveVideoUnit(MobileRTCVideoUnitRenderInfo renderInfo)
renderInfo
- New render information of the active video unit, which is an instance of MobileRTCVideoUnitRenderInfo
.void removeActiveVideoUnit()
boolean addAttendeeVideoUnit(long userId, MobileRTCVideoUnitRenderInfo renderInfo)
userId
- The ID of user whose video will be added to the MobileRTCVideoView.renderInfo
- Render information for the video unit, which is an instance of MobileRTCVideoUnitRenderInfo
.void updateAttendeeVideoUnit(long userId, MobileRTCVideoUnitRenderInfo renderInfo)
userId
- The user ID of specified attendee.renderInfo
- New render information for the video unit, which is an instance of MobileRTCVideoUnitRenderInfo
.void removeAttendeeVideoUnit(long userId)
userId
- The user ID of the specified attendee.void removeAllAttendeeVideoUnit()
boolean addShareVideoUnit(long userId, MobileRTCRenderInfo renderInfo)
renderInfo
- Render information for the video unit, which is an instance of MobileRTCRenderInfo
.userId
- The ID of user who is sharing.void updateShareVideoUnit(MobileRTCRenderInfo renderInfo)
renderInfo
- New render information for the video unit, which is an instance of MobileRTCRenderInfo
.void removeShareVideoUnit()
void removeAllVideoUnits()
float viewToShareContentX(float x)
x
- The x coordinate on the phone corresponding to that on the sharing view.float viewToShareContentY(float y)
y
- The y coordinate on the phone corresponding to that on the sharing view.float shareContentToViewX(float x)
x
- The x coordinate on the sharing view corresponding to that on the phone.float shareContentToViewY(float y)
y
- The y coordinate on the sharing view corresponding to that on the phone.