iosaudiomutelinphone-sdk

Audio mute is not working


i'm trying to implement a mute button in a sample application.

i've seen linphone is doing this by changing the BOOL value for the following code.

linphone_core_enable_mic(LC,TRUE);

i also did the same, but i'm getting this warning ortp-warning-Could not apply gain on sent RTP packets: gain control wasn't activated. Use audio_stream_enable_gain_control() before starting the stream.

how to solve this ?


Solution

  • I've missed to include the submodules in the project from Linphone project, thus solved the problem.