]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-call-utils.h
call-utils: use TpAccountChannelRequest higher level API
[empathy.git] / libempathy-gtk / empathy-call-utils.h
index 8361031002ac3b5df5d3195daae582601bb48b9a..e35c7e3f6305d472fd05812ae40a6b626fc95deb 100644 (file)
 #ifndef __EMPATHY_CALL_UTILS_H__
 #define __EMPATHY_CALL_UTILS_H__
 
-#include <gst/gst.h>
+#include <telepathy-glib/telepathy-glib.h>
 
 G_BEGIN_DECLS
 
 /* Calls */
 void empathy_call_new_with_streams (const gchar *contact,
     TpAccount *account,
-    gboolean initial_audio,
     gboolean initial_video,
     gint64 timestamp);
 
-GHashTable * empathy_call_create_call_request (const gchar *contact,
-    gboolean initial_audio,
-    gboolean initial_video);
+TpAccountChannelRequest * empathy_call_create_call_request (TpAccount *account,
+    const gchar *contact,
+    gboolean initial_video,
+    gint64 timestamp);
 
-GHashTable * empathy_call_create_streamed_media_request (const gchar *contact,
-    gboolean initial_audio,
-    gboolean initial_video);
+TpSendingState empathy_call_channel_get_video_state (TpCallChannel *self);
+void empathy_call_channel_send_video (TpCallChannel *self,
+    gboolean send);
 
-void empathy_call_set_stream_properties (GstElement *element,
-    gboolean echo_cancellation);
 
 G_END_DECLS