PortSIP VoIP SDK Manual for iOS  16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
Functions
Conference functions

Functions

(int) - PortSIPSDK::createAudioConference
 Create an audio conference. More...
 
(int) - PortSIPSDK::createVideoConference:videoWidth:videoHeight:displayLocalVideo:
 Create a video conference. More...
 
(void) - PortSIPSDK::destroyConference
 Destroy the existent conference.
 
(int) - PortSIPSDK::setConferenceVideoWindow:
 Set the window for a conference that is used to display the received remote video image. More...
 
(int) - PortSIPSDK::joinToConference:
 Join a session into existent conference. If the call is in hold, please un-hold first. More...
 
(int) - PortSIPSDK::removeFromConference:
 Remove a session from an existent conference. More...
 

Detailed Description

Function Documentation

◆ createAudioConference()

- (int) createAudioConference

Create an audio conference.

Returns
If the function succeeds, it will return value 0. If the function fails, it will return a specific error code.

◆ createVideoConference:videoWidth:videoHeight:displayLocalVideo:()

- (int) createVideoConference: (PortSIPVideoRenderView *)  conferenceVideoWindow
videoWidth: (int)  videoWidth
videoHeight: (int)  videoHeight
displayLocalVideo: (BOOL)  displayLocalVideoInConference 

Create a video conference.

Parameters
conferenceVideoWindowThe PortSIPVideoRenderView used for displaying the conference video.
videoWidthThe conference video width.
videoHeightThe conference video height.
displayLocalVideoInConferenceDisplay the local video on video window.
Returns
If the function succeeds, it will return value 0. If the function fails, it will return a specific error code.

◆ setConferenceVideoWindow:()

- (int) setConferenceVideoWindow: (PortSIPVideoRenderView *)  conferenceVideoWindow

Set the window for a conference that is used to display the received remote video image.

Parameters
conferenceVideoWindowThe PortSIPVideoRenderView used to display the conference video.
Returns
If the function succeeds, it will return value 0. If the function fails, it will return a specific error code.

◆ joinToConference:()

- (int) joinToConference: (long)  sessionId

Join a session into existent conference. If the call is in hold, please un-hold first.

Parameters
sessionIdSession ID of the call.
Returns
If the function succeeds, it will return value 0. If the function fails, it will return a specific error code.

◆ removeFromConference:()

- (int) removeFromConference: (long)  sessionId

Remove a session from an existent conference.

Parameters
sessionIdSession ID of the call.
Returns
If the function succeeds, it will return value 0. If the function fails, it will return a specific error code.