Commit 9178c1a5 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add a method to set the address of a participant.

parent f44d76f3
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment