Red5Pro IOS Client SDK

 10.0.0
Core SDK for IOS
R5Microphone Class Reference

R5Microphone encapsulates an AVCaptureDevice and provides data to the R5Stream for publishing. More...

#import <R5Camera.h>

Inherits NSObject.

Instance Methods

(id) - initWithDevice:
 

Properties

AVCaptureDevice * device
 Input device.
 
int sampleRate
 sample rate to capture
 
int channels
 number of channels to capture
 
int bitrate
 bitrate in kbps
 
R5AudioControlleraudioController
 Audio Controller for recording. Defaults to shared instance.
 
AudioModHandle processData
 block to handle modifying or replacing raw audio from the microphone
 

Detailed Description

R5Microphone encapsulates an AVCaptureDevice and provides data to the R5Stream for publishing.

Method Documentation

◆ initWithDevice:

- (id) initWithDevice: (AVCaptureDevice *)  device

A microphone input for R5Stream

Parameters
deviceMicrophone to use
Returns
new R5Microphone

The documentation for this class was generated from the following file: