public interface Conference
Conference, you first need a ConferenceParamsCore.createConferenceWithParams(org.linphone.core.ConferenceParams) allows you to create aCore can host only 1 conference but it can be part of manyCore.searchConference(org.linphone.core.ConferenceParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[]). | Modifier and Type | Interface and Description |
|---|---|
static class |
Conference.State |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ConferenceListener listener) |
int |
addParticipant(Address uri)
Join a participant to the conference.
|
int |
addParticipant(Call call)
Join an existing call to the conference.
|
int |
addParticipants(Call[] calls)
Add participants to the conference, by supplying a list of
Call. |
int |
enter()
For a local conference, the local participant joins the conference For a remote
conference, the participant rejoins the conference after leaving it earlier on. |
Participant |
findParticipant(Address uri)
Find a participant from a conference.
|
Address |
getConferenceAddress()
Get the conference address of the conference.
|
Core |
getCore()
Returns core for a
Conference. |
ConferenceParams |
getCurrentParams()
Get current parameters of the conference.
|
java.lang.String |
getId()
Deprecated.
10/07/2020 Use
getConferenceAddress() instead. |
AudioDevice |
getInputAudioDevice()
Gets the current input device for this conference.
|
Participant |
getMe()
For a local audio video conference, this function returns the participant
hosting the conference For a remote audio video conference, this function returns the focus of the conference. |
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
AudioDevice |
getOutputAudioDevice()
Gets the current output device for this conference.
|
int |
getParticipantCount()
Get number of participants without me.
|
Participant[] |
getParticipantList()
Get list of all participants of one conference.
|
Address[] |
getParticipants()
Deprecated.
10/07/2020 Use
getParticipantList() instead. |
java.lang.String |
getSubject()
Get the conference subject.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
inviteParticipants(Address[] addresses,
CallParams params)
Invite participants to the conference, by supplying a list of
AddressIf the conference is in the state LinphoneConferenceStateCreationPending, then the conference will start on the input and output audio devices used for the currently active call, if any. |
boolean |
isIn()
For a local conference, it returns whether the local participant is enabled For
a remote conference, it return whether the remote participant has left the conference without bein removed from it. |
boolean |
isMe(Address uri)
For a local audio video conference, this function compares the address provided
as argument with that of participant hosting the conference For a remote audio video conference, this function compares the address provided as argument with that of the focus of the conference. |
boolean |
isRecording()
Gets whether the conference is currently being recorded.
|
int |
leave()
For a local conference, the local participant leaves the conference For a
remote conference, the participant leaves the conference after joining it earlier on. |
void |
oglRender()
Call generic OpenGL render for a given conference.
|
void |
previewOglRender()
Call generic OpenGL render preview for a given conference.
|
void |
removeListener(ConferenceListener listener) |
int |
removeParticipant(Address uri)
Deprecated.
10/07/2020 Use
removeParticipant(org.linphone.core.Call) instead. |
int |
removeParticipant(Call call)
Deprecated.
10/07/2020 Use
removeParticipant(org.linphone.core.Call) instead. |
int |
removeParticipant(Participant participant)
|
void |
setConferenceAddress(Address address)
Set the conference address.
|
void |
setId(java.lang.String conferenceId)
Deprecated.
10/07/2020 Use
setConferenceAddress(org.linphone.core.Address) instead. |
void |
setInputAudioDevice(AudioDevice audioDevice)
Sets the given
AudioDevice as input for this conference only. |
void |
setOutputAudioDevice(AudioDevice audioDevice)
Sets the given
AudioDevice as output for this conference only. |
void |
setParticipantAdminStatus(Participant participant,
boolean isAdmin)
Change the admin status of a participant of a conference (you need to be an
admin yourself to do this). |
void |
setSubject(java.lang.String subject)
Set the conference subject.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
int |
startRecording(java.lang.String path)
Starts recording the conference.
|
int |
stopRecording()
Stops the conference recording.
|
int |
terminate()
Terminates conference.
|
java.lang.String |
toString() |
int |
updateParams(ConferenceParams params)
Update parameters of the conference.
|
@NonNull Address getConferenceAddress()
void setConferenceAddress(@NonNull
Address address)
address - the conference address to set. @NonNull Core getCore()
@NonNull ConferenceParams getCurrentParams()
ConferenceParams . @Deprecated @NonNull java.lang.String getId()
getConferenceAddress() instead. @Deprecated
void setId(@NonNull
java.lang.String conferenceId)
setConferenceAddress(org.linphone.core.Address) instead. conferenceId - the conference id to set. @Nullable AudioDevice getInputAudioDevice()
AudioDevice used by this conference as input or null ifvoid setInputAudioDevice(@Nullable
AudioDevice audioDevice)
audioDevice - The AudioDevice. null does nothing. boolean isIn()
boolean isRecording()
@NonNull Participant getMe()
Participant . @Nullable AudioDevice getOutputAudioDevice()
AudioDevice used by this conference as output or null ifvoid setOutputAudioDevice(@Nullable
AudioDevice audioDevice)
audioDevice - The AudioDevice. null does nothing. int getParticipantCount()
Conference @NonNull Participant[] getParticipantList()
@Deprecated @NonNull Address[] getParticipants()
getParticipantList() instead. @Nullable java.lang.String getSubject()
void setSubject(@Nullable
java.lang.String subject)
subject - conference subject int addParticipant(@NonNull
Call call)
call - a Call that has to be added to the conference. int addParticipant(@NonNull
Address uri)
uri - a Address that has to be added to the conference. int addParticipants(@NonNull
Call[] calls)
Call. calls - A list of calls to add to the conference. int enter()
@Nullable Participant findParticipant(@NonNull Address uri)
uri - SIP URI of the participant to search. int inviteParticipants(@NonNull
Address[] addresses,
@Nullable
CallParams params)
Addressaddresses - A list of SIP addresses to invite. params - CallParams to use for inviting the participants. boolean isMe(@NonNull
Address uri)
uri - A Address object int leave()
void oglRender()
void previewOglRender()
@Deprecated
int removeParticipant(@NonNull
Call call)
removeParticipant(org.linphone.core.Call) instead. call - call to remove int removeParticipant(@NonNull
Participant participant)
participant - participant to remove getParticipantList()@Deprecated
int removeParticipant(@NonNull
Address uri)
removeParticipant(org.linphone.core.Call) instead. uri - URI of the participant to remove getParticipants()void setParticipantAdminStatus(@NonNull
Participant participant,
boolean isAdmin)
participant - The Participant for which to change the admin status isAdmin - A boolean value telling whether the participant should now be anint startRecording(@NonNull
java.lang.String path)
path - Where to record the conference int stopRecording()
int terminate()
int updateParams(@NonNull
ConferenceParams params)
params - the new parameters to apply. void addListener(ConferenceListener listener)
void removeListener(ConferenceListener listener)
void setUserData(java.lang.Object data)
data - the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString in class java.lang.Object