Classes
The following classes are available globally.
-
An object that provides the interface to control the AVCaptureDevice’s transport behavior.
See moreDeclaration
Swift
@available(tvOS 17.0, *) public final class IOAudioCaptureUnit : IOCaptureUnit -
The
See moreIOStreamclass is the foundation of a RTMPStream.Declaration
Swift
open class IOStream : NSObject -
The IOStreamBitRateStrategy class provides a no operative bitrate storategy.
See moreDeclaration
Swift
public final class IOStreamBitRateStrategy : IOStreamBitRateStrategyConvertible -
The IOStreamVideoAdaptiveBitRateStrategy class provides an algorithm that focuses on video bitrate control.
See moreDeclaration
Swift
public final class IOStreamVideoAdaptiveBitRateStrategy : IOStreamBitRateStrategyConvertible -
The IOStreamRecorder class represents video and audio recorder.
See moreDeclaration
Swift
public final class IOStreamRecorderextension IOStreamRecorder: IOStreamObserverextension IOStreamRecorder: Running -
An object that provides the interface to control the AVCaptureDevice’s transport behavior.
See moreDeclaration
Swift
@available(tvOS 17.0, *) public final class IOVideoCaptureUnit : IOCaptureUnit -
A view that displays a video content of a NetStream object which uses Metal api.
See moreDeclaration
Swift
public class MTHKView : MTKViewextension MTHKView: IOStreamViewextension MTHKView: MTKViewDelegate -
A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.
See moreDeclaration
Swift
-
A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.
See moreDeclaration
-
The TSReader class represents read MPEG-2 transport stream data.
See moreDeclaration
Swift
public class TSReader<T> where T : TSReaderDelegate -
The TSWriter class represents writes MPEG-2 transport stream data.
See moreDeclaration
Swift
public final class TSWriter<T> where T : TSWriterDelegate -
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 moreDeclaration
Swift
open class NetSocket : NSObjectextension NetSocket: StreamDelegate -
The Event interface is used to provide information.
See moreDeclaration
Swift
public final class Eventextension Event: CustomDebugStringConvertible -
The EventDispatcher interface is in implementation which supports the DOM Event Model.
See moreDeclaration
Swift
public class EventDispatcher : EventDispatcherConvertible -
The RTMPResponder class provides to use handle RTMPConnection’s callback.
See moreDeclaration
Swift
open class RTMPResponder -
The RTMPConneciton class create a two-way RTMP connection.
See moreDeclaration
Swift
public class RTMPConnection : EventDispatcher -
The RTMPSharedObject class is used to read and write data on a server.
See moreDeclaration
Swift
public final class RTMPSharedObject : EventDispatcherextension RTMPSharedObject: CustomDebugStringConvertible -
An object that provides the interface to control a one-way channel over a RtmpConnection.
See moreDeclaration
-
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 ByteArray class provides methods and properties the reading or writing with binary data.
See moreDeclaration
Swift
public class ByteArray : ByteArrayConvertibleextension ByteArray: CustomDebugStringConvertible -
The InstanceHolder class provides a shared instance memory management.
See moreDeclaration
Swift
public class InstanceHolder<T> where T : Equatable -
The SRTConnection class create a two-way SRT connection.
See moreDeclaration
Swift
public final class SRTConnection : NSObject -
An object for writing interpolated string messages to srt logging system.
See moreDeclaration
Swift
public class SRTLogger
Classes Reference