blob: 24ac7f6dc7d692ea45e33d213c840e38f7654bdb [file] [log] [blame]
/* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
#ifndef PVMF_DOWNLOADMANAGER_CONFIG_H_INCLUDED
#define PVMF_DOWNLOADMANAGER_CONFIG_H_INCLUDED
/*!
** This file contains a set of 0/1 flags to be used to disable/enable
** various features in download manager.
*/
/*!
** Support progressive playback.
*/
#ifndef PVMF_DOWNLOADMANAGER_SUPPORT_PPB
#define PVMF_DOWNLOADMANAGER_SUPPORT_PPB 1
#endif
/*!
** A tunable parameter setting the number of TCP buffers to
** use for progressive playback.
*/
#ifndef PVMF_DOWNLOADMANAGER_MIN_TCP_BUFFERS_FOR_PPB
#define PVMF_DOWNLOADMANAGER_MIN_TCP_BUFFERS_FOR_PPB 8
#endif
/*!
** A tunable parameter setting the MBDS cache size to
** use for shoutcast in seconds.
** PE node required jitter buffer size is 4 seconds.
*/
#ifndef PVMF_DOWNLOADMANAGER_CACHE_SIZE_FOR_SC_IN_SECONDS
#define PVMF_DOWNLOADMANAGER_CACHE_SIZE_FOR_SC_IN_SECONDS 6
#endif
/*!
** A tunable parameter setting the maximum clip bitrate supported
** by shoutcast in kbps
*/
#ifndef PVMF_DOWNLOADMANAGER_MAX_BITRATE_FOR_SC
#define PVMF_DOWNLOADMANAGER_MAX_BITRATE_FOR_SC 128
#endif
#endif // PVMF_DOWNLOADMANAGER_CONFIG_H_INCLUDED