Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SHAttr.h

Go to the documentation of this file.
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 // stupid using directive doesn't work 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 // Active SHs 00049 typedef Attr<__LINE__,struct timeval*> SA_ACTIVE_DELAY; 00050 // Push-pull 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 // RTP source and sink 00066 // ----- typedef Attr<__LINE__,u_int32> SA_RTP_PAYLOAD_TYPE; 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 // RTP decoder, RTP encoder 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 // RTP encoder 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 // RTP decoder 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 // RTP source 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 // RTP sink 00091 typedef Attr<__LINE__,const char*> SA_RTPSNK_CLIENT_NAME; 00092 typedef Attr<__LINE__,MNSocket*> SA_RTPSNK_RTP_SOCK_PORT; 00093 // name will be changed to SA_RTPSNK_LOCAL_RTP_SOCK 00094 typedef Attr<__LINE__,MNSocket*> SA_RTPSNK_RTCP_SOCK_PORT; 00095 typedef Attr<__LINE__,int> SA_RTPSNK_CLIENT_PORT; 00096 // File source and sink 00097 typedef Attr<__LINE__,char*> SA_FILE_NAME; 00098 // File source 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 // File sink 00103 typedef Attr<__LINE__,bool> SA_FILESNK_CREAT; 00104 typedef Attr<__LINE__,bool> SA_FILESNK_APPEND; 00105 // File sink, Concatenizer, RTP decoder, RTP encoder 00106 typedef Attr<__LINE__,bool> SA_HAS_ORDERED_DATA; 00107 // Concatenizer 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 /* Experimental for TFRC - MZ */ 00113 // TCP-friendliness 00114 typedef Attr<__LINE__,bool> SA_TCPF; 00115 typedef Attr<__LINE__,int> SA_CLIENT_MAX_BW; 00116 00117 // Last 00118 typedef Attr<__LINE__,void> SA_LAST; 00119 00120 /* experimental for RTP timestamp synchronization */ 00121 // for RTPDecoder 00122 typedef Attr<__LINE__,bool> SA_IGNORE_SYNC_TIMESTAMP; 00124 00125 }; // namespace SH 00126 00127 #endif /* SH_ATTR_H */ 00128

Generated on Sun Mar 6 13:35:50 2005 for Komssys by doxygen 1.3.8