summaryrefslogtreecommitdiff
path: root/rakia/media-session.h
diff options
context:
space:
mode:
Diffstat (limited to 'rakia/media-session.h')
-rw-r--r--rakia/media-session.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/rakia/media-session.h b/rakia/media-session.h
index 030887f..6fc52a1 100644
--- a/rakia/media-session.h
+++ b/rakia/media-session.h
@@ -113,13 +113,12 @@ TpLocalHoldState rakia_media_session_get_hold_state (RakiaMediaSession *session)
void rakia_media_session_request_hold (RakiaMediaSession *session,
gboolean hold);
-gboolean rakia_media_session_start_telephony_event (RakiaMediaSession *self,
- guint stream_id,
- guchar event,
- GError **error);
-gboolean rakia_media_session_stop_telephony_event (RakiaMediaSession *self,
- guint stream_id,
- GError **error);
+gboolean rakia_media_session_has_media (RakiaMediaSession *self,
+ TpMediaStreamType type);
+
+void rakia_media_session_start_telephony_event (RakiaMediaSession *self,
+ guchar event);
+void rakia_media_session_stop_telephony_event (RakiaMediaSession *self);
gint rakia_media_session_rate_native_transport (RakiaMediaSession *session,
const GValue *transport);
@@ -129,4 +128,6 @@ gboolean rakia_sdp_rtcp_bandwidth_throttled (const sdp_bandwidth_t *b);
gchar * rakia_sdp_get_string_attribute (const sdp_attribute_t *attrs,
const char *name);
+G_END_DECLS
+
#endif /* #ifndef __RAKIA_MEDIA_SESSION_H__*/