PlanetKitVideoLimiter
@objc
public protocol PlanetKitVideoLimiter
A protocol that defines methods for limiting video and screen share sending in the PlanetKit framework.
-
Determines if video sending is available at the specified timestamp.
Declaration
Swift
func isVideoSendAvailable(_ timestamp: CMTime) -> Bool
Parameters
timestamp
The timestamp of the video frame.
Return Value
true
if video sending is available,false
otherwise. -
Determines if screen share sending is available at the specified timestamp.
Declaration
Swift
func isScreenShareSendAvailable(_ timestamp: CMTime) -> Bool
Parameters
timestamp
The timestamp of the screen share frame.
Return Value
true
if screen share sending is available,false
otherwise.