# Direct Call & Group Call

**URL:** https://community.sendbird.com/t/direct-call-group-call/3291
**Category:** iOS
**Tags:** sendbird-call
**Created:** [October 27, 2021, 5:34am UTC](https://community.sendbird.com/t/direct-call-group-call/3291 "2021-10-27T05:34:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MACAKM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/macakm/32/1285_2.png) [@MACAKM](https://community.sendbird.com/u/MACAKM)
#### Post date: [October 27, 2021, 5:34am UTC](https://community.sendbird.com/t/direct-call-group-call/3291/1 "2021-10-27T05:34:28Z")

</div>

I have a few questions while using direct calls and group calls.

- Direct Call

1. Is the function to check the communication sensitivity between the sender and the receiver supported?

- Group Call

1. Doesn’t group call support speaker mode?
2. Can I check the communication sensitivity in a group call?

---

<div class="post-metadata">

### Author: ![mininny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/mininny/32/305_2.png) [@mininny](https://community.sendbird.com/u/mininny)
#### Post date: [October 27, 2021, 5:52am UTC](https://community.sendbird.com/t/direct-call-group-call/3291/2 "2021-10-27T05:52:27Z")

</div>

Hello @MACAKM , regarding your question:  
Direct Call:

1. There is function to check the audio quality of the call on the dashboard. You can find it at Dashboard → Direct Calls → Call → MOS for audio

Group Call:

1. Group call supports speaker mode.
2. For now, group call does not support checking the quality of the call.

---

<div class="post-metadata">

### Author: ![MACAKM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/macakm/32/1285_2.png) [@MACAKM](https://community.sendbird.com/u/MACAKM)
#### Post date: [October 27, 2021, 6:09am UTC](https://community.sendbird.com/t/direct-call-group-call/3291/3 "2021-10-27T06:09:51Z")

</div>

Direct call

1. Can’t the app detect it?

and

I used route PickerView while looking at the Group Call sample code, but the speaker mode does not come out. But, Direct Call shows speaker mode.

I used the code below in the group call

```auto
private func setupAudioOutputButton() {
        let frame = CGRect(x: 0, y: 0, width: 56, height: 56)
        
        if let routePickerView = SendBirdCall.routePickerView(frame: frame) as? AVRoutePickerView {
            routePickerView.activeTintColor = .clear
            routePickerView.tintColor = .clear
            self.speakerButton.addSubview(routePickerView)
        }
    }

```

---

<div class="post-metadata">

### Author: ![MACAKM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/macakm/32/1285_2.png) [@MACAKM](https://community.sendbird.com/u/MACAKM)
#### Post date: [October 27, 2021, 10:49am UTC](https://community.sendbird.com/t/direct-call-group-call/3291/4 "2021-10-27T10:49:00Z")

</div>

Direct call provides the following functions so you can know the audio type, but is there no corresponding function for group call? I don’t see it in the documentation

```auto
func didAudioDeviceChange(_ call: DirectCall, session: AVAudioSession, previousRoute: AVAudioSessionRouteDescription, reason: AVAudioSession.RouteChangeReason) {
        guard !call.isEnded else { return }
        guard let output = session.currentRoute.outputs.first else { return }

        if output.portType.rawValue == "Receiver" {
            speakerButton.setImage(UIImage(named: "ic_call_speaker_off"), for: .normal)
        } else if output.portType.rawValue == "Speaker"{
            ....
        } else {
           ....
        }
        
        print("[QuickStart] Audio Route has been changed to \(output.portType.rawValue)")
    }

```

---

<div class="post-metadata">

### Author: ![MACAKM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/macakm/32/1285_2.png) [@MACAKM](https://community.sendbird.com/u/MACAKM)
#### Post date: [November 3, 2021, 2:59pm UTC](https://community.sendbird.com/t/direct-call-group-call/3291/5 "2021-11-03T14:59:59Z")

</div>

Can’t Group Called use didAudioDeviceChange function provided by Direct call delegate?  
I want to change the image to match the changed audio output.  
If not, can you tell me how to access it?
