diff options
Diffstat (limited to 'gst/rtpmanager/rtpsession.h')
-rw-r--r-- | gst/rtpmanager/rtpsession.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsession.h b/gst/rtpmanager/rtpsession.h index 59703300..e14e2da3 100644 --- a/gst/rtpmanager/rtpsession.h +++ b/gst/rtpmanager/rtpsession.h @@ -140,6 +140,20 @@ typedef struct { } RTPSessionCallbacks; /** + * RTPConflictingAddress: + * @address: #GstNetAddress which conflicted + * @last_conflict_time: time when the last conflict was seen + * + * This structure is used to account for addresses that have conflicted to find + * loops. + */ + +typedef struct { + GstNetAddress address; + GstClockTime time; +} RTPConflictingAddress; + +/** * RTPSession: * @lock: lock to protect the session * @source: the source of this session @@ -149,6 +163,8 @@ typedef struct { * @activecount: the number of active sources * @callbacks: callbacks * @user_data: user data passed in callbacks + * @stats: session statistics + * @conflicting_addresses: GList of conflicting addresses * * The RTP session manager object */ @@ -187,6 +203,9 @@ struct _RTPSession { RTPSessionStats stats; + GList *conflicting_addresses; + gboolean change_ssrc; + /* for mapping clock time to NTP time */ GstClockTime base_time; }; |