equal
deleted
inserted
replaced
1399 SVPDEBUG2("CSVPController::IncomingSessionHandlerL Streamcount: %d", |
1399 SVPDEBUG2("CSVPController::IncomingSessionHandlerL Streamcount: %d", |
1400 streams.Count() ); |
1400 streams.Count() ); |
1401 |
1401 |
1402 // disable rtp source and speaker sink so that audio is not on |
1402 // disable rtp source and speaker sink so that audio is not on |
1403 // before session is up signalling-wise |
1403 // before session is up signalling-wise |
1404 for ( TInt i = 0; i < streams.Count(); i++ ) |
1404 for ( TInt i = 0; i < streams.Count(); ) |
1405 { |
1405 { |
1406 SVPDEBUG1( "CSVPController::IncomingSessionHandlerL disabling" ); |
1406 SVPDEBUG1( "CSVPController::IncomingSessionHandlerL disabling" ); |
1407 |
1407 |
1408 CMceMediaStream* stream1 = streams[i]; |
1408 CMceMediaStream* stream1 = streams[i]; |
1409 |
1409 |
1426 stream1->Source() ); |
1426 stream1->Source() ); |
1427 } |
1427 } |
1428 |
1428 |
1429 SVPAudioUtility::DisableSpeakerSinkL( stream1->Sinks() ); |
1429 SVPAudioUtility::DisableSpeakerSinkL( stream1->Sinks() ); |
1430 SVPAudioUtility::DisableMicSourceL( *stream1 ); |
1430 SVPAudioUtility::DisableMicSourceL( *stream1 ); |
|
1431 //remove all streams that not audio stream |
|
1432 i++; |
1431 } |
1433 } |
1432 } |
1434 } |
1433 |
1435 |
1434 // sets MMF priorities and sets codec specific settings |
1436 // sets MMF priorities and sets codec specific settings |
1435 CheckStreamsL( *voipProfiles[ 0 ], *aSession, keepAliveValue ); |
1437 CheckStreamsL( *voipProfiles[ 0 ], *aSession, keepAliveValue ); |