- iOS specific: because both CameraStreamer and AudioInputClients accessing and mutating shared AVAudioSession instance, it is strongly recommended to mute audio at CameraStreamer instance before calling start method on AudioInputClient instance and unmuting audio at CameraStreamer instance after calling stop method on AudioInputClient instance.
- iOS specific: you can subscribe to kMuteAudioNotification and kUnmuteAudioNotification notifications and mute/unmute audio on CameraStreamer instance respectively in order to follow recommendation above.
AudioInputClient(AudioInputDelegate delegate, String url);
Constructs AudioInputClient instance.
Returns true if recording and streaming are running.
Starts recording audio and starts streaming the audio frames captured to the url provided.
Stops recording of audio and stops streaming.
Will get called when the recording started.
Will get called when recording ended.
@optional onError(MobileSDKError error);
Will be called if there is an error in the streaming process.