VideoSourceDescriptor
public class VideoSourceDescriptor : LinphoneObject
Object that is used to describe a video source.
-
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> VideoSourceDescriptor
-
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
Sets the source of a
VideoSourceDescriptor
with a call. Setting aVideoSourceDescriptor
with a call will require the lib to have two calls running at the same time. To do so the media resource mode has to be set to LinphoneSharedMediaResources with Core.setMediaResourceMode().Declaration
Swift
public var call: Call? { get set }
Return Value
The
Call
of the video source descriptor if it’s type is LinphoneVideoSourceCall, nil otherwise. -
Sets the source of a
VideoSourceDescriptor
with a camera id.Declaration
Swift
public var cameraId: String { get set }
Return Value
The camera id of the video source descriptor if it’s type is LinphoneVideoSourceCamera, nil otherwise.
-
Sets the source of a
VideoSourceDescriptor
with an image path.Declaration
Swift
public var image: String { get set }
Return Value
The image path of the video source descriptor if it’s type is LinphoneVideoSourceImage, nil otherwise.
-
Gets the type of a
VideoSourceDescriptor
.Declaration
Swift
public var type: VideoSourceType { get }
Return Value
The
VideoSourceType
corresponding to this video source descriptor. -
Instantiate a new video source descriptor with values from source.
Declaration
Swift
public func clone() -> VideoSourceDescriptor?
Return Value
The newly created
VideoSourceDescriptor
object.