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 moreIOStream
class 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 IOStreamRecorder
extension IOStreamRecorder: IOStreamObserver
extension 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 : MTKView
extension MTHKView: IOStreamView
extension 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
-
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 TSReader class represents read MPEG-2 transport stream data.
See moreDeclaration
Swift
public class TSReader
-
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 : NSObject
extension NetSocket: StreamDelegate
-
The Event interface is used to provide information.
See moreDeclaration
Swift
public final class Event
extension 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 : EventDispatcher
extension RTMPSharedObject: CustomDebugStringConvertible
-
An object that provides the interface to control a one-way channel over a RtmpConnection.
See moreDeclaration
-
The ByteArray class provides methods and properties the reading or writing with binary data.
See moreDeclaration
Swift
public class ByteArray : ByteArrayConvertible
extension 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
-
An object that provides the interface to control a one-way channel over a SRTConnection.
See moreDeclaration
Swift
public final class SRTStream : IOStream
extension SRTStream: TSWriterDelegate
extension SRTStream: TSReaderDelegate