Okay so I want the module to be blank, NOT instance_nameSetting "module" to blank prevents your JSON from opening sockaudio.py. This is necessary when using Liquidsoap to avoid
conflicts in that the source input() function contained in the LIQ script calls audio.py that in turn imports sockaudio.py.
You still have the option of using local speaker or headphone audio in addition to streaming by enabling the appropriate
"Local Audio Output" operator in your LIQ script.
Keep in mind the "Default" UDP audio port in op25 is 23456 and you'll need to set the "Channel Destination" to this port, or you
can opt to configure audio.py (inside of your LIQ script) to match a different port selected for your "Channel Destination".
JSON:"audio": { "module": "", "instances": [ { "instance_name": "audio0", "device_name": "default", "udp_port": 23466, "audio_gain": 1.0, "number_channels": 1 }
cause I was running it like this
Code:
"audio": {
"module": "sockaudio.py",
"instances": [
{
"instance_name": "",
"device_name": "default",
"udp_port": 22388,
"audio_gain": 1.0,
"number_channels": 1
}
]
}