Classes
The following classes are available globally.
-
A view that displays a video content of a NetStream object which uses AVCaptureVideoPreviewLayer.
See moreDeclaration
-
The
See moreNetStreamclass is the foundation of a RTMPStream, HTTPStream.Declaration
Swift
open class NetStream : NSObject -
Undocumented
See moreDeclaration
Swift
open class ScreenCaptureSession : NSObject, CaptureSessionConvertibleextension ScreenCaptureSession: Running -
The AudioCodec translate audio data to another format.
See moreDeclaration
-
The FLVReader is used to read the contents of a FLV file.
See moreDeclaration
Swift
public final class FLVReaderextension FLVReader: IteratorProtocol -
The HLSService class provide a simple HTTP Live Streaming service.
See moreDeclaration
Swift
open class HLSService : HTTPService -
The HTTPService class provide a lightweight HTTPServer.
See moreDeclaration
Swift
open class HTTPService : NetService -
An object that apply an audio effect.
See moreDeclaration
Swift
open class AudioEffect : NSObject -
A view that displays a video content of a NetStream object which uses Metal api.
See moreDeclaration
Swift
public class MTHKView : MTKViewextension MTHKView: NetStreamDrawableextension MTHKView: MTKViewDelegate -
A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.
See moreDeclaration
-
A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.
See moreDeclaration
Swift
-
An object that apply a video effect.
Seealso
https://developer.apple.com/documentation/coreimage/processing_an_image_using_built-in_filtersExample code:
See morefinal 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 } }Declaration
Swift
open class VideoEffect : NSObject -
The NetSocket class creates a two-way connection between a client and a server. This class is wrapper for a InputStream and an OutputStream.
See moreDeclaration
Swift
open class NetSocket : NSObjectextension NetSocket: StreamDelegate -
flash.net.Responder for Swift
See moreDeclaration
Swift
open class Responder -
The RTMPConneciton class create a two-way RTMP connection.
See moreDeclaration
Swift
open class RTMPConnection : EventDispatcher -
flash.net.SharedObject for Swift
See moreDeclaration
Swift
open class RTMPSharedObject : EventDispatcherextension RTMPSharedObject: CustomDebugStringConvertible -
An object that provides the interface to control a one-way channel over a RtmpConnection.
See moreDeclaration
-
MPEG-2 TS (Transport Stream) Writer Foundation class
See moreDeclaration
Swift
public class TSWriter : Runningextension TSWriter: AudioCodecDelegateextension TSWriter: VideoCodecDelegate -
The ByteArray class provides methods and properties the reading or writing with binary data.
See moreDeclaration
Swift
open class ByteArray : ByteArrayConvertibleextension ByteArray: CustomDebugStringConvertible -
The Event interface is used to provide information.
See moreDeclaration
Swift
open class Eventextension Event: CustomDebugStringConvertible -
The EventDispatcher interface is in implementation which supports the DOM Event Model.
See moreDeclaration
Swift
open class EventDispatcher : EventDispatcherConvertible -
Undocumented
See moreDeclaration
Swift
public class Setting<T, Key> : ExpressibleByDictionaryLiteral where T : AnyObject, Key : KeyPathRepresentableextension Setting: CustomDebugStringConvertible
Classes Reference