mmserv/tms/tmscallproxy/src/tmscallproxy.cpp
changeset 21 2ed61feeead6
parent 12 5a06f39ad45b
child 46 0ac9a5310753
--- a/mmserv/tms/tmscallproxy/src/tmscallproxy.cpp	Fri May 14 18:19:45 2010 -0500
+++ b/mmserv/tms/tmscallproxy/src/tmscallproxy.cpp	Fri May 28 19:26:28 2010 -0500
@@ -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);