summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy/server/channel.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/telepathy/server/channel.py b/telepathy/server/channel.py
index 17d2f56b..a197439f 100644
--- a/telepathy/server/channel.py
+++ b/telepathy/server/channel.py
@@ -339,7 +339,7 @@ class ChannelTypeStreamedMedia(Channel):
pass
@dbus.service.method(CHANNEL_TYPE_STREAMED_MEDIA, in_signature='uau',
- out_signature='au')
+ out_signature='a(uuuuuu)')
def RequestStreams(self, contact_handle, types):
"""
Request that streams be established to exchange the given types of
@@ -357,8 +357,15 @@ class ChannelTypeStreamedMedia(Channel):
types - an array of stream types (as defined in ListStreams)
Returns:
- an array of newly created stream identifiers (as defined in ListStreams)
- in the same order as the given stream types
+ an array of structs (in the same order as the given stream types)
+ containing:
+ the stream identifier
+ the contact handle who the stream is with (or 0 if the stream
+ represents more than a single member)
+ the type of the stream
+ the current stream state
+ the current direction of the stream
+ the current pending send flags
Possible Errors:
InvalidHandle, InvalidArgument (invalid stream type), NotAvailable (if