QNConferenceDelegate
public protocol QNConferenceDelegate : AnyObject
Delegate to receive QNJanusConference updates
-
Event to notify JanusConference updates
Declaration
Swift
func conferenceUpdated(_ conference: QNConferenceRepository)
Parameters
JanusConference
conference updated
-
The conference was destroyed
Declaration
Swift
func conferenceDestroyed(_ conference: QNConferenceRepository)
Parameters
JanusConference
conference destroyed
-
The invitation was cancelled by the caller
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didCancelInvitation: String)
Parameters
conference
JanusConference object
didCancelInvitation
Identifier of the cancelled invitation.
-
A new participant was added to the conference
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didAddParticpant: QNConferenceParticipant)
Parameters
conference
JanusConference object
didAddParticpant
New participant
-
A participant was removed from conference
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didRemoveParticpant: QNConferenceParticipant)
Parameters
conference
JanusConference object
didRemoveParticpant
Identifier of the removed participant.
-
Local video was added to conference
Declaration
Swift
func conferenceDidAddLocalMedia(_ conference: QNConferenceRepository)
Parameters
conference
conference instance
-
Participant add new media to conference
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didAddVideoFromParticipant participant: QNConferenceParticipant)
Parameters
conference
JanusConference instance
fromParticipant
Participant who added video
-
Participant stop sharing passed media
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didRemoveVideoFromParticipant participant: QNConferenceParticipant)
Parameters
conference
JanusConference instance
fromParticipant
Participant who added video
-
A new transfer was received
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didReceiveUnattendedTransfer: QNConferenceTransfer)
Parameters
conference
JanusConference instance
didReceiveUnattendedTransfer
A SippoTransfer
-
Attended transfer accepted
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didAcceptAttendedTransfer: String)
Parameters
conference
JanusConference instance
didReceiveUnattendedTransfer
roomId
-
Attended transfer canceled
Declaration
Swift
func conference(_ conference: QNConferenceRepository, didCancelAttendedTransfer: String)
Parameters
conference
JanusConference instance
didReceiveUnattendedTransfer
roomId
-
Participant paused conference
Declaration
Swift
func conferenceHeld(_ conference: QNConferenceRepository)
Parameters
conference
JanusConference instance
-
Participant restart conference
Declaration
Swift
func conferenceUnheld(_ conference: QNConferenceRepository)
Parameters
conference
JanusConference instance