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
-
A view that displays a video content of a NetStream object which uses AVSampleBufferDisplayLayer api.
See more -
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 : 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
-
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 ScreenObject class is the abstract class for all objects that are rendered on the screen.
See moreDeclaration
Swift
open class ScreenObject
extension ScreenObject: Hashable
-
An object that manages offscreen rendering a cgImage source.
See moreDeclaration
Swift
public final class ImageScreenObject : ScreenObject
-
An object that manages offscreen rendering a video track source.
See moreDeclaration
Swift
public final class VideoTrackScreenObject : ScreenObject
-
An object that manages offscreen rendering a text source.
See moreDeclaration
Swift
public final class TextScreenObject : ScreenObject
-
An object that manages offscreen rendering an asset resource.
See moreDeclaration
Swift
public final class AssetScreenObject : ScreenObject
-
An object represents a collection of screen objects.
See moreDeclaration
Swift
public class ScreenObjectContainer : ScreenObject, ScreenObjectContainerConvertible
-
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
-
This class allows to rotate image buffers that are provided by ReplayKit. The buffers arrive in portrait orientation and contain buffer-level attachment that allow to determine the target resolution and rotate the buffer accordingly.
See moreDeclaration
Swift
@available(iOS 16.0, tvOS 16.0, macOS 13.0, *) public class VideoRotator
-
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