Instance Method

startVoiceChat(withParticipantID:)

Sends a request to another participant to join the voice chat.

Declaration

func startVoiceChat(withParticipantID participantID: String!) throws

Parameters

participantID

A string that uniquely identifies the participant to connect to.

error

If an error occurs, upon return contains an NSError object that describes the problem. Pass NULL if you do not want error information.

Return Value

true if the connection was successfully created.

Discussion

The voice chat service calls the client’s voiceChatService(_:send:toParticipantID:) method to send the connection request to the remote participant.