PlanetKitVideoCapability
public class PlanetKitVideoCapability : NSObject
A class representing the video capability.
This class provides properties to configure the video resolution, frames per second (FPS), and preferred hardware codec for the video.
-
The video resolution.
Declaration
Swift
@objc public var resolution: PlanetKitVideoResolution
-
The frames per second (FPS).
Declaration
Swift
@objc public var fps: PlanetKitVideoFps
-
A Boolean value indicating whether to prefer enabling a hardware video codec.
Declaration
Swift
@objc public var preferredHwCodec: Bool
-
Initializes a new instance of the
PlanetKitVideoCapability
class.Declaration
Swift
@objc public init(resolution: PlanetKitVideoResolution, fps: PlanetKitVideoFps)
Parameters
resolution
The video resolution.
fps
The frames per second (FPS).
-
A textual representation of the video capability.
Declaration
Swift
public override var description: String { get }
-
Returns the default video capability for sending in a call.
Declaration
Swift
@objc public static var callSendDefault: PlanetKitVideoCapability { get }
-
Returns the default video capability for receiving in a call.
Declaration
Swift
@objc public static var callReceiveDefault: PlanetKitVideoCapability { get }
-
Returns the default video capability for sending in a conference.
Declaration
Swift
@objc public static var conferenceSendDefault: PlanetKitVideoCapability { get }