equal
deleted
inserted
replaced
138 |
138 |
139 // --------------------------------------------------------------------------- |
139 // --------------------------------------------------------------------------- |
140 // CSPVideoCall::ConnectionReady |
140 // CSPVideoCall::ConnectionReady |
141 // --------------------------------------------------------------------------- |
141 // --------------------------------------------------------------------------- |
142 // |
142 // |
143 void CSPVideoCall::ConnectionReady( TName aDataPortName ) |
143 void CSPVideoCall::ConnectionReady( TName& aDataPortName ) |
144 { |
144 { |
145 CSPLOGSTRING3(CSPINT, "CSPVideoCall::ConnectionReady \ |
145 CSPLOGSTRING3(CSPINT, "CSPVideoCall::ConnectionReady \ |
146 state = %d, next state: %d", iCallState, iNextCallState); |
146 state = %d, next state: %d", iCallState, iNextCallState); |
147 |
147 |
148 // If still connecting |
148 // If still connecting |
301 CCPCall::TCallType callType = SelectCallTypeFromProtocolCaps(); |
301 CCPCall::TCallType callType = SelectCallTypeFromProtocolCaps(); |
302 iParams->SetCallType( callType ); |
302 iParams->SetCallType( callType ); |
303 } |
303 } |
304 |
304 |
305 // Filter out illegal requests |
305 // Filter out illegal requests |
306 if ( !CCPCall::ECallTypeVideo == iParams->CallType() ) |
306 if ( !(CCPCall::ECallTypeVideo == iParams->CallType()) ) |
307 { |
307 { |
308 CSPLOGSTRING(CSPERROR, "CSPVideoCall::ConstructL() error invalid call type"); |
308 CSPLOGSTRING(CSPERROR, "CSPVideoCall::ConstructL() error invalid call type"); |
309 User::Leave( KErrArgument ); |
309 User::Leave( KErrArgument ); |
310 } |
310 } |
311 |
311 |