KLocation LocationModel::location(int idx) const { int sz = _storage->locations()->size(); if (idx >= 0 && idx < sz) return _storage->locations()->at(idx); return KLocation(); }
void UT_CMccRtcpReceiver::UT_CMccRtcpReceiver_SdesReceivedL() { iExpectedPackets++; iTmpSsrc = KSsrcSdes; TRtpSdesParams params; _LIT8(KCName, "foofoo"); params.iCName.Set( KCName() ); _LIT8(KLocation, "foo2foo2"); params.iLocation.Set( KLocation() ); iRtcpReceiver->SdesReceived( iTmpSsrc, params ); }