GStreamer WebRTC Wrapper/Architecture/GstWebRTCWrapperBin OWRSignaler: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
==== Methods ==== | ==== Methods ==== | ||
* ''' | * '''connect(GstBaseSignaler * parent)''': Connect to signaling server. | ||
* ''' | * '''disconnect(GstBaseSignaler * parent)''': Disconnect from signaling server. | ||
* ''' | * '''is_connect(GstBaseSignaler * parent)''': Check whether there is a connection to signaling server. | ||
* ''' | * '''send_local_description(GstBaseSignaler * parent, gchar * local_description, GstWebRTCSDPType type)''': Send the local description through signaling. | ||
* '''send_candidate(GstBaseSignaler * parent, const gchar * mid, gint sdp_mline_index, gchar * candidate)''': Send the candidate through signaling. | |||
* ''' | |||
==== Signals ==== | ==== Signals ==== | ||
Line 32: | Line 25: | ||
* ''signaler-notify'': Emitted when any notification needs to be sent to the bus. | * ''signaler-notify'': Emitted when any notification needs to be sent to the bus. | ||
* ''error-connection'': Emitted when the signaler has an error in one of the methods. | * ''error-connection'': Emitted when the signaler has an error in one of the methods. | ||
Revision as of 18:52, 24 January 2023
GStreamer WebRTC Wrapper |
---|
Introduction |
Architecture |
|
Evaluating GstWebRTCWrapper |
Getting the Code |
GStreamer Pipelines |
Other WebRTC RidgeRun products |
Contact Us |
OWRSignaler
GstOwrSignalerClass
This module handles the signaling mechanism to negotiate.
Methods
- connect(GstBaseSignaler * parent): Connect to signaling server.
- disconnect(GstBaseSignaler * parent): Disconnect from signaling server.
- is_connect(GstBaseSignaler * parent): Check whether there is a connection to signaling server.
- send_local_description(GstBaseSignaler * parent, gchar * local_description, GstWebRTCSDPType type): Send the local description through signaling.
- send_candidate(GstBaseSignaler * parent, const gchar * mid, gint sdp_mline_index, gchar * candidate): Send the candidate through signaling.
Signals
- connected: Emitted when a peer is connected to the same session.
- disconnected: Emitted when the peer is disconnected from the session.
- add-remote-description: Emitted when a description arrives.
- add-candidate: Emitted when a candidate arrives.
- signaler-notify: Emitted when any notification needs to be sent to the bus.
- error-connection: Emitted when the signaler has an error in one of the methods.