GStreamer WebRTC Wrapper - Architecture - GstWebRTCWrapperBin PubnubSignaler

From RidgeRun Developer Connection
Jump to: navigation, search




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