Top |
gchar * | cname | Read |
gchar * | incoming-srtp-key | Read / Write |
guint | jitter-buffer-latency | Read / Write |
gchar * | outgoing-srtp-key | Read / Write |
gboolean | rtcp-mux | Read / Write |
guint | send-ssrc | Read |
OwrMediaSession *
owr_media_session_new (gboolean dtls_client_mode
);
Constructs the OwrMediaSession object.
void owr_media_session_add_receive_payload (OwrMediaSession *media_session
,OwrPayload *payload
);
The function adds support for receiving the given payload type.
void owr_media_session_set_send_payload (OwrMediaSession *media_session
,OwrPayload *payload
);
Sets what payload that will be sent.
void owr_media_session_set_send_source (OwrMediaSession *media_session
,OwrMediaSource *source
);
Sets the source from which data will be sent.
struct OwrMediaSessionClass { OwrSessionClass parent_class; /* signals */ void (*on_new_stats)(OwrMediaSession *media_session, GHashTable *stats); void (*on_incoming_source)(OwrMediaSession *media_session, OwrRemoteMediaSource *source); };
The session class.
OwrSessionClass |
the GObject parent |
|
emitted when there's new stats |
||
emitted to notify of a new incoming source |
“cname”
property“cname” gchar *
The canonical name identifying this endpoint.
Flags: Read
Default value: NULL
“incoming-srtp-key”
property“incoming-srtp-key” gchar *
Key used to decrypt incoming SRTP packets (base64 encoded).
Flags: Read / Write
Default value: NULL
“jitter-buffer-latency”
property“jitter-buffer-latency” guint
The latency introduced by the jitter buffer for this session in ms.
Flags: Read / Write
Default value: 50
“outgoing-srtp-key”
property“outgoing-srtp-key” gchar *
Key used to encrypt outgoing SRTP packets (base64 encoded).
Flags: Read / Write
Default value: NULL
“rtcp-mux”
property“rtcp-mux” gboolean
Whether to use RTP/RTCP multiplexing or not. Once RTP/RTCP multiplexing has been enabled, it cannot be disabled again.
Flags: Read / Write
Default value: FALSE
“send-ssrc”
property“send-ssrc” guint
The ssrc used for the outgoing RTP media stream.
Flags: Read
Default value: 0
“on-incoming-source”
signalvoid user_function (OwrMediaSession *media_session, OwrRemoteMediaSource *source, gpointer user_data)
Notify of a new incoming source for a OwrMediaSession.
media_session |
the object which received the signal |
|
source |
the new incoming source. |
[transfer none] |
user_data |
user data set when the signal handler was connected. |
Flags: Cleanup
“on-new-stats”
signalvoid user_function (OwrMediaSession *media_session, GHashTable *stats, gpointer user_data)
Notify of new stats for a OwrMediaSession.
media_session |
the OwrMediaSession object which received the signal |
|
stats |
the stats GHashTable. |
[element-type utf8 GValue][transfer none] |
user_data |
user data set when the signal handler was connected. |
Flags: Cleanup