Liblinphone
4.5.0
|
TODO. More...
#include <conference.hh>
Public Types | |
enum | State { State::None, State::Instantiated, State::CreationPending, State::Created, State::CreationFailed, State::TerminationPending, State::Terminated, State::TerminationFailed, State::Deleted } |
State is used to indicate the current state of a conference. More... | |
Public Member Functions | |
Conference (void *ptr, bool takeRef=true) | |
LINPHONECXX_PUBLIC _LinphoneConference * | cPtr () |
LINPHONECXX_PUBLIC void | addListener (const std::shared_ptr< ConferenceListener > &listener) |
LINPHONECXX_PUBLIC void | removeListener (const std::shared_ptr< ConferenceListener > &listener) |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getConferenceAddress () const |
Get the conference address of the conference. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::Core > | getCore () const |
Returns core for a Conference. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::ConferenceParams > | getCurrentParams () const |
Get current parameters of the conference. More... | |
LINPHONECXX_PUBLIC std::string | getId () const |
Get the conference id as string. More... | |
LINPHONECXX_PUBLIC void | setId (const std::string &conferenceId) |
Set the conference id as string. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::Participant > | getMe () const |
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. More... | |
LINPHONECXX_PUBLIC int | getParticipantCount () const |
Get number of participants. More... | |
LINPHONECXX_PUBLIC std::list< std::shared_ptr< linphone::Participant > > | getParticipantList () const |
Get list of all participants of one conference. More... | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED std::list< std::shared_ptr< linphone::Address > > | getParticipants () const |
Get URIs of all participants of one conference The returned bctbx_list_t contains URIs of all participant. More... | |
LINPHONECXX_PUBLIC std::string | getSubject () const |
Get the conference subject. More... | |
LINPHONECXX_PUBLIC void | setSubject (const std::string &subject) |
Set the conference subject. More... | |
LINPHONECXX_PUBLIC linphone::Status | addParticipant (const std::shared_ptr< linphone::Call > &call) |
Join an existing call to the conference. More... | |
LINPHONECXX_PUBLIC linphone::Status | addParticipant (const std::shared_ptr< const linphone::Address > &uri) |
Join a participant to the conference. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::Participant > | findParticipant (const std::shared_ptr< const linphone::Address > &uri) |
Find a participant from a conference. More... | |
LINPHONECXX_PUBLIC linphone::Status | inviteParticipants (const std::list< std::shared_ptr< linphone::Address >> &addresses, const std::shared_ptr< const linphone::CallParams > ¶ms) |
Invite participants to the conference, by supplying a list of Address. More... | |
LINPHONECXX_PUBLIC void | oglRender () |
Call generic OpenGL render for a given conference. | |
LINPHONECXX_PUBLIC void | previewOglRender () |
Call generic OpenGL render preview for a given conference. | |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED linphone::Status | removeParticipant (const std::shared_ptr< const linphone::Address > &uri) |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED linphone::Status | removeParticipant (const std::shared_ptr< linphone::Call > &call) |
LINPHONECXX_PUBLIC linphone::Status | removeParticipant (const std::shared_ptr< linphone::Participant > &participant) |
LINPHONECXX_PUBLIC int | terminate () |
Terminates conference. More... | |
LINPHONECXX_PUBLIC int | updateParams (const std::shared_ptr< const linphone::ConferenceParams > ¶ms) |
Update parameters of the conference. More... | |
TODO.
|
strong |
State is used to indicate the current state of a conference.
Enumerator | |
---|---|
None | Initial state. |
Instantiated | Conference is now instantiated on local. |
CreationPending | One creation request was sent to the server. |
Created | Conference was created on the server. |
CreationFailed | Conference creation failed. |
TerminationPending | Wait for conference termination. |
Terminated | Conference exists on server but not in local. |
TerminationFailed | Conference termination failed. |
Deleted | Conference was deleted on the server. |
LINPHONECXX_PUBLIC linphone::Status linphone::Conference::addParticipant | ( | const std::shared_ptr< linphone::Call > & | call | ) |
Join an existing call to the conference.
call | a Call that has to be added to the conference. |
LINPHONECXX_PUBLIC linphone::Status linphone::Conference::addParticipant | ( | const std::shared_ptr< const linphone::Address > & | uri | ) |
Join a participant to the conference.
uri | a Address that has to be added to the conference. |
LINPHONECXX_PUBLIC std::shared_ptr<linphone::Participant> linphone::Conference::findParticipant | ( | const std::shared_ptr< const linphone::Address > & | uri | ) |
Find a participant from a conference.
uri | SIP URI of the participant to search. |
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::Conference::getConferenceAddress | ( | ) | const |
Get the conference address of the conference.
LINPHONECXX_PUBLIC std::shared_ptr<linphone::Core> linphone::Conference::getCore | ( | ) | const |
Returns core for a Conference.
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::ConferenceParams> linphone::Conference::getCurrentParams | ( | ) | const |
Get current parameters of the conference.
LINPHONECXX_PUBLIC std::string linphone::Conference::getId | ( | ) | const |
Get the conference id as string.
LINPHONECXX_PUBLIC std::shared_ptr<linphone::Participant> linphone::Conference::getMe | ( | ) | const |
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.
LINPHONECXX_PUBLIC int linphone::Conference::getParticipantCount | ( | ) | const |
Get number of participants.
LINPHONECXX_PUBLIC std::list<std::shared_ptr<linphone::Participant> > linphone::Conference::getParticipantList | ( | ) | const |
Get list of all participants of one conference.
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED std::list<std::shared_ptr<linphone::Address> > linphone::Conference::getParticipants | ( | ) | const |
Get URIs of all participants of one conference The returned bctbx_list_t contains URIs of all participant.
That list must be freed after use and each URI must be unref with linphone_address_unref
LINPHONECXX_PUBLIC std::string linphone::Conference::getSubject | ( | ) | const |
Get the conference subject.
LINPHONECXX_PUBLIC linphone::Status linphone::Conference::inviteParticipants | ( | const std::list< std::shared_ptr< linphone::Address >> & | addresses, |
const std::shared_ptr< const linphone::CallParams > & | params | ||
) |
Invite participants to the conference, by supplying a list of Address.
params | CallParams to use for inviting the participants. |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED linphone::Status linphone::Conference::removeParticipant | ( | const std::shared_ptr< const linphone::Address > & | uri | ) |
uri | URI of the participant to remove |
LINPHONECXX_PUBLIC LINPHONECXX_DEPRECATED linphone::Status linphone::Conference::removeParticipant | ( | const std::shared_ptr< linphone::Call > & | call | ) |
call | call to remove |
LINPHONECXX_PUBLIC linphone::Status linphone::Conference::removeParticipant | ( | const std::shared_ptr< linphone::Participant > & | participant | ) |
participant | participant to remove |
LINPHONECXX_PUBLIC void linphone::Conference::setId | ( | const std::string & | conferenceId | ) |
Set the conference id as string.
conferenceId | the conference id to set. |
LINPHONECXX_PUBLIC void linphone::Conference::setSubject | ( | const std::string & | subject | ) |
Set the conference subject.
subject | conference subject |
LINPHONECXX_PUBLIC int linphone::Conference::terminate | ( | ) |
Terminates conference.
LINPHONECXX_PUBLIC int linphone::Conference::updateParams | ( | const std::shared_ptr< const linphone::ConferenceParams > & | params | ) |
Update parameters of the conference.
This is typically used enable or disable the video stream in the conference.
params | the new parameters to apply. |