mmserv/tms/tmscallserver/src/tmsipcalluplinkds.cpp
branchRCL_3
changeset 45 095bea5f582e
parent 40 60e492b28869
child 46 0ac9a5310753
--- a/mmserv/tms/tmscallserver/src/tmsipcalluplinkds.cpp	Thu Aug 19 10:26:11 2010 +0300
+++ b/mmserv/tms/tmscallserver/src/tmsipcalluplinkds.cpp	Tue Aug 31 15:43:02 2010 +0300
@@ -61,11 +61,12 @@
 // -----------------------------------------------------------------------------
 //
 TMSIPUplink* TMSIPUplink::NewL(TMSIPDevSoundObserver& observer,
-        const guint32 codecID, const TMMFPrioritySettings priority)
+        const guint32 codecID, const TMMFPrioritySettings priority,
+        const gint retrytime)
     {
     TMSIPUplink* self = new (ELeave) TMSIPUplink(observer);
     CleanupStack::PushL(self);
-    self->ConstructL(codecID, priority);
+    self->ConstructL(codecID, priority, retrytime);
     CleanupStack::Pop(self);
     return self;
     }
@@ -76,7 +77,7 @@
 // -----------------------------------------------------------------------------
 //
 void TMSIPUplink::ConstructL(const guint32 codecID,
-        const TMMFPrioritySettings priority)
+        const TMMFPrioritySettings priority, const gint /*retrytime*/)
     {
     TRACE_PRN_FN_ENT;
     iCodecID = codecID;
@@ -100,7 +101,7 @@
 //
 // -----------------------------------------------------------------------------
 //
-void TMSIPUplink::Start()
+void TMSIPUplink::Start(const gint /*retrytime*/)
     {
     TRACE_PRN_FN_ENT;
 
@@ -111,12 +112,7 @@
         {
         TRAP(err, iDevSound->RecordInitL());
         TRACE_PRN_IF_ERR(err);
-
-        if (err != TMS_RESULT_SUCCESS)
-            {
-            iStatus = EReady;
-            iObserver.UplinkStarted(err);
-            }
+        iObserver.UplinkStarted(err);
         }
     TRACE_PRN_FN_EXT;
     }