Speaker activation does not work
so far, I have been able to turn on the speaker when using Sinch. I am not sure if this is a bug, or if I am doing something wrong. I had this problem on both iPhone 5S and iPhone 6.
Here is the code I used:
- (void)speaker {
id <SINAudioController> audio = [self.sinchClient audioController];
[audio enableSpeaker];
}
And this is where it gets called from:
- (void)callDidEstablish:(id<SINCall>)call;
{
DDLogVerbose(@"Call did establish");
// Set speaker and mute
[self mute];
[self speaker];
}
+3
source to share
No one has answered this question yet
Check out similar questions: