# HG changeset patch # User rbultje # Date 1275422426 0 # Node ID ac73cfb210dccd5d4b7bfc67c84dbdb35c94227b # Parent f3000d7fad52d63a421205e2bbcbe01f1f70f586 Change default number of channels (used if unspecified in the format desc) from 2 to 1, which is the actual value used in the spec. Fixes issue1978. Path by John Wimer . diff -r f3000d7fad52 -r ac73cfb210dc rtsp.h --- a/rtsp.h Tue Jun 01 19:49:21 2010 +0000 +++ b/rtsp.h Tue Jun 01 20:00:26 2010 +0000 @@ -52,7 +52,7 @@ #define RTSP_DEFAULT_PORT 554 #define RTSP_MAX_TRANSPORTS 8 #define RTSP_TCP_MAX_PACKET_SIZE 1472 -#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 2 +#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 1 #define RTSP_DEFAULT_AUDIO_SAMPLERATE 44100 #define RTSP_RTP_PORT_MIN 5000 #define RTSP_RTP_PORT_MAX 10000