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:
parent
50f6ccf303
commit
07ca224397
7 changed files with 120 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue