CPMediaAttributes
Objective-C
@interface CPMediaAttributes : NSObject
Swift
class CPMediaAttributes : NSObject
Class for media attributes of a Call.
Since
1.0.0-
Boolean value that if the local video is activated for sending
Since
1.0.0Declaration
Objective-C
@property (nonatomic, readonly) BOOL localVideo;
Swift
var localVideo: Bool { get }
Return Value
Boolean
-
Boolean value that if the remote video is receiving
Since
1.0.0Declaration
Objective-C
@property (nonatomic, readonly) BOOL remoteVideo;
Swift
var remoteVideo: Bool { get }
Return Value
Boolean
-
Boolean value that local audio is activated for sending
Since
1.0.0Declaration
Objective-C
@property (nonatomic, readonly) BOOL localAudio;
Swift
var localAudio: Bool { get }
Return Value
Boolean
-
Defines width/height of remote video
Since
1.0.0Declaration
Objective-C
@property (nonatomic, readonly) float remoteVideoAspectRatio;
Swift
var remoteVideoAspectRatio: Float { get }
Return Value
float value that remote video aspect ratio
-
Defines width/height of local video
Since
1.0.0Declaration
Objective-C
@property (nonatomic, readonly) float localVideoAspectRatio;
Swift
var localVideoAspectRatio: Float { get }
Return Value
float value that local video aspect ratio