VideoTile
@objc
public protocol VideoTile : VideoSink
VideoTile
is a tile that binds video render view to diplay the frame into the view.
-
State of VideoTile
Declaration
Swift
var state: VideoTileState { get }
-
View which will be used to render the Video Frame
Declaration
Swift
var videoRenderView: VideoRenderView? { get set }
-
Binds the view to the tile. The view needs to be create by the application. Once the binding is done, the view will start displaying the video frame automatically
Declaration
Swift
func bind(videoRenderView: VideoRenderView?)
Parameters
videoRenderView
the view created by application to render the video frame
-
Unbinds the
videoRenderView
from tile.Declaration
Swift
func unbind()
-
Update the pause state of the tile.
Declaration
Swift
func setPauseState(pauseState: VideoPauseState)