summaryrefslogtreecommitdiff
path: root/src/media-stream.c
diff options
context:
space:
mode:
authorJack Bates <ms419@freezone.co.uk>2010-06-07 07:46:09 -0700
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-30 16:15:29 +0100
commitbd624d81364756f3d2f570ef7e28b32695ba2927 (patch)
treee4efc3f036a48481540a2eb75f24985e233f250b /src/media-stream.c
parent21617117c85c82a099f90403c2efaa08ed4bbe74 (diff)
Implement TP_IFACE_CHANNEL_INTERFACE_DTMF
This means the Empathy dialpad can be used when calling Asterisk with Jingle. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=28413
Diffstat (limited to 'src/media-stream.c')
-rw-r--r--src/media-stream.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/media-stream.c b/src/media-stream.c
index ae1e91807..070e41c43 100644
--- a/src/media-stream.c
+++ b/src/media-stream.c
@@ -1844,3 +1844,21 @@ gabble_media_stream_get_content (GabbleMediaStream *self)
*/
return GABBLE_JINGLE_MEDIA_RTP (self->priv->content);
}
+
+void
+gabble_media_stream_start_telephony_event (GabbleMediaStream *self, guchar event)
+{
+ DEBUG ("called");
+
+ tp_svc_media_stream_handler_emit_start_telephony_event (
+ (TpSvcMediaStreamHandler *)self, event);
+}
+
+void
+gabble_media_stream_stop_telephony_event (GabbleMediaStream *self)
+{
+ DEBUG ("called");
+
+ tp_svc_media_stream_handler_emit_stop_telephony_event (
+ (TpSvcMediaStreamHandler *)self);
+}