Open capital-G opened 1 year ago
It seems stream number 8 is also quiet
Streams that are silent
so it is most likely not affected by the %8
operation of our sc patch.
Logs of the current deployment of sound look like this
gencaster-sound-1 | Create input streams
gencaster-sound-1 | sc-stream-1: { # secret = "adminpwd" id = 1 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5002 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-2: { # secret = "adminpwd" id = 2 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5003 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-3: { # secret = "adminpwd" id = 3 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5004 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-4: { # secret = "adminpwd" id = 4 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5005 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-5: { # secret = "adminpwd" id = 5 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5006 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-6: { # secret = "adminpwd" id = 6 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5007 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-7: { # secret = "adminpwd" id = 7 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5008 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-8: { # secret = "adminpwd" id = 8 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5009 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-9: { # secret = "adminpwd" id = 9 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5010 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-10: { # secret = "adminpwd" id = 10 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5011 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-11: { # secret = "adminpwd" id = 11 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5012 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-12: { # secret = "adminpwd" id = 12 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5013 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-13: { # secret = "adminpwd" id = 13 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5014 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-14: { # secret = "adminpwd" id = 14 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5015 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-15: { # secret = "adminpwd" id = 15 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5016 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | sc-stream-16: { # secret = "adminpwd" id = 16 # description = "Opus/VP8 live stream coming from external source" # metadata = "You can use this metadata section to put any info you want!" type = "rtp" audioport = 5017 audiopt = 111 # <audio RTP payload type> (e.g., 111) audiortpmap = "opus/48000/2" audio = true video = false data = false }
gencaster-sound-1 | Finshed creating configs
gencaster-sound-1 | 2023-02-21 17:46:38,414 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
gencaster-sound-1 | 2023-02-21 17:46:38,414 WARN For [program:pipewire], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
gencaster-sound-1 | 2023-02-21 17:46:38,416 INFO supervisord started with pid 1
gencaster-sound-1 | 2023-02-21 17:46:39,419 INFO spawned: 'janus' with pid 72
gencaster-sound-1 | 2023-02-21 17:46:39,423 INFO spawned: 'logging' with pid 73
gencaster-sound-1 | 2023-02-21 17:46:39,427 INFO spawned: 'python-http' with pid 74
gencaster-sound-1 | 2023-02-21 17:46:39,430 INFO spawned: 'start-stream' with pid 75
gencaster-sound-1 | 2023-02-21 17:46:39,432 INFO spawned: 'pipewire' with pid 76
gencaster-sound-1 | gstreamer_*.log: tail: can't open 'gstreamer_*.log': No such file or directory
gencaster-sound-1 | gstreamer_*.log: tail: no files
gencaster-sound-1 | pipewire.log: [E][53892.826312] mod.rtkit | [ module-rtkit.c: 175 pw_rtkit_bus_get_system()] Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gencaster-sound-1 | pipewire.log: [W][53892.826333] mod.rtkit | [ module-rtkit.c: 697 pipewire__module_init()] could not get system bus: Connection refused
gencaster-sound-1 | pipewire.log: [E][53892.828034] spa.dbus | [ dbus.c: 349 impl_connection_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
gencaster-sound-1 | pipewire.log: [E][53892.828060] mod.portal | [ module-portal.c: 346 pipewire__module_init()] Failed to connect to session bus: I/O error
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 9, waking it up...
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 10, waking it up...
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 12, waking it up...
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 13, waking it up...
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 14, waking it up...
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 15, waking it up...
gencaster-sound-1 | janus.log: First user/forwarder/file just joined room 16, waking it up...
gencaster-sound-1 | janus.log: Websockets server started (port 8188)...
gencaster-sound-1 | janus.log: JANUS WebSockets transport plugin initialized!
gencaster-sound-1 | janus.log: WebSockets thread started
gencaster-sound-1 | sclang.log: Create input streams
gencaster-sound-1 | sclang.log: Spawn 16 instances
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider1 on port 57120 ###
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5002
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6002
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider2 on port 57121 ###
gencaster-sound-1 | janus.log: [sc-stream-1] New audio stream! (ssrc=2949052672)
gencaster-sound-1 | 2023-02-21 17:46:49,443 INFO success: janus entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
gencaster-sound-1 | 2023-02-21 17:46:49,443 INFO success: logging entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
gencaster-sound-1 | 2023-02-21 17:46:49,443 INFO success: python-http entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
gencaster-sound-1 | 2023-02-21 17:46:49,443 INFO success: pipewire entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5003
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6003
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider3 on port 57122 ###
gencaster-sound-1 | janus.log: [sc-stream-2] New audio stream! (ssrc=1640793767)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5004
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6004
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider4 on port 57123 ###
gencaster-sound-1 | janus.log: [sc-stream-3] New audio stream! (ssrc=1752176589)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5005
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6005
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider5 on port 57124 ###
gencaster-sound-1 | janus.log: [sc-stream-4] New audio stream! (ssrc=3358439136)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5006
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6006
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider6 on port 57125 ###
gencaster-sound-1 | pipewire.log: [E][53917.885264] pw.core | [ impl-core.c: 221 core_error()] 0x7f4af6a05040: error -22 for resource 3: Invalid argument
gencaster-sound-1 | pipewire.log: [E][53917.885297] mod.client-node | [ client-node.c: 1256 client_node_resource_error()] 0x7f4af47a2610: error seq:268 -22 (Invalid argument)
gencaster-sound-1 | janus.log: [sc-stream-5] New audio stream! (ssrc=2770966358)
gencaster-sound-1 | 2023-02-21 17:47:09,451 INFO success: start-stream entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5007
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6007
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider7 on port 57126 ###
gencaster-sound-1 | janus.log: [sc-stream-6] New audio stream! (ssrc=4116144709)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5008
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6008
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider8 on port 57127 ###
gencaster-sound-1 | janus.log: [sc-stream-7] New audio stream! (ssrc=2528824532)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5009
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6009
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider9 on port 57128 ###
gencaster-sound-1 | janus.log: [sc-stream-8] New audio stream! (ssrc=3972897)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5010
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6010
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider10 on port 57129 ###
gencaster-sound-1 | janus.log: [sc-stream-9] New audio stream! (ssrc=1551256408)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5011
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6011
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider11 on port 57130 ###
gencaster-sound-1 | janus.log: [sc-stream-10] New audio stream! (ssrc=1636644866)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5012
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6012
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider12 on port 57131 ###
gencaster-sound-1 | janus.log: [sc-stream-11] New audio stream! (ssrc=579323580)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5013
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6013
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider13 on port 57132 ###
gencaster-sound-1 | janus.log: [sc-stream-12] New audio stream! (ssrc=1598268137)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5014
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6014
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider14 on port 57133 ###
gencaster-sound-1 | janus.log: [sc-stream-13] New audio stream! (ssrc=4288160833)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5015
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6015
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider15 on port 57134 ###
gencaster-sound-1 | janus.log: [sc-stream-14] New audio stream! (ssrc=94220177)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5016
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6016
gencaster-sound-1 | sclang.log: ### Start instance SuperCollider16 on port 57135 ###
gencaster-sound-1 | janus.log: [sc-stream-15] New audio stream! (ssrc=3921957479)
gencaster-sound-1 | sclang.log: Create gstreamer out pipeline on port 5017
gencaster-sound-1 | sclang.log: Create gstreamer in pipeline on port 6017
gencaster-sound-1 | sclang.log: sclang_15.log: server 'SuperCollider15' already booting
gencaster-sound-1 | sclang.log: sclang_15.log: Booting server 'SuperCollider15' on address 127.0.0.1:5614.
gencaster-sound-1 | sclang.log: sclang_15.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_15.log: JackDriver: client name is 'SuperCollider15'
gencaster-sound-1 | sclang.log: sclang_15.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_15.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_15.log: Requested notification messages from server 'SuperCollider15'
gencaster-sound-1 | sclang.log: sclang_15.log: SuperCollider15: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_15.log: SuperCollider15: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_15.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_4.log: server 'SuperCollider4' already booting
gencaster-sound-1 | sclang.log: sclang_4.log: Booting server 'SuperCollider4' on address 127.0.0.1:5603.
gencaster-sound-1 | sclang.log: sclang_4.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_4.log: JackDriver: client name is 'SuperCollider4'
gencaster-sound-1 | sclang.log: sclang_4.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_4.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_4.log: Requested notification messages from server 'SuperCollider4'
gencaster-sound-1 | sclang.log: sclang_4.log: SuperCollider4: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_4.log: SuperCollider4: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_4.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_3.log: server 'SuperCollider3' already booting
gencaster-sound-1 | sclang.log: sclang_3.log: Booting server 'SuperCollider3' on address 127.0.0.1:5602.
gencaster-sound-1 | sclang.log: sclang_3.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_3.log: JackDriver: client name is 'SuperCollider3'
gencaster-sound-1 | sclang.log: sclang_3.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_3.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_3.log: Requested notification messages from server 'SuperCollider3'
gencaster-sound-1 | sclang.log: sclang_3.log: SuperCollider3: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_3.log: SuperCollider3: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_3.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_9.log: server 'SuperCollider9' already booting
gencaster-sound-1 | sclang.log: sclang_9.log: Booting server 'SuperCollider9' on address 127.0.0.1:5608.
gencaster-sound-1 | sclang.log: sclang_9.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_9.log: JackDriver: client name is 'SuperCollider9'
gencaster-sound-1 | sclang.log: sclang_9.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_9.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_9.log: Requested notification messages from server 'SuperCollider9'
gencaster-sound-1 | sclang.log: sclang_9.log: SuperCollider9: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_9.log: SuperCollider9: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_9.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_13.log: server 'SuperCollider13' already booting
gencaster-sound-1 | sclang.log: sclang_13.log: Booting server 'SuperCollider13' on address 127.0.0.1:5612.
gencaster-sound-1 | sclang.log: sclang_13.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_13.log: JackDriver: client name is 'SuperCollider13'
gencaster-sound-1 | sclang.log: sclang_13.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_13.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_13.log: Requested notification messages from server 'SuperCollider13'
gencaster-sound-1 | sclang.log: sclang_13.log: SuperCollider13: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_13.log: SuperCollider13: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_13.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_12.log: server 'SuperCollider12' already booting
gencaster-sound-1 | sclang.log: sclang_12.log: Booting server 'SuperCollider12' on address 127.0.0.1:5611.
gencaster-sound-1 | sclang.log: sclang_12.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_12.log: JackDriver: client name is 'SuperCollider12'
gencaster-sound-1 | sclang.log: sclang_12.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_12.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_12.log: Requested notification messages from server 'SuperCollider12'
gencaster-sound-1 | sclang.log: sclang_12.log: SuperCollider12: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_12.log: SuperCollider12: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_12.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_16.log: use_input: 1
gencaster-sound-1 | sclang.log: sclang_16.log: ### /GenCaster server ###
gencaster-sound-1 | sclang.log: sclang_16.log: SuperCollider16 : setting clientID to 0.
gencaster-sound-1 | sclang.log: sclang_16.log: Booting server SuperCollider16 on port 5615
gencaster-sound-1 | sclang.log: sclang_16.log: Finished booting server
gencaster-sound-1 | sclang.log: sclang_16.log: Start beacon
gencaster-sound-1 | sclang.log: sclang_16.log: server 'SuperCollider16' already booting
gencaster-sound-1 | sclang.log: sclang_16.log: Booting server 'SuperCollider16' on address 127.0.0.1:5615.
gencaster-sound-1 | sclang.log: sclang_16.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_16.log: Server 'SuperCollider16' exited with exit code 0.
gencaster-sound-1 | sclang.log: sclang_2.log: server 'SuperCollider2' already booting
gencaster-sound-1 | sclang.log: sclang_2.log: Booting server 'SuperCollider2' on address 127.0.0.1:5601.
gencaster-sound-1 | sclang.log: sclang_2.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_2.log: JackDriver: client name is 'SuperCollider2'
gencaster-sound-1 | sclang.log: sclang_2.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_2.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_2.log: Requested notification messages from server 'SuperCollider2'
gencaster-sound-1 | sclang.log: sclang_2.log: SuperCollider2: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_2.log: SuperCollider2: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_2.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_5.log: server 'SuperCollider5' already booting
gencaster-sound-1 | sclang.log: sclang_5.log: Booting server 'SuperCollider5' on address 127.0.0.1:5604.
gencaster-sound-1 | sclang.log: sclang_5.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_5.log: JackDriver: client name is 'SuperCollider5'
gencaster-sound-1 | sclang.log: sclang_5.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_5.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_5.log: Requested notification messages from server 'SuperCollider5'
gencaster-sound-1 | sclang.log: sclang_5.log: SuperCollider5: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_5.log: SuperCollider5: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_5.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_11.log: server 'SuperCollider11' already booting
gencaster-sound-1 | sclang.log: sclang_11.log: Booting server 'SuperCollider11' on address 127.0.0.1:5610.
gencaster-sound-1 | sclang.log: sclang_11.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_11.log: JackDriver: client name is 'SuperCollider11'
gencaster-sound-1 | sclang.log: sclang_11.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_11.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_11.log: Requested notification messages from server 'SuperCollider11'
gencaster-sound-1 | sclang.log: sclang_11.log: SuperCollider11: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_11.log: SuperCollider11: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_11.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_1.log: server 'SuperCollider1' already booting
gencaster-sound-1 | sclang.log: sclang_1.log: Booting server 'SuperCollider1' on address 127.0.0.1:5600.
gencaster-sound-1 | sclang.log: sclang_1.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_1.log: JackDriver: client name is 'SuperCollider1'
gencaster-sound-1 | sclang.log: sclang_1.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_1.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_1.log: Requested notification messages from server 'SuperCollider1'
gencaster-sound-1 | sclang.log: sclang_1.log: SuperCollider1: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_1.log: SuperCollider1: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_1.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_7.log: server 'SuperCollider7' already booting
gencaster-sound-1 | sclang.log: sclang_7.log: Booting server 'SuperCollider7' on address 127.0.0.1:5606.
gencaster-sound-1 | sclang.log: sclang_7.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_7.log: JackDriver: client name is 'SuperCollider7'
gencaster-sound-1 | sclang.log: sclang_7.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_7.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_7.log: Requested notification messages from server 'SuperCollider7'
gencaster-sound-1 | sclang.log: sclang_7.log: SuperCollider7: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_7.log: SuperCollider7: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_7.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_8.log: server 'SuperCollider8' already booting
gencaster-sound-1 | sclang.log: sclang_8.log: Booting server 'SuperCollider8' on address 127.0.0.1:5607.
gencaster-sound-1 | sclang.log: sclang_8.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_8.log: JackDriver: client name is 'SuperCollider8'
gencaster-sound-1 | sclang.log: sclang_8.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_8.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_8.log: Requested notification messages from server 'SuperCollider8'
gencaster-sound-1 | sclang.log: sclang_8.log: SuperCollider8: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_8.log: SuperCollider8: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_8.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_14.log: server 'SuperCollider14' already booting
gencaster-sound-1 | sclang.log: sclang_14.log: Booting server 'SuperCollider14' on address 127.0.0.1:5613.
gencaster-sound-1 | sclang.log: sclang_14.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_14.log: JackDriver: client name is 'SuperCollider14'
gencaster-sound-1 | sclang.log: sclang_14.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_14.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_14.log: Requested notification messages from server 'SuperCollider14'
gencaster-sound-1 | sclang.log: sclang_14.log: SuperCollider14: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_14.log: SuperCollider14: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_14.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_6.log: server 'SuperCollider6' already booting
gencaster-sound-1 | sclang.log: sclang_6.log: Booting server 'SuperCollider6' on address 127.0.0.1:5605.
gencaster-sound-1 | sclang.log: sclang_6.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_6.log: JackDriver: client name is 'SuperCollider6'
gencaster-sound-1 | sclang.log: sclang_6.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_6.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_6.log: Requested notification messages from server 'SuperCollider6'
gencaster-sound-1 | sclang.log: sclang_6.log: SuperCollider6: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_6.log: SuperCollider6: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_6.log: Shared memory server interface initialized
gencaster-sound-1 | sclang.log: sclang_10.log: server 'SuperCollider10' already booting
gencaster-sound-1 | sclang.log: sclang_10.log: Booting server 'SuperCollider10' on address 127.0.0.1:5609.
gencaster-sound-1 | sclang.log: sclang_10.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_10.log: JackDriver: client name is 'SuperCollider10'
gencaster-sound-1 | sclang.log: sclang_10.log: SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
gencaster-sound-1 | sclang.log: sclang_10.log: SuperCollider 3 server ready (debug build).
gencaster-sound-1 | sclang.log: sclang_10.log: Requested notification messages from server 'SuperCollider10'
gencaster-sound-1 | sclang.log: sclang_10.log: SuperCollider10: server process's maxLogins (2) matches with my options.
gencaster-sound-1 | sclang.log: sclang_10.log: SuperCollider10: keeping clientID (0) as confirmed by server process.
gencaster-sound-1 | sclang.log: sclang_10.log: Shared memory server interface initialized
gencaster-sound-1 | janus.log: [sc-stream-16] New audio stream! (ssrc=3182230754)
gencaster-sound-1 | janus.log: Creating new session: 8068084669994522; 0x7f9439022770
gencaster-sound-1 | janus.log: Creating new handle in session 8068084669994522: 6424960498216629; 0x7f9439022770 0x7f94372861d0
gencaster-sound-1 | janus.log: Creating new handle in session 8068084669994522: 8404153353922437; 0x7f9439022770 0x7f9437286340
gencaster-sound-1 | janus.log: Timeout expired for session 8068084669994522...
gencaster-sound-1 | janus.log: Detaching handle from JANUS AudioBridge plugin; 0x7f94372861d0 0x7f94372808a0 0x7f94372861d0 0x7f9437280cb0
gencaster-sound-1 | janus.log: Detaching handle from JANUS Streaming plugin; 0x7f9437286340 0x7f9438775110 0x7f9437286340 0x7f94372717d0
gencaster-sound-1 | janus.log: Destroying session 8068084669994522; 0x7f9439022770
gencaster-sound-1 | janus.log: [janus.plugin.streaming-0x7f9438775110] No WebRTC media anymore
gencaster-sound-1 | janus.log: [janus.plugin.audiobridge-0x7f94372808a0] No WebRTC media anymore
gencaster-sound-1 | janus.log: No WebRTC media anymore
gencaster-sound-1 | janus.log: No WebRTC media anymore
gencaster-sound-1 | janus.log: [8404153353922437] Handle and related resources freed; 0x7f9437286340 0x7f9439022770
gencaster-sound-1 | janus.log: [6424960498216629] Handle and related resources freed; 0x7f94372861d0 0x7f9439022770
gencaster-sound-1 | janus.log: Creating new session: 8897299236169381; 0x7f9439022710
gencaster-sound-1 | janus.log: Creating new handle in session 8897299236169381: 5525941979283310; 0x7f9439022710 0x7f9437286510
gencaster-sound-1 | janus.log: Creating new handle in session 8897299236169381: 4683272543762854; 0x7f9439022710 0x7f9437286660
gencaster-sound-1 | janus.log: Destroying session 8897299236169381; 0x7f9439022710
gencaster-sound-1 | janus.log: Detaching handle from JANUS Streaming plugin; 0x7f9437286660 0x7f9437281620 0x7f9437286660 0x7f9438a97590
gencaster-sound-1 | janus.log: Detaching handle from JANUS AudioBridge plugin; 0x7f9437286510 0x7f94372813b0 0x7f9437286510 0x7f943727fd90
gencaster-sound-1 | janus.log: [janus.plugin.streaming-0x7f9437281620] No WebRTC media anymore
gencaster-sound-1 | janus.log: [4683272543762854] Handle and related resources freed; 0x7f9437286660 0x7f9439022710
gencaster-sound-1 | janus.log: [janus.plugin.audiobridge-0x7f94372813b0] No WebRTC media anymore
gencaster-sound-1 | janus.log: No WebRTC media anymore
gencaster-sound-1 | janus.log: No WebRTC media anymore
gencaster-sound-1 | janus.log: [5525941979283310] Handle and related resources freed; 0x7f9437286510 0x7f9439022710
gencaster-sound-1 | janus.log: Creating new session: 4522224052531047; 0x7f9439022770
gencaster-sound-1 | janus.log: Creating new handle in session 4522224052531047: 8442015032713684; 0x7f9439022770 0x7f94372861e0
gencaster-sound-1 | janus.log: Creating new handle in session 4522224052531047: 7565704048593009; 0x7f9439022770 0x7f9437286350
gencaster-sound-1 | janus.log: [8442015032713684] Creating ICE agent (ICE Full mode, controlling)
gencaster-sound-1 | janus.log: [8442015032713684] The DTLS handshake has been completed
gencaster-sound-1 | janus.log: [janus.plugin.streaming-0x7f9438775170] WebRTC media is now available
Interistingly enough the stream #16 fails to boot for some reason
gencaster-sound-1 | sclang.log: sclang_16.log: use_input: 1
gencaster-sound-1 | sclang.log: sclang_16.log: ### /GenCaster server ###
gencaster-sound-1 | sclang.log: sclang_16.log: SuperCollider16 : setting clientID to 0.
gencaster-sound-1 | sclang.log: sclang_16.log: Booting server SuperCollider16 on port 5615
gencaster-sound-1 | sclang.log: sclang_16.log: Finished booting server
gencaster-sound-1 | sclang.log: sclang_16.log: Start beacon
gencaster-sound-1 | sclang.log: sclang_16.log: server 'SuperCollider16' already booting
gencaster-sound-1 | sclang.log: sclang_16.log: Booting server 'SuperCollider16' on address 127.0.0.1:5615.
gencaster-sound-1 | sclang.log: sclang_16.log: memory locking disabled due to resource limiting
gencaster-sound-1 | sclang.log: sclang_16.log: Server 'SuperCollider16' exited with exit code 0.
Yet the other streams do not have this error. Maybe this is an alpine issue and can be resolved by increasing the stack size? See https://github.com/supercollider/supercollider/issues/5197
While stream 16 is always silent the other changes around (even stream #8 got sound now). I think this got worse since we introduced #145 , so most likely this is some kind of resource thing going on?
managed to get at least all 8 streams working with this fix
diff --git a/caster-sound/start_streams.sh b/caster-sound/start_streams.sh
index 5f1db30..642d8c6 100755
--- a/caster-sound/start_streams.sh
+++ b/caster-sound/start_streams.sh
@@ -40,18 +40,21 @@ until [ $COUNT -gt $NUM_STREAMS ]; do
echo "### Start instance $SC_NAME on port $SC_LANG_PORT ###"
+ sleep 5
(sclang -u "$SC_LANG_PORT" -l /root/sclang_conf_gencaster.yaml /root/sc.scd &> "/root/sclang_$COUNT.log") &
sleep 5
echo "Create gstreamer out pipeline on port $JANUS_OUT_PORT"
(gst-launch-1.0 jackaudiosrc port-pattern=$SC_NAME ! queue ! audioconvert ! audioresample ! opusenc ! rtpopuspay ! queue max-size-bytes=0 max-size-buffers=0 ! udpsink host=127.0.0.1 port=$JANUS_OUT_PORT &> "/root/gstreamer_out_$COUNT.log") &
+ sleep 2
if [ $USE_INPUT -gt 0 ]; then
echo "Create gstreamer in pipeline on port $JANUS_IN_PORT"
(gst-launch-1.0 -m udpsrc port="$JANUS_IN_PORT" ! 'application/x-rtp, media=(string)audio, encoding-name=(string)OPUS, payload=(int)100, rate=48000, channels=(int)2' ! rtpopusdepay ! opusdec ! queue ! audioconvert ! audiorate ! audioresample ! jackaudiosink port-pattern="$SC_NAME" &> "/root/gstreamer_in_$COUNT.log") &
fi
COUNT=$(($COUNT + 1))
+ sleep 5
done
parallel --tagstring "{}:" --line-buffer tail -f {} ::: sclang_*.log
diff --git a/vars.deploy.dev.env b/vars.deploy.dev.env
index 72e81b4..bb34c24 100644
--- a/vars.deploy.dev.env
+++ b/vars.deploy.dev.env
@@ -10,4 +10,4 @@ BACKEND_GRAPHQL_URL="https://backend.dev.gencaster.org/graphql"
JANUS_PUBLIC_IP=195.201.163.94
SUPERCOLLIDER_USE_INPUT=1
-SUPERCOLLIDER_NUM_STREAMS=16
+SUPERCOLLIDER_NUM_STREAMS=8
This is really inconsistent, after a restart only half of the instances are working :/
Mh - it just came to my mind that by starting certain graphs as a stream we will make the stream silent - maybe we should wait for #253 :c
Stream 11 can be resurrected with a different patch as well as all others so it is down to stream 16 acting weird.
log of stream 16
~ # cat sclang_16.log
compiling class library (debug build)...
Found 728 primitives.
Compiling directory '/usr/local/share/SuperCollider/SCClassLibrary'
Compiling directory '/usr/local/share/SuperCollider/Extensions'
Compiling directory '/root/.local/share/SuperCollider/Extensions'
numentries = 682763 / 7461592 = 0.092
4003 method selectors, 1864 classes
method table size 9977880 bytes, big table size 59692736
Number of Symbols 9303
Byte Code Size 266665
compiled 229 files in 0.20 seconds
Info: 4 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Couldn't set realtime scheduling priority 1: Operation not permitted
Class tree inited in 0.02 seconds
*** Welcome to SuperCollider 3.12.2. *** For help type ctrl-c ctrl-h (Emacs) or :SChelp (vim) or ctrl-U (sced/gedit).
Couldn't set realtime scheduling priority 1: Operation not permitted
### GenCaster server ###
janus_in_room: 16
janus_in_port: 6017
lang_port: 57135
synth_port: 5615
janus_out_port: 5017
name: SuperCollider16
janus_out_room: 16
osc_backend_port: 7000
osc_backend_host: localhost
janus_public_ip: 195.201.163.94
use_input: 1
### /GenCaster server ###
SuperCollider16 : setting clientID to 0.
Booting server SuperCollider16 on port 5615
Finished booting server
Start beacon
server 'SuperCollider16' already booting
Booting server 'SuperCollider16' on address 127.0.0.1:5615.
memory locking disabled due to resource limiting
Server 'SuperCollider16' exited with exit code 0.
RECEIVED ab53bd8c-5c2e-4110-b474-25113c1867d5 ( 'status': RECEIVED, 'uuid': ab53bd8c-5c2e-4110-b474-25113c1867d5 )
FINISHED ab53bd8c-5c2e-4110-b474-25113c1867d5 ( 'return_value': GenCaster.new, 'status': FINISHED, 'uuid': ab53bd8c-5c2e-4110-b474-25113c1867d5 )
RECEIVED ef6ce7e7-bf96-4e44-b14f-44121166586e ( 'status': RECEIVED, 'uuid': ef6ce7e7-bf96-4e44-b14f-44121166586e )
FINISHED ef6ce7e7-bf96-4e44-b14f-44121166586e ( 'return_value': GenCaster.new, 'status': FINISHED, 'uuid': ef6ce7e7-bf96-4e44-b14f-44121166586e )
RECEIVED 0fcd3939-2358-4efe-a46c-e8163a8ad901 ( 'status': RECEIVED, 'uuid': 0fcd3939-2358-4efe-a46c-e8163a8ad901 )
FINISHED 0fcd3939-2358-4efe-a46c-e8163a8ad901 ( 'return_value': Ndef, 'status': FINISHED, 'uuid': 0fcd3939-2358-4efe-a46c-e8163a8ad901 )
RECEIVED d187006d-f266-4d08-93ab-50d8089e8e51 ( 'status': RECEIVED, 'uuid': d187006d-f266-4d08-93ab-50d8089e8e51 )
WARNING: server not running: SuperCollider16
FINISHED d187006d-f266-4d08-93ab-50d8089e8e51 ( 'return_value': Ndef('sinOsc'), 'status': FINISHED, 'uuid': d187006d-f266-4d08-93ab-50d8089e8e51 )
RECEIVED e3888129-d0ac-4018-b273-0cbe2663016c ( 'status': RECEIVED, 'uuid': e3888129-d0ac-4018-b273-0cbe2663016c )
FINISHED e3888129-d0ac-4018-b273-0cbe2663016c ( 'return_value': GenCaster.new, 'status': FINISHED, 'uuid': e3888129-d0ac-4018-b273-0cbe2663016c )
RECEIVED c72e4098-ac30-4980-bf91-2d55050ce17d ( 'status': RECEIVED, 'uuid': c72e4098-ac30-4980-bf91-2d55050ce17d )
FINISHED c72e4098-ac30-4980-bf91-2d55050ce17d ( 'return_value': Ndef, 'status': FINISHED, 'uuid': c72e4098-ac30-4980-bf91-2d55050ce17d )
RECEIVED b1559373-8f71-44ae-af08-6e0236847487 ( 'status': RECEIVED, 'uuid': b1559373-8f71-44ae-af08-6e0236847487 )
WARNING: server not running: SuperCollider16
FINISHED b1559373-8f71-44ae-af08-6e0236847487 ( 'return_value': Ndef('sinOsc'), 'status': FINISHED, 'uuid': b1559373-8f71-44ae-af08-6e0236847487 )
Interestingly enough this is not a consistent bug as during my performance in Düsseldorf I had no problems with 16 streams.
This seems to be not tied to stream #16 but if we scale the number of SC instances up we also have anything beyond 16 silent.
ToCheck: