VKRTMPStreamer
public class VKRTMPStreamer : VKStreamerProtocol
extension VKRTMPStreamer: RTMPStreamDelegate
-
The current stream
Declaration
Swift
public let stream: VKStream
-
Declaration
Swift
public var sessionPreset: AVCaptureSession.Preset
-
Declaration
Swift
public var fps: Int
-
Type of streaming your are performing
Declaration
Swift
public var streamingMode: VKLiveStreamingMode
-
Declaration
Swift
public var broadcastExtensionBundleIdentifier: String
-
Declaration
Swift
public var broadcastExtensionSetupUIBundleIdentifier: String
-
Declaration
Swift
public var continuousExposure: Bool
-
Should camera try to continuously auto focus?
Declaration
Swift
public var continuousAutofocus: Bool
-
Video Orientation. Portrait sets width and height to 720x1280, Landscape is going to be 1280x720.
Declaration
Swift
public var orientation: VKLiveStreamOrientation { get set }
-
Mute audio for your stream
Declaration
Swift
public var audioMuted: Bool { get set }
-
Video stabilization mode (Check https://developer.apple.com/documentation/avfoundation/avcapturevideostabilizationmode for more information)
Declaration
Swift
public var videoStabilizationMode: AVCaptureVideoStabilizationMode
-
Camera position for streaming (Check https://developer.apple.com/documentation/avfoundation/avcapturedevice/position for more information)
Declaration
Swift
public var cameraPosition: AVCaptureDevice.Position
-
Current Streaming State
Declaration
Swift
public var state: VKLiveStreamState
-
Declaration
Swift
public func rtmpStream(_ stream: RTMPStream, didPublishInsufficientBW connection: RTMPConnection)
-
Declaration
Swift
public func rtmpStream(_ stream: RTMPStream, didPublishSufficientBW connection: RTMPConnection)
-
Declaration
Swift
public func rtmpStream(_ stream: RTMPStream, didOutput audio: AVAudioBuffer, presentationTimeStamp: CMTime)
-
Declaration
Swift
public func rtmpStream(_ stream: RTMPStream, didOutput video: CMSampleBuffer)
-
Declaration
Swift
public func rtmpStream(_ stream: RTMPStream, didStatics connection: RTMPConnection)
-
Declaration
Swift
public func rtmpStreamDidClear(_ stream: RTMPStream)