<!--audio sample rate and interval -->
<param name="sample-rate" value="48000"/>
<param name="codec-ms" value="20"/>
+
+ <!--uncomment the following line to make mod_portaudio fail to load if it fails to find a device-->
+ <!-- <param name="unload-on-device-fail" value="true"/> -->
</settings>
<!--
<param name="codec-ms" value="20"/>
<!--uncomment the following line to make mod_portaudio fail to load if it fails to find a device-->
- <param name="unload-on-device-fail" value="true"/>
+ <!-- <param name="unload-on-device-fail" value="true"/> -->
</settings>
<!--
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error invalid output audio device\n");
return NULL;
}
- if (indev == -1) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error invalid input audio device\n");
- return NULL;
- }
if (create_codecs(0) != SWITCH_STATUS_SUCCESS) {
return NULL;
}