mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-04 12:29:27 +00:00
Add a method to set the address of a participant.
This commit is contained in:
parent
f44d76f302
commit
9178c1a57a
2 changed files with 2 additions and 5 deletions
|
|
@ -39,7 +39,8 @@ public:
|
|||
virtual ~ParticipantPrivate () = default;
|
||||
|
||||
std::shared_ptr<CallSession> createSession (const Conference &conference, const CallSessionParams *params, bool hasMedia, CallSessionListener *listener);
|
||||
std::shared_ptr<CallSession> getSession () const;
|
||||
std::shared_ptr<CallSession> getSession () const { return session; }
|
||||
void setAddress (const Address &newAddr) { addr = newAddr; }
|
||||
|
||||
private:
|
||||
Address addr;
|
||||
|
|
|
|||
|
|
@ -38,10 +38,6 @@ shared_ptr<CallSession> ParticipantPrivate::createSession (const Conference &con
|
|||
return session;
|
||||
}
|
||||
|
||||
shared_ptr<CallSession> ParticipantPrivate::getSession () const {
|
||||
return session;
|
||||
}
|
||||
|
||||
// =============================================================================
|
||||
|
||||
Participant::Participant (const Address &addr) : Object(*new ParticipantPrivate) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue