wasapi2src on Windows10 21H2
https://gstreamer.freedesktop.org/download/ I downloaded the "1.22.2 runtime installer" from here and installed it on Windows10 21H2. But wasapi2src doesn't have loopback-target-pid property. How can I use wasapi2src with loopback-target-pid?
> gst-inspect-1.0 wasapi2src
Factory Details:
Rank primary + 1 (257)
Long-name Wasapi2Src
Klass Source/Audio/Hardware
Description Stream audio from an audio capture device through WASAPI
Author Nirbheek Chauhan <nirbheek@centricular.com>, Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>, Seungha Yang <seungha@centricular.com>
Documentation https://gstreamer.freedesktop.org/documentation/wasapi2/wasapi2src.html
Plugin Details:
Name wasapi2
Description Windows audio session API plugin
Filename D:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0\gstwasapi2.dll
Version 1.22.2
License LGPL
Source module gst-plugins-bad
Documentation https://gstreamer.freedesktop.org/documentation/wasapi2/
Source release date 2023-04-11
Binary package GStreamer Bad Plug-ins source release
Origin URL Unknown package origin
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseSrc
+----GstPushSrc
+----GstAudioBaseSrc
+----GstWasapi2Src
Implemented Interfaces:
GstStreamVolume
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
audio/x-raw
format: { (string)F64LE, (string)F64BE, (string)F32LE, (string)F32BE, (string)S32LE, (string)S32BE, (string)U32LE, (string)U32BE, (string)S24_32LE, (string)S24_32BE, (string)U24_32LE, (string)U24_32BE, (string)S24LE, (string)S24BE, (string)U24LE, (string)U24BE, (string)S20LE, (string)S20BE, (string)U20LE, (string)U20BE, (string)S18LE, (string)S18BE, (string)U18LE, (string)U18BE, (string)S16LE, (string)S16BE, (string)U16LE, (string)U16BE, (string)S8, (string)U8 }
layout: interleaved
rate: [ 1, 2147483647 ]
channels: [ 1, 2147483647 ]
Clocking Interaction:
element is supposed to provide a clock but returned NULL
Element has no URI handling capabilities.
Pads:
SRC: 'src'
Pad Template: 'src'
Element Properties:
actual-buffer-time : Actual configured size of audio buffer in microseconds
flags: readable
Integer64. Range: -1 - 9223372036854775807 Default: -1
actual-latency-time : Actual configured audio latency in microseconds
flags: readable
Integer64. Range: -1 - 9223372036854775807 Default: -1
blocksize : Size in bytes to read per buffer (-1 = default)
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 0
buffer-time : Size of audio buffer in microseconds. This is the maximum amount of data that is buffered in the device and the maximum latency that the source reports. This value might be ignored by the element if necessary; see "actual-buffer-time"
flags: readable, writable
Integer64. Range: 1 - 9223372036854775807 Default: 200000
device : WASAPI playback device as a GUID string
flags: readable, writable, changeable only in NULL or READY state
String. Default: null
dispatcher : ICoreDispatcher COM object to use. In order for application to ask permission of audio device, device activation should be running on UI thread via ICoreDispatcher. This element will increase the reference count of given ICoreDispatcher and release it after use. Therefore, caller does not need to consider additional reference count management
flags: writable, changeable only in NULL or READY state
Pointer. Write only
do-timestamp : Apply current stream time to buffers
flags: readable, writable
Boolean. Default: false
latency-time : The minimum amount of data to read in each iteration in microseconds. This is the minimum latency that the source reports. This value might be ignored by the element if necessary; see "actual-latency-time"
flags: readable, writable
Integer64. Range: 1 - 9223372036854775807 Default: 10000
loopback : Open render device for loopback recording
flags: readable, writable, changeable only in NULL or READY state
Boolean. Default: false
low-latency : Optimize all settings for lowest latency. Always safe to enable.
flags: readable, writable, changeable only in NULL or READY state
Boolean. Default: false
mute : Mute state of this stream
flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
Boolean. Default: false
name : The name of the object
flags: readable, writable
String. Default: "wasapi2src0"
num-buffers : Number of buffers to output before sending EOS (-1 = unlimited)
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
provide-clock : Provide a clock to be used as the global pipeline clock
flags: readable, writable
Boolean. Default: true
slave-method : Algorithm used to match the rate of the masterclock
flags: readable, writable
Enum "GstAudioBaseSrcSlaveMethod" Default: 2, "skew"
(0): resample - GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE
(1): re-timestamp - GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP
(2): skew - GST_AUDIO_BASE_SRC_SLAVE_SKEW
(3): none - GST_AUDIO_BASE_SRC_SLAVE_NONE
typefind : Run typefind before negotiating (deprecated, non-functional)
flags: readable, writable, deprecated
Boolean. Default: false
volume : Volume of this stream
flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
Double. Range: 0 - 1 Default: 1