Classes

The following classes are available globally.

  • A view that displays a video content of a NetStream object which uses AVCaptureVideoPreviewLayer.

    See more

    Declaration

    Swift

    public class HKView : UIView
    extension HKView: NetStreamDrawable
  • The AudioCodec translate audio data to another format.

    See more

    Declaration

    Swift

    public class AudioCodec
    extension AudioCodec: Running
  • The VideoCodec class provides methods for encode or decode for video.

    See more

    Declaration

    Swift

    public class VideoCodec
    extension VideoCodec: Running
  • The FLVReader is used to read the contents of a FLV file.

    See more

    Declaration

    Swift

    public final class FLVReader
    extension FLVReader: IteratorProtocol
  • The HLSService class provide a simple HTTP Live Streaming service.

    See more

    Declaration

    Swift

    open class HLSService : HTTPService
  • The HTTPService class provide a lightweight HTTPServer.

    See more

    Declaration

    Swift

    open class HTTPService : NetService
  • The HTTPStream class represents an HLS playlist and .ts files.

    See more

    Declaration

    Swift

    open class HTTPStream : NetStream
  • MPEG-2 TS (Transport Stream) Writer Foundation class

    See more

    Declaration

    Swift

    public class TSWriter : Running
    extension TSWriter: AudioCodecDelegate
    extension TSWriter: VideoCodecDelegate
  • An object that apply an audio effect.

    See more

    Declaration

    Swift

    open class AudioEffect : NSObject
  • An object that provides the interface to control the AVCaptureDevice’s transport behavior.

    See more

    Declaration

    Swift

    public class IOVideoCaptureUnit : IOCaptureUnit
  • An object that mixies audio and video for streaming.

    See more

    Declaration

    Swift

    public class IOMixer
    extension IOMixer: Running
  • The IORecorder class represents video and audio recorder.

    See more

    Declaration

    Swift

    public class IORecorder
    extension IORecorder: Running
  • The IOUIScreenCaptureUnit class captures the UIView.

    See more

    Declaration

    Swift

    public class IOUIScreenCaptureUnit : NSObject, IOScreenCaptureUnit
    extension IOUIScreenCaptureUnit: Running
  • A view that displays a video content of a NetStream object which uses Metal api.

    See more

    Declaration

    Swift

    public class MTHKView : MTKView
    extension MTHKView: NetStreamDrawable
    extension MTHKView: MTKViewDelegate
  • A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.

    See more

    Declaration

    Swift

    public class PiPHKView : UIView
    extension PiPHKView: NetStreamDrawable
  • A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.

    See more

    Declaration

    Swift

  • An object that apply a video effect.

    Example code:

    final class MonochromeEffect: VideoEffect {
        let filter: CIFilter? = CIFilter(name: "CIColorMonochrome")
    
        override func execute(_ image: CIImage, info: CMSampleBuffer?) -> CIImage {
            guard let filter: CIFilter = filter else {
                return image
            }
            filter.setValue(image, forKey: "inputImage")
            filter.setValue(CIColor(red: 0.75, green: 0.75, blue: 0.75), forKey: "inputColor")
            filter.setValue(1.0, forKey: "inputIntensity")
            return filter.outputImage ?? image
        }
    }
    
    See more

    Declaration

    Swift

    open class VideoEffect : NSObject
  • The NetClient class creates a two-way connection between a NetService.

    See more

    Declaration

    Swift

    public final class NetClient : NetSocket
  • The NetService class creates a two-way connection between a client and a server as a server.

    See more

    Declaration

    Swift

    open class NetService : NSObject
    extension NetService: NetServiceDelegate
    extension NetService: Running
  • The NetSocket class creates a two-way connection between a client and a server as a client. This class is wrapper for a InputStream and an OutputStream.

    See more

    Declaration

    Swift

    open class NetSocket : NSObject
    extension NetSocket: StreamDelegate
  • The NetStream class is the foundation of a RTMPStream, HTTPStream.

    See more

    Declaration

    Swift

    open class NetStream : NSObject
    extension NetStream: IOScreenCaptureUnitDelegate
  • The Event interface is used to provide information.

    See more

    Declaration

    Swift

    open class Event
    extension Event: CustomDebugStringConvertible
  • The EventDispatcher interface is in implementation which supports the DOM Event Model.

    See more

    Declaration

    Swift

    open class EventDispatcher : EventDispatcherConvertible
  • flash.net.Responder for Swift

    See more

    Declaration

    Swift

    open class Responder
  • The RTMPConneciton class create a two-way RTMP connection.

    See more

    Declaration

    Swift

    open class RTMPConnection : EventDispatcher
  • The RTMPSharedObject class is used to read and write data on a server.

    See more

    Declaration

    Swift

    public class RTMPSharedObject : EventDispatcher
    extension RTMPSharedObject: CustomDebugStringConvertible
  • An object that provides the interface to control a one-way channel over a RtmpConnection.

    See more

    Declaration

    Swift

    open class RTMPStream : NetStream
    extension RTMPStream: EventDispatcherConvertible
  • The ByteArray class provides methods and properties the reading or writing with binary data.

    See more

    Declaration

    Swift

    open class ByteArray : ByteArrayConvertible
    extension ByteArray: CustomDebugStringConvertible
  • Undocumented

    See more

    Declaration

    Swift

    public class Setting<T, Key> : ExpressibleByDictionaryLiteral where T : AnyObject, Key : KeyPathRepresentable
    extension Setting: CustomDebugStringConvertible