1#if !defined(RemoteParticipantDialogSet_hxx)
2#define RemoteParticipantDialogSet_hxx
19class DialogUsageManager;
25class ConversationManager;
26class RemoteParticipant;
51 virtual std::shared_ptr<resip::SdpContents>
getProposedSdp() {
return mProposedSdp; }
86 std::map<resip::DialogId, RemoteParticipant*>
mDialogs;
92 std::list<ConversationHandle> mUACOriginalConversationHandles;
93 unsigned int mNumDialogs;
95 std::shared_ptr<ConversationProfile> mConversationProfile;
99 std::shared_ptr<resip::SipMessage> mPendingInvite;
100 void doSendInvite(std::shared_ptr<resip::SipMessage>
invite);
101 class PendingOfferAnswer
104 PendingOfferAnswer() {}
106 std::unique_ptr<resip::SdpContents> mSdp;
108 bool mPostOfferAnswerAccept;
109 bool mPostAnswerAlert;
111 PendingOfferAnswer mPendingOfferAnswer;
113 std::shared_ptr<resip::SdpContents> mProposedSdp;
117 bool mSecureMediaRequired;
This class is one of two main classes of concern to an application using the UserAgent library.
ParticipantForkSelectMode
This class is used by Invite DialogSets.
virtual bool isUACConnected()
virtual void endIncludeRelated(ParticipantHandle requestingParticipant)
virtual std::shared_ptr< resip::UserProfile > selectUASUserProfile(const resip::SipMessage &)
virtual std::shared_ptr< resip::SdpContents > getProposedSdp()
ParticipantHandle mActiveRemoteParticipantHandle
virtual void removeDialog(const resip::DialogId &dialogId)
std::shared_ptr< ConversationProfile > getConversationProfile()
void provideOffer(std::unique_ptr< resip::SdpContents > offer, resip::InviteSessionHandle &inviteSessionHandle, bool postOfferAccept)
virtual void setActiveRemoteParticipantHandle(ParticipantHandle handle)
bool getSecureMediaRequired()
virtual ~RemoteParticipantDialogSet()
virtual void processMediaStreamErrorEvent(unsigned int errorCode)
virtual void setProposedSdp(ParticipantHandle handle, const resip::SdpContents &sdp)
virtual resip::AppDialog * createAppDialog(const resip::SipMessage &msg)
ConversationManager & mConversationManager
ConversationProfile::SecureMediaMode getSecureMediaMode()
virtual bool isAsyncMediaSetup()=0
virtual void onNonDialogCreatingProvisional(resip::AppDialogSetHandle, const resip::SipMessage &msg)
virtual void onTrying(resip::AppDialogSetHandle, const resip::SipMessage &msg)
virtual RemoteParticipant * createUACOriginalRemoteParticipant(ParticipantHandle handle)
virtual void fixUpSdp(resip::SdpContents *sdp)=0
virtual ParticipantHandle getActiveRemoteParticipantHandle()
void sendInvite(std::shared_ptr< resip::SipMessage > invite)
void accept(resip::InviteSessionHandle &inviteSessionHandle)
virtual bool isStaleFork(const resip::DialogId &dialogId)
std::map< resip::DialogId, RemoteParticipant * > mDialogs
RemoteParticipant * getUACOriginalRemoteParticipant()
void setSecureMediaRequired(bool r)
void setSecureMediaMode(ConversationProfile::SecureMediaMode m)
virtual void setUACConnected(const resip::DialogId &dialogId, ParticipantHandle partHandle)
void provideAnswer(std::unique_ptr< resip::SdpContents > answer, resip::InviteSessionHandle &inviteSessionHandle, bool postAnswerAccept, bool postAnswerAlert)
virtual void processMediaStreamReadyEvent(std::shared_ptr< MediaStreamReadyEvent::StreamParams > streamParams)
virtual ConversationManager::ParticipantForkSelectMode getForkSelectMode()
This class represent a remote participant.
Provides an interface to process and generate SDP bodies (MIME content-type application/sdp).
Represents a SIP message.
unsigned int ParticipantHandle
dcm! – add UnusedChecking(_enum) below;