ApiRTC iOS SDK Documentation

Enumeration Call​Event

public enum CallEvent: Event  

Represents Call events

CallEvent CallEvent Event Event CallEvent->Event

Conforms To

Event

Enumeration Cases

local​Stream​Available

case localStreamAvailable(Stream) 

Fired when a local stream is available after calling the contact

stream​Added

case streamAdded(Stream) 

Fired when contact's stream is received from P2P call

stream​Removed

case streamRemoved(Stream) 

Fired when contact's stream is removed from P2P call

hangup

case hangup

Fired when contact hangs up from P2P call

accepted

case accepted

Fired when contact accepts call

declined

case declined

Fired when contact decline call

local​Stream​Updated

case localStreamUpdated(StreamUpdate) 

Fired when local stream properties changed

remote​Stream​Updated

case remoteStreamUpdated(StreamUpdate) 

Fired when remote stream properties changed

error

case error(Error) 

Operators

==

public static func == (lhs: CallEvent, rhs: CallEvent) -> Bool