From a0638ec983a8e8126f39a7e77856d3994555363f Mon Sep 17 00:00:00 2001 From: Taruntej Kanakamalla Date: Fri, 28 Jul 2023 18:39:38 +0530 Subject: net/webrtc: Extract BaseWebRTCSrc Define a Base for all the webrtcsrc type elements so they can all be derived from it. Similar to base element defined for webrtcsink type elements Part-of: --- docs/plugins/gst_plugins_cache.json | 219 +++++++++++++++++++----------------- 1 file changed, 117 insertions(+), 102 deletions(-) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 6cdfe0b27..bec111845 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -6440,6 +6440,7 @@ "description": "WebRTC src", "hierarchy": [ "GstWebRTCSrc", + "GstBaseWebRTCSrc", "GstBin", "GstElement", "GstObject", @@ -6466,108 +6467,7 @@ "type": "GstWebRTCSrcPad" } }, - "properties": { - "audio-codecs": { - "blurb": "Names of audio codecs to be be used during the SDP negotiation. Valid values: [OPUS]", - "conditionally-available": false, - "construct": false, - "construct-only": false, - "controllable": false, - "mutable": "ready", - "readable": true, - "type": "GstValueArray", - "writable": true - }, - "enable-data-channel-navigation": { - "blurb": "Enable navigation events through a dedicated WebRTCDataChannel", - "conditionally-available": false, - "construct": false, - "construct-only": false, - "controllable": false, - "default": "false", - "mutable": "ready", - "readable": true, - "type": "gboolean", - "writable": true - }, - "meta": { - "blurb": "Free form metadata about the consumer", - "conditionally-available": false, - "construct": false, - "construct-only": false, - "controllable": false, - "mutable": "ready", - "readable": true, - "type": "GstStructure", - "writable": true - }, - "signaller": { - "blurb": "The Signallable object to use to handle WebRTC Signalling", - "conditionally-available": false, - "construct": false, - "construct-only": true, - "controllable": false, - "mutable": "null", - "readable": true, - "type": "GstRSWebRTCSignallableIface", - "writable": true - }, - "stun-server": { - "blurb": "The STUN server of the form stun://host:port", - "conditionally-available": false, - "construct": false, - "construct-only": false, - "controllable": false, - "default": "stun://stun.l.google.com:19302", - "mutable": "ready", - "readable": true, - "type": "gchararray", - "writable": true - }, - "turn-servers": { - "blurb": "The TURN servers of the form <\"turn(s)://username:password@host:port\", \"turn(s)://username1:password1@host1:port1\">", - "conditionally-available": false, - "construct": false, - "construct-only": false, - "controllable": false, - "mutable": "ready", - "readable": true, - "type": "GstValueArray", - "writable": true - }, - "video-codecs": { - "blurb": "Names of video codecs to be be used during the SDP negotiation. Valid values: [VP8, H264, VP9, H265]", - "conditionally-available": false, - "construct": false, - "construct-only": false, - "controllable": false, - "mutable": "ready", - "readable": true, - "type": "GstValueArray", - "writable": true - } - }, - "rank": "primary", - "signals": { - "request-encoded-filter": { - "args": [ - { - "name": "arg0", - "type": "gchararray" - }, - { - "name": "arg1", - "type": "gchararray" - }, - { - "name": "arg2", - "type": "GstCaps" - } - ], - "return-type": "GstElement", - "when": "last" - } - } + "rank": "primary" }, "whipclientsink": { "author": "Taruntej Kanakamalla ", @@ -6890,6 +6790,121 @@ } } }, + "GstBaseWebRTCSrc": { + "hierarchy": [ + "GstBaseWebRTCSrc", + "GstBin", + "GstElement", + "GstObject", + "GInitiallyUnowned", + "GObject" + ], + "interfaces": [ + "GstChildProxy" + ], + "kind": "object", + "properties": { + "audio-codecs": { + "blurb": "Names of audio codecs to be be used during the SDP negotiation. Valid values: [OPUS]", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "mutable": "ready", + "readable": true, + "type": "GstValueArray", + "writable": true + }, + "enable-data-channel-navigation": { + "blurb": "Enable navigation events through a dedicated WebRTCDataChannel", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "false", + "mutable": "ready", + "readable": true, + "type": "gboolean", + "writable": true + }, + "meta": { + "blurb": "Free form metadata about the consumer", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "mutable": "ready", + "readable": true, + "type": "GstStructure", + "writable": true + }, + "signaller": { + "blurb": "The Signallable object to use to handle WebRTC Signalling", + "conditionally-available": false, + "construct": false, + "construct-only": true, + "controllable": false, + "mutable": "null", + "readable": true, + "type": "GstRSWebRTCSignallableIface", + "writable": true + }, + "stun-server": { + "blurb": "The STUN server of the form stun://host:port", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "stun://stun.l.google.com:19302", + "mutable": "ready", + "readable": true, + "type": "gchararray", + "writable": true + }, + "turn-servers": { + "blurb": "The TURN servers of the form <\"turn(s)://username:password@host:port\", \"turn(s)://username1:password1@host1:port1\">", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "mutable": "ready", + "readable": true, + "type": "GstValueArray", + "writable": true + }, + "video-codecs": { + "blurb": "Names of video codecs to be be used during the SDP negotiation. Valid values: [VP8, H264, VP9, H265]", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "mutable": "ready", + "readable": true, + "type": "GstValueArray", + "writable": true + } + }, + "signals": { + "request-encoded-filter": { + "args": [ + { + "name": "arg0", + "type": "gchararray" + }, + { + "name": "arg1", + "type": "gchararray" + }, + { + "name": "arg2", + "type": "GstCaps" + } + ], + "return-type": "GstElement", + "when": "last" + } + } + }, "GstRSWebRTCSignallableIface": { "hierarchy": [ "GstRSWebRTCSignallableIface", -- cgit v1.2.3