Summary: | Need to clarify which codecs changed when a new CodecOffer comes in | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Sjoerd Simons <sjoerd> |
Component: | tp-spec | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/jonny/telepathy-spec.git;a=shortlog;h=refs/heads/codec-offers | ||
Whiteboard: | Call | ||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 29590 | ||
Attachments: |
Put only one Contact per CodecOffer
fix your branch |
Description
Sjoerd Simons
2010-06-23 07:45:35 UTC
Created attachment 37904 [details] [review] Put only one Contact per CodecOffer Giving all the codecs of all the users is a bad idea. It can not happen atomically. The current spec is not implementable as-is. One CodecOffer should contain codecs from only one contact. Either we keep on having one codec offer at a time and the CM decides the order. Or we can can replace the CodecOffer property with "CodecOffers" and have an array of offers. Another option is to define the API as the following: they will all be applied in order, if one fail, then rest will on be tried (and then we need to say which one was rejected in the Reject() call) But it seems easier to accept/reject them one at a time. Sjoerd and ÔlÎvÎÊr say ja oui yes to this. Splendid. In reality they will only come one at a time (in muji). Okay, good. See my branch. I don't think there is much of a point of having a mapping to multiple codec offers, if we say they come one by one they should just come out of the interface one by one (the CM can just queue them) (In reply to comment #5) > I don't think there is much of a point of having a mapping to multiple codec > offers, if we say they come one by one they should just come out of the > interface one by one (the CM can just queue them) So are you happy with my branch without the most recent commit, 80a88995ea? Created attachment 39938 [details] [review] fix your branch here is a patch against your branch that does the right thing I believe. Combined jonny's top patch and oliviers patch, with some extra goodness of my own and merged it to master, thanks guys! |
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.