38#define RESIPROCATE_SUBSYSTEM ReconSubsystem::RECON
43 std::shared_ptr<ConversationProfile> conversationProfile) :
45 mGstMediaStackAdapter(gstreamerMediaStackAdapter),
47 mAllocateLocalRTPPortFailed(false),
48 mPeerExpectsSAVPF(false),
50 mMediaConnectionId(0),
51 mConnectionPortOnBridge(-1)
54 InfoLog(<<
"GstRemoteParticipantDialogSet created.");
67 InfoLog( <<
"processMediaStreamReadyEvent: streamParams: " << *
params);
68 mRtpTuple =
params->getRtpTuple();
69 mRtcpTuple =
params->getRtcpTuple();
75GstRemoteParticipantDialogSet::onMediaStreamReady(
const StunTuple& rtpTuple,
const StunTuple& rtcpTuple)
83GstRemoteParticipantDialogSet::onMediaStreamError(
unsigned int errorCode)
115 if(mConnectionPortOnBridge==-1)
119 return mConnectionPortOnBridge;
177 if (mMediaConnectionId > 0)
#define WarningLog(args_)
This class is one of two main classes of concern to an application using the UserAgent library.
ParticipantForkSelectMode
virtual resip::AppDialog * createAppDialog(const resip::SipMessage &msg)
void setRemoteSDPFingerprint(const resip::Data &hashFunction, const resip::Data &fingerprint)
virtual void fixUpSdp(resip::SdpContents *sdp)
virtual void setActiveRemoteParticipantHandle(ParticipantHandle handle)
virtual bool isAsyncMediaSetup()
GstRemoteParticipantDialogSet(ConversationManager &conversationManager, GstMediaStackAdapter &gstreamerMediaStackAdapter, ConversationManager::ParticipantForkSelectMode forkSelectMode=ConversationManager::ForkSelectAutomatic, std::shared_ptr< ConversationProfile > conversationProfile=nullptr)
void setActiveDestination(const char *address, unsigned short rtpPort, unsigned short rtcpPort)
virtual void processMediaStreamReadyEvent(std::shared_ptr< MediaStreamReadyEvent::StreamParams > streamParams)
bool createSRTPSession(resip::MediaConstants::SrtpCryptoSuite cryptoSuite, const char *remoteKey, size_t remoteKeyLen)
virtual void freeMediaResources()
virtual ~GstRemoteParticipantDialogSet()
void startDtlsClient(const char *address, unsigned short rtpPort, unsigned short rtcpPort)
virtual int getConnectionPortOnBridge()
This class is used by Invite DialogSets.
ParticipantHandle mActiveRemoteParticipantHandle
virtual void setActiveRemoteParticipantHandle(ParticipantHandle handle)
virtual resip::AppDialog * createAppDialog(const resip::SipMessage &msg)
ConversationManager & mConversationManager
virtual ParticipantHandle getActiveRemoteParticipantHandle()
virtual void processMediaStreamReadyEvent(std::shared_ptr< MediaStreamReadyEvent::StreamParams > streamParams)
DialogUsageManager & mDum
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
const Data & user() const
returns the user string for the session
const Origin & origin() const
return session Origin line
Provides an interface to process and generate SDP bodies (MIME content-type application/sdp).
Session & session()
get the parsed SDP
Represents a SIP message.
void post(Message *msg)
Posts a Message to this TransactionUser's fifo.
unsigned int ParticipantHandle
dcm! – add UnusedChecking(_enum) below;