| Top |
TpCallStreamEndpointTpCallStreamEndpoint — class for TpSvcCallStreamEndpoint implementations |
| gboolean | controlling | Read |
| TpDBusDaemon * | dbus-daemon | Read / Write / Construct Only |
| GHashTable_guint+guint_* | endpoint-state | Read |
| gboolean | is-ice-lite | Read / Write / Construct Only |
| gchar * | object-path | Read / Write / Construct Only |
| GPtrArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue___* | remote-candidates | Read |
| GValueArray_gchararray+gchararray_* | remote-credentials | Read |
| GPtrArray_GValueArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue__+GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue____* | selected-candidate-pairs | Read |
| guint | transport | Read / Write / Construct Only |
| void | candidate-accepted | Run Last |
| void | candidate-rejected | Run Last |
| void | candidate-selected | Run Last |
TpCallStreamEndpoint implements TpSvcCallStreamEndpoint and TpSvcDBusProperties.
This class makes it easier to write TpSvcCallStreamEndpoint implementations by implementing its properties and methods.
TpCallStreamEndpoint * tp_call_stream_endpoint_new (TpDBusDaemon *dbus_daemon,const gchar *object_path,TpStreamTransportType transport,gboolean is_ice_lite);
Create a new TpCallStreamEndpoint object. It is registered on the bus at construction, and is unregistered at dispose.
dbus_daemon |
value of “dbus-daemon” property |
|
object_path |
value of “object-path” property |
|
transport |
value of “transport” property |
|
is_ice_lite |
value of “is_ice_lite” property |
Since: 0.17.5
const gchar *
tp_call_stream_endpoint_get_object_path
(TpCallStreamEndpoint *self);
Since: 0.17.5
TpStreamEndpointState tp_call_stream_endpoint_get_state (TpCallStreamEndpoint *self,TpStreamComponent component);
Since: 0.17.5
void tp_call_stream_endpoint_add_new_candidates (TpCallStreamEndpoint *self,const GPtrArray *candidates);
Add candidates
to the “remote-candidates” property.
See Also: tp_call_stream_endpoint_add_new_candidate().
Since: 0.17.5
void tp_call_stream_endpoint_add_new_candidate (TpCallStreamEndpoint *self,TpStreamComponent component,const gchar *address,guint port,const GHashTable *info_hash);
Add a candidate to the “remote-candidates” property.
See Also: tp_call_stream_endpoint_add_new_candidates().
self |
||
component |
||
address |
an IP address |
|
port |
a port number |
|
info_hash |
string -> GValue mapping for extra info |
Since: 0.17.5
void tp_call_stream_endpoint_set_remote_credentials (TpCallStreamEndpoint *self,const gchar *username,const gchar *password);
Set the username and password to use for self
's crendentials.
Since: 0.17.5
struct TpCallStreamEndpoint;
A class for call stream endpoint implementations
Since: 0.17.5
struct TpCallStreamEndpointClass {
};
The class structure for TpCallStreamEndpoint
Since: 0.17.5
“controlling” property “controlling” gboolean
Whether or not the local side is taking the controlling role.
Owner: TpCallStreamEndpoint
Flags: Read
Default value: FALSE
Since: 0.17.5
“dbus-daemon” property“dbus-daemon” TpDBusDaemon *
The connection to the DBus daemon owning the CM.
Owner: TpCallStreamEndpoint
Flags: Read / Write / Construct Only
Since: 0.17.5
“endpoint-state” property “endpoint-state” GHashTable_guint+guint_*
GHashTable{TpStreamComponent -> TpStreamEndpointState} The state of this endpoint.
Owner: TpCallStreamEndpoint
Flags: Read
Since: 0.17.5
“is-ice-lite” property “is-ice-lite” gboolean
Whether or not the Remote side is an ICE Lite endpoint.
Owner: TpCallStreamEndpoint
Flags: Read / Write / Construct Only
Default value: FALSE
Since: 0.17.5
“object-path” property “object-path” gchar *
The D-Bus object path used for this object on the bus.
Owner: TpCallStreamEndpoint
Flags: Read / Write / Construct Only
Default value: NULL
Since: 0.17.5
“remote-candidates” property “remote-candidates” GPtrArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue___*
GPtrArray{candidate GValueArray} The remote candidates of this endpoint.
Owner: TpCallStreamEndpoint
Flags: Read
Since: 0.17.5
“remote-credentials” property “remote-credentials” GValueArray_gchararray+gchararray_*
GValueArray{username string, password string} The remote credentials of this endpoint.
Owner: TpCallStreamEndpoint
Flags: Read
Since: 0.17.5
“selected-candidate-pairs” property “selected-candidate-pairs” GPtrArray_GValueArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue__+GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue____*
GPtrArray{local-candidate GValueArray, remote-candidate GValueArray} The candidate pairs selected for this endpoint.
Owner: TpCallStreamEndpoint
Flags: Read
Since: 0.17.5
“transport” property “transport” guint
The TpStreamTransportType for the content of this endpoint.
Owner: TpCallStreamEndpoint
Flags: Read / Write / Construct Only
Default value: 0
Since: 0.17.5
“candidate-accepted” signalvoid user_function (TpCallStreamEndpoint *self, gpointer user_data)
The ::candidate-accepted signal is emitted whenever AcceptSelectedCandidatePair DBus method has been called on this object.
self |
||
local_candidate |
the local candidate |
|
remote_candidate |
the remote candidate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.17.5
“candidate-rejected” signalvoid user_function (TpCallStreamEndpoint *self, gpointer user_data)
The ::candidate-rejected signal is emitted whenever RejectSelectedCandidatePair DBus method has been called on this object.
self |
||
local_candidate |
the local candidate |
|
remote_candidate |
the remote candidate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.17.5
“candidate-selected” signalvoid user_function (TpCallStreamEndpoint *self, gpointer user_data)
The ::candidate-selected signal is emitted whenever SetSelectedCandidatePair DBus method has been called on this object.
self |
||
local_candidate |
the local candidate |
|
remote_candidate |
the remote candidate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.17.5