VertoWebSocketDelegate
public protocol VertoWebSocketDelegate
Protocol that handle both websocket connection state and Verto
callbacks during its initialization and during a lifetime of a call.
-
Triggered when the websocket is connected.
Declaration
Swift
func wsVertoConnected()
-
Triggered when the websocket is disconnected.
Declaration
Swift
func wsVertoDisconnected()
-
Triggered Verto has been initialized and is ready.
Declaration
Swift
func vertoClientReady()
-
Triggered when a call between an agent A and agent B has started.
Declaration
Swift
func vertoCallStarted(callID: String, sdp: String)
-
Triggered when the agent answer an incoming call.
Declaration
Swift
func vertoAnsweringCall(callID: String, callerName: String, sdp: String)
-
Triggered when all the Verto/RTC initialization part has been done and the call is ready to be displayed.
Declaration
Swift
func vertoCallDisplay()
-
Triggered when the call is terminated.
Declaration
Swift
func vertoCallEnded(callID: String)