microsoft / Broadcast-Development-Kit

Tools for Broadcasters utilizing Teams
MIT License
58 stars 24 forks source link

No audio/Source with device.api property equals wasapi found #47

Open rick001 opened 2 years ago

rick001 commented 2 years ago

I have been following the guide and have launched a VM in Azure, when I run gst-device-monitor-1.0 my output has no audio device with the device.api property equals wasapi Please find below the output of the command. Is this to be expected for a VM? What should my audio source be in that case?

C:\Users\botAdmin>gst-device-monitor-1.0 Probing devices...

Device found:

    name  : Generic PnP Monitor
    class : Source/Monitor
    caps  : video/x-raw(memory:D3D11Memory), format=BGRA, width=1320, height=692, framerate=[ 0/1, 2147483647/1 ]
            video/x-raw, format=BGRA, width=1320, height=692, framerate=[ 0/1, 2147483647/1 ]
    properties:
            device.api = d3d11
            device.name = \\.\DISPLAY1
            device.path = \\?\DISPLAY#Default_Monitor#1&1f0c3c2f&0&UID256#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
            device.primary = true
            device.type = unknown
            device.hmonitor = 65537
            device.adapter.luid = 18819
            device.adapter.description = Microsoft Basic Render Driver
            desktop.coordinates.left = 0
            desktop.coordinates.top = 0
            desktop.coordinates.right = 1320
            desktop.coordinates.bottom = 692
            display.coordinates.left = 0
            display.coordinates.top = 0
            display.coordinates.right = 1320
            display.coordinates.bottom = 692
    gst-launch-1.0 d3d11screencapturesrc monitor-handle=65537 ! ...

Device found:

    name  : Primary Sound Driver
    class : Audio/Sink
    caps  : audio/x-raw, format=S16LE, layout=interleaved, rate=[ 1, 2147483647 ], channels=[ 1, 2 ]
            audio/x-raw, format=U8, layout=interleaved, rate=[ 1, 2147483647 ], channels=[ 1, 2 ]
            audio/x-ac3, framed=true
            audio/x-dts, framed=true
    properties:
            device.api = directsound
            device.guid = (NULL)
            directsound.device.driver =
            directsound.device.description = Primary Sound Driver
    gst-launch-1.0 ... ! directsoundsink

Device found:

    name  : Primary Sound Capture Driver
    class : Audio/Source
    caps  : audio/x-raw, format={ (string)S16LE, (string)S8 }, layout=interleaved, rate=[ 1, 2147483647 ], channels=[ 1, 2 ]
    properties:
            device.api = directsound
            device.guid = (NULL)
            directsound.device.driver =
            directsound.device.description = Primary Sound Capture Driver
    gst-launch-1.0 directsoundsrc ! ...