mmserv/tms/tmscallproxy/src/tmscallproxy.cpp
changeset 31 8dfd592727cb
parent 12 5a06f39ad45b
child 46 0ac9a5310753
--- a/mmserv/tms/tmscallproxy/src/tmscallproxy.cpp	Thu May 27 13:20:50 2010 +0300
+++ b/mmserv/tms/tmscallproxy/src/tmscallproxy.cpp	Wed Jun 23 18:47:10 2010 +0300
@@ -119,7 +119,8 @@
 //
 EXPORT_C gint TMSCallProxy::InitStream(const TMSCallType callType,
         const TMSStreamType strmType, gint strmId,
-        const TMSFormatType frmtType, RHandleBase* msgQueue)
+        const TMSFormatType frmtType, RHandleBase* msgQueue,
+        const gint retrytime)
     {
     TRACE_PRN_FN_ENT;
     gint status(TMS_RESULT_SUCCESS);
@@ -128,6 +129,7 @@
     inPckg().StreamType = strmType;
     inPckg().StreamId = strmId;
     inPckg().FormatType = frmtType;
+    inPckg().RetryTime = retrytime;
     status = RSessionBase::SendReceive(TMS_INIT_STREAM, TIpcArgs(&inPckg,
             *msgQueue));
     TRACE_PRN_FN_EXT;
@@ -140,7 +142,7 @@
 // -----------------------------------------------------------------------------
 //
 EXPORT_C gint TMSCallProxy::StartStream(const TMSCallType callType,
-        const TMSStreamType strmType, gint strmId)
+        const TMSStreamType strmType, gint strmId, const gint retrytime)
     {
     TRACE_PRN_FN_ENT;
     gint status(TMS_RESULT_SUCCESS);
@@ -148,6 +150,7 @@
     inPckg().CallType = callType;
     inPckg().StreamType = strmType;
     inPckg().StreamId = strmId;
+    inPckg().RetryTime = retrytime;
     status = RSessionBase::SendReceive(TMS_START_STREAM, TIpcArgs(&inPckg));
     TRACE_PRN_FN_EXT;
     return TMSRESULT(status);