IOS loudspeaker to Phonemin

yusufmachsar

New Member
Can I use the loudspeaker feature during a call on my phone?
Because what I found uses audio calls with very low volume, is there any tutorial or example code to add a loudspeaker to Phonemin?
 
Good day.
You can use setLoudSpeakerStatus method for streams only:
Code:
    @IBAction func loudSpeakerChanged(_ sender: Any) {
        do {
            try playStream?.setLoudspeakerStatus(loudSpeaker.isOn);
        } catch {
            print(error);
        }
    }
The feature is not supported yet or SIP calls. We raised the ticket WCS-4048, will let you know about progress here.
 
Good day.
You can use setLoudSpeakerStatus method for streams only:
Code:
    @IBAction func loudSpeakerChanged(_ sender: Any) {
        do {
            try playStream?.setLoudspeakerStatus(loudSpeaker.isOn);
        } catch {
            print(error);
        }
    }
The feature is not supported yet or SIP calls. We raised the ticket WCS-4048, will let you know about progress here.
Hi max.. any update for the loudspeaker on sip calls?
 
Good day.
We added the setLoudSpeakerStatus method fro SIP calls since iOS SDK build 2.6.124. Please see iOS Phone example description
Code:
- (void)useLoudSpeakerValueChanged:(id)sender {
    if (call) {
        [call setLoudspeakerStatus:_useLoudSpeaker.control.isOn withError:nil];
    }
}
 
Top