Hi, Thank you for your amazing project. I'm developing an app which contains incoming call, so when a new call is received the event 'PEER_EVENT_CALL' is triggered, in callback I present the incoming call view controller and pass the obj as parameter,
peer.on(SKWPeerEventEnum.PEER_EVENT_CALL) { (obj) in
if obj is SKWMediaConnection {
let stb = UIStoryboard.init(name: "VideoCall", bundle: nil)
let incomingCall = stb.instantiateViewController(withIdentifier: "InconmingCallViewController") as! InconmingCallViewController
incomingCall.delegate = self
incomingCall.obj = obj as! SKWMediaConnection
self.present(incomingCall, animated: true, completion: nil)
}
}
when I press the accept button , I answer the call and setMediacallback to send local stream ,
Hi, Thank you for your amazing project. I'm developing an app which contains incoming call, so when a new call is received the event 'PEER_EVENT_CALL' is triggered, in callback I present the incoming call view controller and pass the obj as parameter,
when I press the accept button , I answer the call and setMediacallback to send local stream ,
my problem is the media connection event stream is not triggered 'MEDIACONNECTION_EVENT_STREAM' so I'm unable to send
P.S: when I set the media connection under call event , it works but I need incoming call screen