equal
deleted
inserted
replaced
26 #include "calladpt.h" |
26 #include "calladpt.h" |
27 |
27 |
28 namespace TMS { |
28 namespace TMS { |
29 |
29 |
30 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
31 class TMSVoIPDownlink; |
31 class TMSIPDownlink; |
32 class TMSVoIPUplink; |
32 class TMSIPUplink; |
33 |
33 |
34 // CallIPAdpt class |
34 // TMSCallIPAdpt class |
35 class CallIPAdpt : public CallAdpt |
35 class TMSCallIPAdpt : public TMSCallAdpt |
36 { |
36 { |
37 public: |
37 public: |
38 // Constractor |
38 // Constractor |
39 static CallIPAdpt* NewL(); |
39 static TMSCallIPAdpt* NewL(); |
40 |
40 |
41 virtual ~CallIPAdpt(); |
41 virtual ~TMSCallIPAdpt(); |
42 virtual gint PostConstruct(); |
42 virtual gint PostConstruct(); |
43 |
43 |
44 virtual gint CreateStream(TMSCallType callType, TMSStreamType strmType, |
44 virtual gint CreateStream(TMSCallType callType, TMSStreamType strmType, |
45 gint& outStrmId); |
45 gint& outStrmId); |
46 virtual gint InitStreamL(TMSCallType callType, TMSStreamType strmType, |
46 virtual gint InitStreamL(TMSCallType callType, TMSStreamType strmType, |
115 gint GetDataXferChunkHndl(const TMSStreamType strmType, |
115 gint GetDataXferChunkHndl(const TMSStreamType strmType, |
116 const TUint32 key, RChunk& chunk); |
116 const TUint32 key, RChunk& chunk); |
117 |
117 |
118 private: |
118 private: |
119 void ConstructL(); |
119 void ConstructL(); |
120 CallIPAdpt(); |
120 TMSCallIPAdpt(); |
121 |
121 |
122 void NotifyClient(const gint strmId, const TInt aCommand, |
122 void NotifyClient(const gint strmId, const TInt aCommand, |
123 const TInt aStatus = KErrNone, const TInt64 aInt64 = TInt64(0)); |
123 const TInt aStatus = KErrNone, const TInt64 aInt64 = TInt64(0)); |
124 //void DetermineG711FrameRateL(); //G711 10/20ms |
124 //void DetermineG711FrameRateL(); //G711 10/20ms |
125 void GetSupportedBitRatesL(CBufFlat*& brbuffer); |
125 void GetSupportedBitRatesL(CBufFlat*& brbuffer); |
129 gboolean iUplinkInitialized; |
129 gboolean iUplinkInitialized; |
130 gint iUplinkStreamId; |
130 gint iUplinkStreamId; |
131 gboolean iDnlinkInitialized; |
131 gboolean iDnlinkInitialized; |
132 gint iDnlinkStreamId; |
132 gint iDnlinkStreamId; |
133 |
133 |
134 TMSVoIPDownlink* iVoIPDownlink; |
134 TMSIPDownlink* iIPDownlink; |
135 TMSVoIPUplink* iVoIPUplink; |
135 TMSIPUplink* iIPUplink; |
136 |
136 |
137 // Message queues for communication and data transfer back to the client |
137 // Message queues for communication and data transfer back to the client |
138 RMsgQueue<TmsMsgBuf> iMsgQueueUp; |
138 RMsgQueue<TmsMsgBuf> iMsgQueueUp; |
139 RMsgQueue<TmsMsgBuf> iMsgQueueDn; |
139 RMsgQueue<TmsMsgBuf> iMsgQueueDn; |
140 |
140 |