summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-30 13:16:33 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-30 13:16:33 -0400
commit02444cd32b620c227795848f248862379cd74b6f (patch)
treea5bdc599b3d0500f9886367791a5fde964c3e267
parent6d9acddc3f6c34e583a769ad3b61f853c780ce2f (diff)
downloademacsconf-wiki-02444cd32b620c227795848f248862379cd74b6f.tar.xz
emacsconf-wiki-02444cd32b620c227795848f248862379cd74b6f.zip
Update instructions for streaming
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook/index.org53
1 files changed, 35 insertions, 18 deletions
diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org
index 2408553c..79bc94fc 100644
--- a/2022/organizers-notebook/index.org
+++ b/2022/organizers-notebook/index.org
@@ -794,28 +794,39 @@ Goals:
Process on res:
+1. Copy the vnc password file
+ - scp emacsconf-gen@res:~/.vnc/passwd vnc-passwd-gen
+ - scp emacsconf-dev@res:~/.vnc/passwd vnc-passwd-dev
1. Start up the VNC server if it's not already running
- 1. sudo su - orga
- 2. ~/bin/gen/-vnc (or ~/bin/dev/-vnc) - if the VNC server is already up, it'll tell you that it's reusing it. Gen will be on port 5905, dev will be on port 5906. (See vnc_id in the ansible vars if you want to change this.)
-2. Connect via VNC viewer:
- - Forward your local ports via SSH:
- ~ssh -L 15905:127.0.0.1:5905 -L 15906:127.0.0.1:5906 res.emacsconf.org~
- - Connect using xvncviewer to the appropriate forwarded port from your laptop. Password is in conf.org under vnc_password.
- - Gen: ~xvncviewer 127.0.0.1:15905 -shared -geometry 1280x720~
- - Dev: ~xvncviewer 127.0.0.1:15906 -shared -geometry 1280x720~
-
-3. Load something with audio in firefox -ProfileManager , and start playing it.
+ - Gen: ssh emacsconf-gen@res.emacsconf.org -L 15905:127.0.0.1:5905 "~/bin/track-vnc; sleep infinity"
+ - Dev: ssh emacsconf-dev@res.emacsconf.org -L 15906:127.0.0.1:5906 "~/bin/track-vnc; sleep infinity"
+2. Connect via VNC viewer to the appropriate forwarded port from your laptop
+ - Gen: xvncviewer 127.0.0.1:15905 -shared -geometry 1280x720 -passwd vnc-passwd-gen
+ - Dev: xvncviewer 127.0.0.1:15906 -shared -geometry 1280x720 -passwd vnc-passwd-dev
+3. Load something with audio in Firefox, and start playing it.
4. Use pavucontrol to make sure the Firefox process is going into the $track-qa sink.
-If you ~scp orga@res.emacsconf.org/.vnc/passwd vnc-passwd~, you can use the -passwd arg:
-xvncviewer 127.0.0.1:15906 -shared -passwd vnc-passwd
+To kill the VNC server:
+ssh emacsconf-gen@res "vncserver -kill"
+ssh emacsconf-dev@res "vncserver -kill"
-| -obs | start OBS with the track's profile and scene collection |
-| -mpv file.webm | play the file using the track's sink |
+| ~/bin/track-obs | start OBS with the track's profile and scene collection |
+| ~/bin/track-mpv file.webm | play the file using the track's sink |
-There are sockets in the home directory for MPV control - haven't tested it yet.
+There are sockets in the home directory for MPV control.
+echo '{ "command": ["loadfile", "test2.webm"] }' | socat - ~/mpv-socket-emacsconf-dev
-Watch at https://live.emacsconf.org/2022/watch/dev/ or https://live.emacsconf.org/2022/watch/gen/
+After you start recording in OBS,
+watch at https://live.emacsconf.org/2022/watch/dev/ or https://live.emacsconf.org/2022/watch/gen/
+
+i3 cheat sheet:
+- M-RET: terminal
+- M-f: toggle full-screen
+- M-j: go to next window
+
+OBS websocket:
+https://obsproject.com/forum/threads/websocket-5-0-port-configuration.160491/
+might need to have separate users
*** TODO Set up scenes and try them
@@ -1509,11 +1520,17 @@ Sacha Chua
:CUSTOM_ID: before
:END:
- Coordinate volunteer schedules so all the roles are covered
-*** TODO Set media_protect_root: false :sachac:
+*** TODO Update ansible configuration :sachac:
in prod-vars.yml
+media_protect_root: true
+icecast_save_dump: false
+
Clean up the media root
-ansible-playbook -i inventory.yml prod-playbook.yml --tags media
+
+then
+
+ansible-playbook -i inventory.yml prod-playbook.yml --tags media,stream
*** Test stream setup
:PROPERTIES: