Commit 25f73785 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

remove unused signals handlers

Change-Id: If075152bcea8b32e5d8cd47ac89a78f57d7f8c38
parent df34ac9a
......@@ -90,21 +90,6 @@ static id <CallsAdapterDelegate> _delegate;
}
}));
//New outgoing call signal
callHandlers.insert(exportable_callback<CallSignal::NewCallCreated>([&](const std::string& accountId,
const std::string& callId,
const std::string& toURI) {
if (CallsAdapter.delegate) {
NSString* accountIdString = [NSString stringWithUTF8String:accountId.c_str()];
NSString* callIdString = [NSString stringWithUTF8String:callId.c_str()];
NSString* toURIString = [NSString stringWithUTF8String:toURI.c_str()];
[CallsAdapter.delegate newCallStartedWithAccountId: accountIdString
callId: callIdString
toURI: toURIString];
}
}));
//Peer place call on hold signal
callHandlers.insert(exportable_callback<CallSignal::PeerHold>([&](const std::string& callId,
bool holding) {
......
......@@ -23,7 +23,6 @@
func didChangeCallState(withCallId callId: String, state: String, stateCode: NSInteger)
func didReceiveMessage(withCallId callId: String, fromURI uri: String, message: [String: String])
func receivingCall(withAccountId accountId: String, callId: String, fromURI uri: String)
func newCallStarted(withAccountId accountId: String, callId: String, toURI uri: String)
func callPlacedOnHold(withCallId callId: String, holding: Bool)
func audioMuted(call callId: String, mute: Bool)
func videoMuted(call callId: String, mute: Bool)
......
......@@ -352,9 +352,6 @@ class CallsService: CallsAdapterDelegate {
return false
}
func newCallStarted(withAccountId accountId: String, callId: String, toURI uri: String) {
}
func callPlacedOnHold(withCallId callId: String, holding: Bool) {
guard let call = self.calls[callId] else {
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment