Methods
Signals
Properties
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.19.0. (draft 1)
Description
This object represents an endpoint for a stream. In a one-to-one
call, there will be one (bidirectional) stream per content and
one endpoint per stream (as there is only one remote
contact). In a multi-user call there is a stream for each remote
contact and each stream has one endpoint as it refers to the one
physical machine on the other end of the stream.
The multiple endpoint use case appears when SIP call forking
is used. Unlike jingle call forking (which is just making
multiple jingle calls to different resources appear as one
call), SIP call forking is actually done at the server so you
have one stream to the remote contact and then and endpoint for
each SIP client to be called.
Methods
(Permalink)
SetSelectedCandidate ((usua{sv}): Candidate) → nothing
(Permalink)
SetStreamState (u: State) → nothing
Possible Errors
- Invalid Argument
Raised when one of the provided arguments is invalid.
- Not Available
Raised when the requested functionality is temporarily unavailable.
Signals
(Permalink)
RemoteCredentialsSet (s: Username, s: Password)
Parameters
-
Username — s
The username set.
-
Password — s
The password set.
Emitted when the remote ICE credentials for the endpoint are
set. If each candidate has different credentials, then this
signal will never be fired.
(Permalink)
RemoteCandidatesAdded (a(usua{sv}): Candidates)
(Permalink)
CandidateSelected ((usua{sv}): Candidate)
Emitted when a candidate is selected for use in the stream.
Properties
(Permalink)
Read only
The ICE credentials used for all candidates. If each candidate
has different credentials, then this property SHOULD be ("",
""). Per-candidate credentials are set in the
Candidate's
Candidate_Info a{sv}.
(Permalink)
SelectedCandidate — (usua{sv})
(Candidate)
Read only
The candidate that has been selected for use to stream packets
to the remote contact. Change notification is given via the
the
CandidateSelected signal.
(Permalink)
Read only
The stream state of the endpoint.
(Permalink)
Read only
The transport type for the stream endpoint.