00001
#ifndef SH_ATTR_H
00002
#define SH_ATTR_H
00003
00004
#include <sys/types.h>
00005
00006
#include "MNAttr.h"
00007
#include "sdp/PayloadTypes.h"
00008
#include "sdp/RetransTypes.h"
00009
00010
#include "SHEndpoint.h"
00011
00012
00013
namespace SDP
00014 {
00015
class PayloadTypeTable;
00016 };
00017
00018
class MNSocket;
00019
00020
namespace SH
00021 {
00022
00047 typedef Attr<0, void> SA_NONE;
00048
00049 typedef Attr<__LINE__,struct timeval*> SA_ACTIVE_DELAY;
00050
00051 typedef Attr<__LINE__,int32_t> SA_PUSH_PULL_LOW_MARK;
00052 typedef Attr<__LINE__,int32_t> SA_PUSH_PULL_HIGH_MARK;
00053 typedef Attr<__LINE__,bool> SA_PUSH_PULL_NONEBLOCKING_POP;
00054
00063 typedef Attr<__LINE__,int32_t> SA_PUSH_PULL_INITIAL_FILL;
00064
00065
00066
00067
00068 typedef Attr< __LINE__,const SDP::PayloadTypeTable*> SA_RTP_PAYLOAD_TYPES;
00069 typedef Attr<__LINE__,int> SA_RTP_RTP_PAYLOAD_TYPE;
00070 typedef Attr<__LINE__,u_int32> SA_RTP_BANDWIDTH;
00071
00072 typedef Attr< __LINE__,SDP::PayloadTypes> SA_RTP_INT_PAYLOAD_TYPE;
00073 typedef Attr< __LINE__,SDP::RetransTypes> SA_RTP_INT_RETRANS_TYPE;
00074 typedef Attr<__LINE__,u_int32> SA_LCRTP_REPEAT_TIMES;
00075
00076 typedef Attr<__LINE__,u_int32> SA_RTP_MAX_PACKET_SIZE;
00077 typedef Attr<__LINE__,int32> SA_RTP_PLAYOUT_SCALE;
00078 typedef Attr<__LINE__,u_int32> SA_RTP_SSRC;
00079 typedef Attr<__LINE__,u_int32> SA_LCRTP_END_TIMEOUT;
00080
00081 typedef Attr<__LINE__,u_int32> SA_LCRTP_LIST_TIMEOUT;
00082 typedef Attr<__LINE__,u_int32_t> SA_RTP_SEQ_LISTEN;
00083 typedef Attr<__LINE__,u_int32_t> SA_RTP_TIME_LISTEN;
00084
00085 typedef Attr<__LINE__,u_int32> SA_RTPSRC_REMOTE_UPSTREAM_PORT;
00086 typedef Attr<__LINE__,MNSocket*> SA_RTPSRC_RTP_SOCK;
00087 typedef Attr<__LINE__,MNSocket*> SA_RTPSRC_RTCP_SOCK;
00088 typedef Attr<__LINE__,const char*> SA_RTPSRC_TARGET_ADDRESS;
00089 typedef Attr<__LINE__,bool> SA_RTPSRC_IGNORE_RTCP_RR;
00090
00091 typedef Attr<__LINE__,const char*> SA_RTPSNK_CLIENT_NAME;
00092 typedef Attr<__LINE__,MNSocket*> SA_RTPSNK_RTP_SOCK_PORT;
00093
00094 typedef Attr<__LINE__,MNSocket*> SA_RTPSNK_RTCP_SOCK_PORT;
00095 typedef Attr<__LINE__,int> SA_RTPSNK_CLIENT_PORT;
00096
00097 typedef Attr<__LINE__,char*> SA_FILE_NAME;
00098
00099 typedef Attr<__LINE__,SourceUnit> SA_FILESRC_DEFAULT_UNIT;
00100 typedef Attr<__LINE__,long> SA_FILESRC_START_POS;
00101 typedef Attr<__LINE__,long> SA_FILESRC_STOP_POS;
00102
00103 typedef Attr<__LINE__,bool> SA_FILESNK_CREAT;
00104 typedef Attr<__LINE__,bool> SA_FILESNK_APPEND;
00105
00106 typedef Attr<__LINE__,bool> SA_HAS_ORDERED_DATA;
00107
00108 typedef Attr<__LINE__,size_t> SA_CONCATINIZER_MEM_THRESHOLD;
00109 typedef Attr<__LINE__,size_t> SA_CONCATINIZER_BUFFER_SIZE;
00110 typedef Attr<__LINE__,bool> SA_CONCATINIZER_CACHING_ENABLED;
00111
00112
00113
00114 typedef Attr<__LINE__,bool> SA_TCPF;
00115 typedef Attr<__LINE__,int> SA_CLIENT_MAX_BW;
00116
00117
00118 typedef Attr<__LINE__,void> SA_LAST;
00119
00120
00121
00122 typedef Attr<__LINE__,bool> SA_IGNORE_SYNC_TIMESTAMP;
00124
00125 };
00126
00127
#endif
00128