Bug 25998 - ImmutableStreams is unsufficient, also need "AlwaysSend"
Summary: ImmutableStreams is unsufficient, also need "AlwaysSend"
Status: RESOLVED INVALID
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: 0.8
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 18:29 UTC by Olivier Crête
Modified: 2010-01-13 07:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Olivier Crête 2010-01-11 18:29:45 UTC
After doing some testing. It seems that with Google Video calls, if one does not start sending video soon enough, enabling the video later may break things. But, with the new WLM calls, it is possible to disable/enable the camera during a call (it does proper SIP negotiation for that). So we have two different cases of ImmutableStreams, I propose adding a "AlwaysSend" to Gabble for Google Video calls. That also means the CM will start sending from the start if that property is set. Changing the recv part is still possible (ie drop incoming buffers to reduce processing).. although we can't do too much of that so as to not lose keyframes.. We could also call it "ImmutableDirection" or something.
Comment 1 Olivier Crête 2010-01-11 18:33:06 UTC
arg, I may be wrong here, let me investigate further first...
Comment 2 Olivier Crête 2010-01-11 19:40:35 UTC
Alright, I found the problem causing this, so I guess we dont need this workaround.. 
Comment 3 Simon McVittie 2010-01-12 03:27:38 UTC
Even if we don't need this for Gabble, if I remember correctly Mikhail wanted ImmutableDirection (or to make ImmutableStreams imply immutable directions) to be settable via a CM parameter for telepathy-sofiasip, to cope with certain deficient SIP servers.

(There is currently an immutable-streams CM parameter which sets ImmutableStreams on every StreamedMedia channel, and can be configured by the user or pre-set from a Maemo .profile file; ImmutableDirection would presumably be similar.)

Mikhail: comments?
Comment 4 Mikhail Zabaluev 2010-01-13 07:29:21 UTC
Yes, it seems useful to have a way to tell the client not to change the direction even if it would do normally, and resort to other means of reducing resource usage. For example, when the video call application was made invisible on the desktop, running the full video playback stack is wasteful (think of mobile devices here), and sending captured video may even be considered a privacy issue. If directionality can't be renegotiated, the client/stream engine should know to stop running the full pipelines, switching to sending trickle packets.

I can't tell if there are many real-world cases for ImmutableStreams and ImmutableDirection to be separate flags, but it's possible.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.