46 // From TMSStream |
46 // From TMSStream |
47 virtual gint CreateStream(const TMSCallType callType, |
47 virtual gint CreateStream(const TMSCallType callType, |
48 const TMSStreamType strmType, gint& outStrmId); |
48 const TMSStreamType strmType, gint& outStrmId); |
49 virtual gint InitStream(const TMSCallType callType, |
49 virtual gint InitStream(const TMSCallType callType, |
50 const TMSStreamType strmType, const gint strmId, |
50 const TMSStreamType strmType, const gint strmId, |
51 const TMSFormatType frmtType, const gint retryTime, |
51 const TMSFormatType frmtType, const RMessage2& message); |
52 const RMessage2& message); |
|
53 virtual gint StartStream(const TMSCallType callType, |
52 virtual gint StartStream(const TMSCallType callType, |
54 const TMSStreamType strmType, const gint strmId, |
53 const TMSStreamType strmType, const gint strmId); |
55 const gint retrytime); |
|
56 virtual gint PauseStream(const TMSCallType callType, |
54 virtual gint PauseStream(const TMSCallType callType, |
57 const TMSStreamType strmType, const gint strmId); |
55 const TMSStreamType strmType, const gint strmId); |
58 virtual gint StopStream(const TMSCallType callType, |
56 virtual gint StopStream(const TMSCallType callType, |
59 const TMSStreamType strmType, const gint strmId); |
57 const TMSStreamType strmType, const gint strmId); |
60 virtual gint DeinitStream(const TMSCallType callType, |
58 virtual gint DeinitStream(const TMSCallType callType, |
132 |
130 |
133 private: |
131 private: |
134 TMSCallIPAdpt(); |
132 TMSCallIPAdpt(); |
135 void ConstructL(); |
133 void ConstructL(); |
136 |
134 |
137 gint OpenDownlink(const RMessage2& message, const gint retrytime); |
135 gint OpenDownlink(const RMessage2& message); |
138 gint OpenUplink(const RMessage2& message, const gint retrytime); |
136 gint OpenUplink(const RMessage2& message); |
139 |
137 |
|
138 gint InitDTMF(TMSStreamType strmtype); |
140 void GetSupportedBitRatesL(CBufFlat*& brbuffer); |
139 void GetSupportedBitRatesL(CBufFlat*& brbuffer); |
141 void NotifyClient(const gint strmId, const gint command, |
140 void NotifyClient(const gint strmId, const gint command, |
142 const gint status = KErrNone, const gint64 int64 = TInt64(0)); |
141 const gint status = KErrNone, const gint64 int64 = TInt64(0)); |
143 |
142 |
144 private: |
143 private: |
149 // Message queues for communication and data transfer back to the client |
148 // Message queues for communication and data transfer back to the client |
150 RMsgQueue<TmsMsgBuf> iMsgQueueUp; |
149 RMsgQueue<TmsMsgBuf> iMsgQueueUp; |
151 RMsgQueue<TmsMsgBuf> iMsgQueueDn; |
150 RMsgQueue<TmsMsgBuf> iMsgQueueDn; |
152 TmsMsgBuf iMsgBuffer; |
151 TmsMsgBuf iMsgBuffer; |
153 |
152 |
|
153 gboolean iUplinkInitialized; |
154 gint iUplinkStreamId; |
154 gint iUplinkStreamId; |
|
155 gboolean iDnlinkInitialized; |
155 gint iDnlinkStreamId; |
156 gint iDnlinkStreamId; |
156 |
157 |
157 TMMFPrioritySettings iPriority; |
158 TMMFPrioritySettings iPriority; |
158 guint32 iUpFourCC; |
159 guint32 iUpFourCC; |
159 guint32 iDnFourCC; |
160 guint32 iDnFourCC; |