--auto-select-desktop-capture-source in headless mode

1,550 views
Skip to first unread message

נעמה סט

unread,
Mar 10, 2020, 5:36:21 AM3/10/20
to discuss-webrtc

I want to run my WebRTC automation tests in headless mode, so i put --use-fake-ui-for-media-stream flag. if I don't put this flag WebRTC is not connected
But:
I want also use --auto-select-desktop-capture-source='/path/to/video.mp4' for stream screen sharing, and if I put --use fake-ui-for-media-stream and --auto-select-desktop-capture-source both, chrome ignore --auto-select-desktop-capture-source flag, and show as screen share the media stream infobar
?any solution

Patrik Höglund

unread,
Mar 10, 2020, 6:06:46 AM3/10/20
to discuss-webrtc
Hi!

If I remember correctly, it's --auto-select-desktop-capture-source="Window name as shown in the desktop capture window picker" and not --auto-select-desktop-capture-source=filename. 

/ P

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/29539b01-838b-47d3-a1b4-58f1c6d7ea9a%40googlegroups.com.

Philipp Hancke

unread,
Mar 10, 2020, 6:23:27 AM3/10/20
to discuss...@googlegroups.com
Also note https://bugs.chromium.org/p/chromium/issues/detail?id=776649 which iirc means that headless is not possible right now so you'll need the good old xvfb way.

Reply all
Reply to author
Forward
0 new messages