From be47b4bd6493eae5b216b35984701b57cb7f2645 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Tue, 7 Dec 2021 12:22:54 +0900 Subject: [PATCH] [webrtc] Add 'source element properties' item Comma separated list of 'property-name=value' will be set to the source element. e.g.) source element properties = prop1=value1,prop2=value2 [Version] 0.3.32 [Issue Type] Add Change-Id: I484b677e031c63de2ab33eb02197db91b7b16df2 Signed-off-by: Sangchul Lee --- .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ .../hal/etc/multimedia/mmfw_webrtc.ini | 10 ++++++++++ packaging/media-config.spec | 2 +- 11 files changed, 101 insertions(+), 1 deletion(-) diff --git a/media-config-simulator/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-simulator/hal/etc/multimedia/mmfw_webrtc.ini index 9d8d19e..b5a04ff 100644 --- a/media-config-simulator/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-simulator/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = videotestsrc [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-artik10/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-artik10/hal/etc/multimedia/mmfw_webrtc.ini index d948333..a7f43f5 100644 --- a/media-config-target-artik10/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-artik10/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-c4/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-c4/hal/etc/multimedia/mmfw_webrtc.ini index 3eaf0eb..99dba86 100644 --- a/media-config-target-c4/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-c4/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-qrb2210/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-qrb2210/hal/etc/multimedia/mmfw_webrtc.ini index 3eaf0eb..99dba86 100644 --- a/media-config-target-qrb2210/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-qrb2210/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-rb5/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-rb5/hal/etc/multimedia/mmfw_webrtc.ini index 3eaf0eb..99dba86 100644 --- a/media-config-target-rb5/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-rb5/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-rpi3-spk/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-rpi3-spk/hal/etc/multimedia/mmfw_webrtc.ini index 3eaf0eb..99dba86 100644 --- a/media-config-target-rpi3-spk/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-rpi3-spk/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-rpi3/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-rpi3/hal/etc/multimedia/mmfw_webrtc.ini index 3eaf0eb..99dba86 100644 --- a/media-config-target-rpi3/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-rpi3/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-tm1/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-tm1/hal/etc/multimedia/mmfw_webrtc.ini index 63121ba..bb95688 100644 --- a/media-config-target-tm1/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-tm1/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = camerasrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above video raw format = SN12 video width = 640 @@ -76,6 +80,8 @@ video hw encoder element = sprdenc_h264 [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-tw3/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-tw3/hal/etc/multimedia/mmfw_webrtc.ini index 9d8d19e..b5a04ff 100644 --- a/media-config-target-tw3/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-tw3/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = videotestsrc [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/media-config-target-vim3/hal/etc/multimedia/mmfw_webrtc.ini b/media-config-target-vim3/hal/etc/multimedia/mmfw_webrtc.ini index 3eaf0eb..99dba86 100644 --- a/media-config-target-vim3/hal/etc/multimedia/mmfw_webrtc.ini +++ b/media-config-target-vim3/hal/etc/multimedia/mmfw_webrtc.ini @@ -50,6 +50,8 @@ use ulpfec red = yes [source videotest] source element = videotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1,pattern=18 ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -63,6 +65,8 @@ video drc support = yes [source camera] source element = v4l2src +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -76,6 +80,8 @@ source element = v4l2src [source screen] source element = waylandsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;video raw format = ;video width = @@ -89,6 +95,8 @@ source element = waylandsrc [source audiotest] source element = audiotestsrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = is-live=1 ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = @@ -100,6 +108,8 @@ use ulpfec red = no [source mic] source element = pulsesrc +; comma separated list of 'property-name=value' that will be set to the source element +source element properties = ; values below will override the default one of [media source] above ;audio raw format = ;audio samplerate = diff --git a/packaging/media-config.spec b/packaging/media-config.spec index 8f93e23..e3c7763 100644 --- a/packaging/media-config.spec +++ b/packaging/media-config.spec @@ -1,6 +1,6 @@ Name: media-config Summary: Multimedia Framework system configuration package -Version: 0.3.31 +Version: 0.3.32 Release: 0 Group: Multimedia/Configuration License: LGPL-2.1 and Apache-2.0 -- 2.34.1