AtomicPlayer.setView(_:) / AtomicPusher.setView(_:) to complete the video output pipeline.Enum Value | Description |
playView | Play view, used with AtomicPlayer. |
pushView | Push view, used with AtomicPusher. |
Property | Type | Description |
index | Int | Unit index. |
liveID | String | Live ID. |
userID | String | User ID. |
userName | String | User name. |
avatarURL | String | Avatar URL. |
microphoneStatus | Microphone status. | |
cameraStatus | Camera status. | |
userSuspendStatus | User suspend status. |
func onCreateUnitView(unitInfo: UnitInfo?) -> UIView?
Parameter | Type | Description |
unitInfo | Live unit info. |
func onUpdateUnitView(unitInfo: UnitInfo?, view: UIView?)
Parameter | Type | Description |
unitInfo | Latest live unit info. | |
view | UIView? | The current widget view of this seat, or nil if the seat has no widget yet. |
func onVideoViewFrameChanged(left: CGFloat, top: CGFloat, right: CGFloat, bottom: CGFloat)
Parameter | Type | Description |
left | CGFloat | Ratio of the top-left point from the left edge. |
top | CGFloat | Ratio of the top-left point from the top edge. |
right | CGFloat | Ratio of the bottom-right point from the left edge. |
bottom | CGFloat | Ratio of the bottom-right point from the top edge. |
func onVolumeChanged(unitInfo: UnitInfo?, volume: Int, view: UIView?)
Parameter | Type | Description |
unitInfo | Live unit info of the seat whose volume changed. | |
volume | Int | Latest speaking volume of this seat user, in the range 0 to 100. |
view | UIView? | The current widget view of this seat, or nil if the seat has no widget yet. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan