GStreamer WebRTC Wrapper/Architecture/GstWebRTCWrapperBin PubnubSignaler: Difference between revisions

From RidgeRun Developer Wiki
 
mNo edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{GStreamer WebRTC Wrapper/Head|next=Architecture/GstWebRTCWrapperBin_BaseIceServers|previous=Architecture/GstWebRTCWrapperBin_BaseSignaler|metakeywords=}}
{{GStreamer WebRTC Wrapper/Head|next=Architecture/GstWebRTCWrapperBin_BaseIceServers|previous=Architecture/GstWebRTCWrapperBin_BaseSignaler}}
</noinclude>
</noinclude>



Latest revision as of 18:27, 29 November 2024


Previous: Architecture/GstWebRTCWrapperBin_BaseSignaler Index Next: Architecture/GstWebRTCWrapperBin_BaseIceServers




PubnubSignaler

The module to handle the PubNub resources for messaging. This class is based on GstBaseSignaler class.

Properties

  • peer-channel: The peer channel to call.
  • user-channel: The user channel identification.
  • publish-key: Authentication Key to publish message on PubNub.
  • subscribe-key: Authentication Key to subscribe message from PubNub.
  • pubnub-server: PubNub Server URL

Methods

  • init(): Initial configuration for BaseSignalerClass.
  • open_connection(): open the signaling connection.
  • send_local_description(): Send the local description through signaling.
  • send_candidate(): Send the candidate through signaling.
  • send_custom_message(): Send a custom message through signaling.
  • close_connection(): close the signaling connection.

Signals

  • on-add-candidate: Emitted after receiving a candidate.
  • on-add-remote-description: Emitted after receiving the remote description
  • on-close-connection: Emitted after receiving close message.
  • on-error-connection: Emitted after receiving an error message.


Previous: Architecture/GstWebRTCWrapperBin_BaseSignaler Index Next: Architecture/GstWebRTCWrapperBin_BaseIceServers