• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ------------------------------------------------------------------
2  * Copyright (C) 1998-2009 PacketVideo
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18 
19 #ifndef RTSP_PAR_COM_TUNABLE_H_
20 #define RTSP_PAR_COM_TUNABLE_H_
21 
22 
23 // this is a tunable area for ParCom; Player and Server might require
24 // different parameters; set them here
25 //
26 
27 // player RTSP ParCom tuning
28 //changed from 1000 to 4000 because ASF TCP streaming.
29 #define RTSP_MAX_FULL_REQUEST_SIZE 4000
30 #define RTSP_PARSER_BUFFER_SIZE 4000
31 #define RTSP_MAX_NUMBER_OF_FIELDS 20
32 #define RTSP_HUGE_NUMBER_OF_FIELDS_IN_PARSER 60
33 #define RTSP_MAX_NUMBER_OF_RTP_INFO_ENTRIES 10
34 #define RTSP_MAX_NUMBER_OF_TRANSPORT_ENTRIES 5
35 #define RTSP_RESYNC_PRESERVE_SIZE 20
36 
37 //#ifdef RTSP_PLAYLIST_SUPPORT
38 #define RTSP_MAX_NUMBER_OF_PLAYLIST_ERROR_ENTRIES 10
39 #define RTSP_MAX_NUMBER_OF_SUPPORTED_ENTRIES 32
40 //#endif
41 
42 #endif // RTSP_PAR_COM_TUNABLE_H_
43