1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracle-wfdctl: set XAUTHORITY and DISPLAY before create gstreamer

pipeline, and now we can pass device name to pulseaudio
This commit is contained in:
Derek Dai 2017-03-08 10:00:51 +08:00
parent 50f6ccf303
commit 07ca224397
No known key found for this signature in database
GPG key ID: E109CC97553EF009
7 changed files with 120 additions and 40 deletions

View file

@ -204,6 +204,13 @@ invoke org.freedesktop.miracle.wfd \
/org/freedesktop/miracle/wfd/sink/$peer_id \
org.freedesktop.miracle.wfd.Sink \
Peer /org/freedesktop/miracle/wifi/peer/$peer_id \
StartSession sqqqq 'x://:0.0' 0 0 1920 1080
StartSession ssqqqqs \
"$XAUTHORITY" \
'x://:0.0' \
0 \
0 \
1920 \
1080 \
'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
wait