VideoSource
public protocol VideoSource : AnyObject
Protocol which represents the source of video stream along with meta-information to its observers.
-
Determines whether video stream is coming from a camera attached to the device or represented by a separate module.
Declaration
Swift
var isExternal: Bool { get }
-
Add observer of
VideoSource
.Declaration
Swift
func add(observer: VideoSourceObserver)
-
Remove observer of
VideoSource
.Declaration
Swift
func remove(observer: VideoSourceObserver)