ARVideoSource

public class ARVideoSource : NSObject, AgoraVideoSourceProtocol

A custom video source for the AgoraRtcEngine. This class conforms to the AgoraVideoSourceProtocol and is used to pass the AR pixel buffer as a video source of the Agora stream.

  • Undocumented

    Declaration

    Swift

    public func captureType() -> AgoraVideoCaptureType
  • Undocumented

    Declaration

    Swift

    public func contentHint() -> AgoraVideoContentHint
  • Undocumented

    Declaration

    Swift

    public var consumer: AgoraVideoFrameConsumer?
  • Undocumented

    Declaration

    Swift

    public var rotation: AgoraVideoRotation
  • Undocumented

    Declaration

    Swift

    public func shouldInitialize() -> Bool
  • Undocumented

    Declaration

    Swift

    public func shouldStart()
  • Undocumented

    Declaration

    Swift

    public func shouldStop()
  • Undocumented

    Declaration

    Swift

    public func shouldDispose()
  • Undocumented

    Declaration

    Swift

    public func bufferType() -> AgoraVideoBufferType