summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-07-19 16:10:44 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-09-09 08:59:17 (GMT)
commit984db4687c50d633806c2ab486f828d8f93e7a74 (patch)
tree75353b5fa0d3c633a1d791935ea62ea9cff2244e
parent79c74fa679df92afaf339c787a2bdbb8447edf38 (diff)
downloadtelepathy-stream-engine-984db4687c50d633806c2ab486f828d8f93e7a74.tar.gz
telepathy-stream-engine-984db4687c50d633806c2ab486f828d8f93e7a74.tar.xz
Use maemo specify ToS field values
-rw-r--r--src/tp-stream-engine.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tp-stream-engine.c b/src/tp-stream-engine.c
index bc0054c..0cc946e 100644
--- a/src/tp-stream-engine.c
+++ b/src/tp-stream-engine.c
@@ -884,7 +884,9 @@ channel_stream_created (TfChannel *chan G_GNUC_UNUSED,
TpStreamEngineAudioStream *audiostream;
GstElement *src;
- g_object_set (stream, "tos", TC_PRIO_INTERACTIVE, NULL);
+ /* The value IPTOS_PREC_NETCONTROL (which is 0xE0)
+ * is from bug NB#175648 */
+ g_object_set (stream, "tos", IPTOS_PREC_NETCONTROL, NULL);
audiostream = tp_stream_engine_audio_stream_new (stream,
GST_BIN (self->priv->pipeline), &error);
@@ -918,7 +920,9 @@ channel_stream_created (TfChannel *chan G_GNUC_UNUSED,
TpStreamEngineVideoStream *videostream = NULL;
GstPad *pad;
- g_object_set (stream, "tos", TC_PRIO_INTERACTIVE_BULK, NULL);
+ /* The value IPTOS_PREC_CRITIC_ECP (which is 0xA0)
+ * is from bug NB#175648 */
+ g_object_set (stream, "tos", IPTOS_PREC_CRITIC_ECP, NULL);
pad = gst_element_get_request_pad (self->priv->videotee, "src%d");