summaryrefslogtreecommitdiff
path: root/tests/check/rtp/conference.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/rtp/conference.c')
-rw-r--r--tests/check/rtp/conference.c29
1 files changed, 2 insertions, 27 deletions
diff --git a/tests/check/rtp/conference.c b/tests/check/rtp/conference.c
index f2bc9676..b49351e0 100644
--- a/tests/check/rtp/conference.c
+++ b/tests/check/rtp/conference.c
@@ -22,6 +22,8 @@
# include <config.h>
#endif
+#include <stdio.h>
+
#include <gst/check/gstcheck.h>
#include <farstream/fs-conference.h>
#include <farstream/fs-stream-transmitter.h>
@@ -248,11 +250,6 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
const gchar *error;
ts_fail_unless (
- gst_implements_interface_check (GST_MESSAGE_SRC (message),
- FS_TYPE_CONFERENCE),
- "Received farstream-error from non-farstream element");
-
- ts_fail_unless (
gst_structure_has_field_typed (s, "src-object", G_TYPE_OBJECT),
"farstream-error structure has no src-object field");
ts_fail_unless (
@@ -275,11 +272,6 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
const GValue *value;
ts_fail_unless (
- gst_implements_interface_check (GST_MESSAGE_SRC (message),
- FS_TYPE_CONFERENCE),
- "Received farstream-error from non-farstream element");
-
- ts_fail_unless (
gst_structure_has_field_typed (s, "stream", FS_TYPE_STREAM),
"farstream-new-local-candidate structure has no stream field");
ts_fail_unless (
@@ -305,11 +297,6 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
const GValue *value;
ts_fail_unless (
- gst_implements_interface_check (GST_MESSAGE_SRC (message),
- FS_TYPE_CONFERENCE),
- "Received farstream-error from non-farstream element");
-
- ts_fail_unless (
gst_structure_has_field_typed (s, "stream", FS_TYPE_STREAM),
"farstream-new-active-candidate-pair structure"
" has no stream field");
@@ -344,12 +331,6 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
const GValue *value;
ts_fail_unless (
- gst_implements_interface_check (GST_MESSAGE_SRC (message),
- FS_TYPE_CONFERENCE),
- "Received farstream-current-send-codec-change from non-farstream"
- " element");
-
- ts_fail_unless (
gst_structure_has_field_typed (s, "session", FS_TYPE_SESSION),
"farstream-current-send-codec-changed structure"
" has no session field");
@@ -376,12 +357,6 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
const GValue *value;
ts_fail_unless (
- gst_implements_interface_check (GST_MESSAGE_SRC (message),
- FS_TYPE_CONFERENCE),
- "Received farstream-local-candidates-prepared from non-farstream"
- " element");
-
- ts_fail_unless (
gst_structure_has_field_typed (s, "stream", FS_TYPE_STREAM),
"farstream-local-candidates-prepared structure"
" has no stream field");