/* Get the output rate, which must be a multiple of 44,100*/
if (config_lookup_int(config.cfg, "alsa.output_rate", &value)) {
- debug(1, "Value read for output rate is %d.", value);
+ debug(1, "alsa output rate is %d frames per second", value);
switch (value) {
case 44100:
case 88200:
int debug_level = 3; // for printing the request and response
reply = rtsp_read_request(conn, &req);
if (reply == rtsp_read_request_response_ok) {
- if (strcmp(req->method,"TEARDOWN")==0)
+ if (strcmp(req->method,"OPTIONS")!=0)
debug_level=2;
debug(debug_level, "RTSP thread %d received an RTSP Packet of type \"%s\":", conn->connection_number,
req->method),
const char *pid_file_proc(void) {
snprintf(pid_file_path_string, sizeof(pid_file_path_string), "%s/%s.pid", config.computed_piddir,
daemon_pid_file_ident ? daemon_pid_file_ident : "unknown");
- debug(1,"pid_file_path_string \"%s\".",pid_file_path_string);
+ // debug(1,"pid_file_path_string \"%s\".",pid_file_path_string);
return pid_file_path_string;
}
/* Print out options */
debug(1, "statistics_requester status is %d.", config.statistics_requested);
debug(1, "daemon status is %d.", config.daemonise);
- debug(1, "deamon pid file is \"%s\".", pid_file_proc());
+ debug(1, "deamon pid file path is \"%s\".", pid_file_proc());
debug(1, "rtsp listening port is %d.", config.port);
debug(1, "udp base port is %d.", config.udp_port_base);
debug(1, "udp port range is %d.", config.udp_port_range);