Sinch - callDidEstablish is not getting called on Lock screen while answering call from CallKit

前端 未结 3 608
无人共我
无人共我 2021-01-23 01:47

Sinch - callDidEstablish is not getting called on Lock screen while answering call from CallKit.

I have integrated CallKit but answering call f

3条回答
  •  温柔的废话
    2021-01-23 02:13

    You have to implement CXProviderDelegate to receive callKit actions delegate,

    Implement this method from CXProviderDelegate.

    -(void)provider:(CXProvider *)provider didActivateAudioSession:(AVAudioSession *)audioSession {

    [_client.callClient provider:provider didActivateAudioSession:audioSession];

    }

    and your callDidEstablish will start getting called.

提交回复
热议问题