Interface org.freedesktop.Telepathy.Call.Stream.DRAFT

Interface Index (Compact) | Summary | Description | Methods | Signals | Properties | Types

Methods

SetSending (b: Send) nothing
RequestReceiving (u: Contact, b: Receive) nothing

Signals

SendersChanged (a{uu}: Updates, au: Removed)

Properties

Senders a{uu} (Contact_Sending_State_Map) Read only

Types

Sending_State Enum u
Contact_Sending_State_Map Mapping a{uu}
WARNING: This interface is experimental and is likely to cause havoc to your API/ABI if bindings are generated. Do not include this interface in libraries that care about compatibility.
Added in 0.17.UNRELEASED. (as a draft)

Description

One stream inside a content FIXME, direction should be a mapping of contact -> (bool)sending ?

Methods

(Permalink)

SetSending (b: Send) → nothing

Parameters

  • Send — b
  • If true, the local user's sending state should change to Sending, if it isn't already.

    If false, the local user's sending state should change to None, if it isn't already.


Possible Errors

(Permalink)

RequestReceiving (u: Contact, b: Receive) → nothing

Parameters

  • Contact — u (Contact_Handle)
  • Contact from which sending is requested

  • Receive — b
  • If true, request that the given contact starts to send media. If false, request that the given contact stops sending media.

Request that a remote contact stops or starts sending on this stream.

Possible Errors

Signals

(Permalink)

SendersChanged (a{uu}: Updates, au: Removed)

Parameters

  • Updates — a{uu} (Contact_Sending_State_Map)
  • A mapping from channel-specific handles to their updated sending state, whose keys include at least the senders who were added, and the senders whose states changed.
  • Removed — au (Contact_Handle_List)
  • The channel-specific handles that were removed from the keys of the Senders property, as a result of the contact leaving this stream
Emitted when Senders changes.

Properties

Accessed using the org.freedesktop.DBus.Properties interface.
(Permalink)

Senders — a{uu} (Contact_Sending_State_Map)

Read only

A map from contacts to their sending state.

The local user's handle in this map (the Group.SelfHandle if the channel implements Group, or the Connection.SelfHandle otherwise) indicates whether the local user is sending media. Media sent on this stream should be assumed to be received, directly or indirectly, by every other contact in the Senders mapping. Sending_State_Pending_Send indicates that another contact has asked the local user to send media.

Other contacts' handles in this map indicate whether they are sending media to the contacts in this stream. Sending_State_Pending_Send indicates contacts who are not sending but have been asked to do so.

Types

Enum (Permalink)

Sending_State — u

Tristate indicating whether a contact is sending media.
  • None (0)
  • The contact is not sending media and has not been asked to do so.
  • Pending_Send (1)
  • The contact has been asked to start sending media.
  • Sending (2)
  • The contact is sending media.
Mapping (Permalink)

Contact_Sending_State_Map — a{uu}

A map from contacts to their sending state.