Bug 20842

Summary: comply with telepathy-spec 0.17.22 regarding stream directions
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: rakiaAssignee: Mikhail Zabaluev <mikhail.zabaluev>
Status: RESOLVED WORKSFORME QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2009-03-24 12:12:14 UTC
As a result of Bug #20772 the implicit direction and state of new StreamedMedia streams has been clarified in a possibly incompatible way: CMs need to emit extra signals whenever a stream is added with state != Disconnected, direction != Receive or pending-send != Pending_Local_Send.

In tpsip's case, I believe this means that StreamDirectionChanged must be emitted once per stream that is added by the local user, signalling the true direction.
Comment 1 Mikhail Zabaluev 2009-04-08 02:43:42 UTC
I assume the description provides up-to-date guidelines on fixing the bug.
Comment 2 Mikhail Zabaluev 2009-04-08 02:57:47 UTC
Since commit 4b488097dbef43700a6331197568eb136acf51f6 made almost a year ago, Telepathy-SofiaSIP always emits StreamDirectionChanged with current direction and pending send flags, just after it has emitted StreamAdded.
Reopen the bug if this behavior found to be lacking or incorrect.
Comment 3 Simon McVittie 2009-04-08 05:03:35 UTC
That sounds fine, thanks.

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.