Classes
The following classes are available globally.
-
Declaration
Swift
@objc public class BanubaSdkManager : NSObject
@objc extension BanubaSdkManager: InputServiceDelegate
extension BanubaSdkManager: BNBCameraPoiListener
extension BanubaSdkManager: BNBFaceNumberListener
extension BanubaSdkManager: BNBFrameDurationListener
-
CameraDevice provides access to the phone camera module.
See moreDeclaration
-
Declaration
Swift
@objc public class EffectPlayerConfiguration : NSObject
-
Camera input takes frames from
See moreCameraDevice
and pushes them into the realtime processor. Uses asynchronous processor, so frames can be dropped in case ofPlayer
latency.Declaration
-
Photo input takes photo from
See moreCameraDevice
orImage
and pushes it into the photo processor.Declaration
Swift
public class Photo : Input
-
Declaration
-
Frame output presents provided
See moreOffscreenRenderTarget
into the generic frame:UIImage
,RenderedFrame
,CIImage
. Recommended to usePixelBuffer
output insted, because of performance.Declaration
Swift
public class Frame<T> : Output where T : FramePresentable
-
PixelBuffer output presents provided
See moreOffscreenRenderTarget
into theCVPixelBuffer
with definedorientation
. UsesTextureCache
to speedup GPU to CPU pixels transfer.Declaration
Swift
public class PixelBuffer : Output
-
PixelBufferYUV output presents provided
See moreOffscreenRenderTarget
into theCVPixelBuffer
with definedpixelFormatType
andorientation
. UsesCGImage
andAccelerate
to speedup orientation and color space transformations.Declaration
Swift
public class PixelBufferYUV : Output
-
Video output presents provided
See moreOffscreenRenderTarget
into the video file.Declaration
Swift
public class Video : Output
extension Video: VideoRecorderDelegate
extension Video: CameraDeviceAudioDelegate
-
Player uses
See moreinput
to take processed frames, draweffect
and present them into theoutputs
.Declaration
Swift
public class Player : NSObject
-
Declaration
Swift
@objc public class EffectPlayerView : BaseEffectPlayerView
-
Declaration
Swift
@objc public class OpenGLEffectPlayerView : BaseEffectPlayerView
-
Declaration
Swift
@objc public class RenderTarget : NSObject, RenderedFrameProvider
-
Declaration
Swift
public class TextureCache
-
Declaration
Swift
public class MetalTextureCache : TextureCache
-
Declaration
Swift
@objc public class CameraPhotoSettings : NSObject
-
Declaration
Swift
@objc public class OutputConfiguration : NSObject
-
Provides ability to add/remove several observers for generic events
See moreDeclaration
Swift
public class MulticastDelegate<T>
-
Declaration
Swift
@objc public class VideoExportHelper : NSObject
-
Declaration
Swift
@objc public class WatermarkDrawSettings : NSObject
-
Watermark placement coulb be configured by normalized position (0..1 for x, y based on final pixel buffer size), or by specifying corner and fixed pixel offset from it. Size could be configured by specifying fixed pixel width, or by normalized value (0..1 from final pixel buffer width), height is always calculated using aspect ratio of provided watermark image.
See moreDeclaration
Swift
@objc public class WatermarkInfo : NSObject
-
Declaration
Swift
@objc public class OutputSettings : NSObject
-
Declaration
Swift
public class VideoRecorder : VideoRecorderServicing