summaryrefslogtreecommitdiff
path: root/telepathy-farstream/call-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-farstream/call-stream.c')
-rw-r--r--telepathy-farstream/call-stream.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/telepathy-farstream/call-stream.c b/telepathy-farstream/call-stream.c
index 654a9da..5ca5b3d 100644
--- a/telepathy-farstream/call-stream.c
+++ b/telepathy-farstream/call-stream.c
@@ -973,6 +973,22 @@ got_stream_media_properties (TpProxy *proxy, GHashTable *out_Properties,
goto invalid_property;
}
+ self->sending_state = tp_asv_get_uint32 (out_Properties, "SendingState",
+ &valid);
+ if (!valid)
+ {
+ g_warning ("No valid sending state");
+ goto invalid_property;
+ }
+
+ self->receiving_state = tp_asv_get_uint32 (out_Properties,
+ "ReceivingState", &valid);
+ if (!valid)
+ {
+ g_warning ("No valid receiving state");
+ goto invalid_property;
+ }
+
/* FIXME: controlling is on the endpoint
self->controlling = tp_asv_get_boolean (out_Properties,
"Controlling", &valid);