Skip to content

Commit 03cdd02

Browse files
VPLAY-11763 many WARN logs while tuning that should be MIL (milestone) (#674)
VPLAY-11763 many WARN logs while tuning that should be MIL (milestone) Reason for Change: convert batch of milestone logging from AAMPLOG_WARN to AAMPLOG_MIL Test Guidance: review logs while tuning Risk: Low --------- Signed-off-by: Philip Stroffolino <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent b9dc37c commit 03cdd02

9 files changed

+47
-44
lines changed

AampCMCDCollector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void AampCMCDCollector::Initialize(bool enableDisable , std::string &traceId)
7474
traceId = sid;
7575
}
7676
mTraceId = traceId;
77-
AAMPLOG_WARN("CMCD Enabled. TraceId:%s", mTraceId.c_str());
77+
AAMPLOG_MIL("CMCD Enabled. TraceId:%s", mTraceId.c_str());
7878
// Create metric handlers for each stream type
7979
// Add it to table
8080
CMCDHeaders *pCMCDMetrics = NULL;

AampDRMLicPreFetcher.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ bool AampLicensePreFetcher::QueueContentProtection(DrmHelperPtr drmHelper, std::
176176
mFetchQueue.push_back(std::move(fetchObject));
177177
if (!mPreFetchThreadStarted)
178178
{
179-
AAMPLOG_WARN("Starting mPreFetchThread");
179+
AAMPLOG_MIL("Starting mPreFetchThread");
180180
mPreFetchThread = std::thread(&AampLicensePreFetcher::PreFetchThread, this);
181181
mPreFetchThreadStarted = true;
182182
}
183183
else
184184
{
185-
AAMPLOG_WARN("Notify mPreFetchThread");
185+
AAMPLOG_MIL("Notify mPreFetchThread");
186186
mQCond.notify_one();
187187
}
188188
}

AampEventManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void AampEventManager::FlushPendingEvents()
8585
std::lock_guard<std::mutex> guard(mMutexVar);
8686
while(!mEventWorkerDataQue.empty())
8787
{
88-
// Remove each AampEventPtr from the queue , not deleting the Shard_ptr
88+
// Remove each AampEventPtr from the queue, not deleting the shared_ptr
8989
mEventWorkerDataQue.pop();
9090
}
9191

@@ -380,7 +380,7 @@ void AampEventManager::SendEventSync(const AAMPEventPtr &eventData)
380380
}
381381
else
382382
{
383-
AAMPLOG_WARN("(type=%d)(state=%d)(session_id=%s)", eventType, std::dynamic_pointer_cast<StateChangedEvent>(eventData)->getState(),
383+
AAMPLOG_MIL("(type=%d)(state=%d)(session_id=%s)", eventType, std::dynamic_pointer_cast<StateChangedEvent>(eventData)->getState(),
384384
eventData->GetSessionId().c_str());
385385
}
386386
}

AampMPDParseHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ double AampMPDParseHelper::GetPeriodDuration(int periodIndex,uint64_t mLastPlayl
851851
if(mMediaPresentationDuration != 0 )
852852
{
853853
periodDurationMs = mMediaPresentationDuration;
854-
AAMPLOG_WARN("period duration based on mMediaPresentationDuration =%f",periodDurationMs );
854+
AAMPLOG_MIL("period duration based on mMediaPresentationDuration =%f",periodDurationMs );
855855
return mMediaPresentationDuration;
856856
}
857857
//Next priority for duration tag

fragmentcollector_hls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3422,7 +3422,7 @@ AAMPStatusType StreamAbstractionAAMP_HLS::Init(TuneType tuneType)
34223422
//set default bitrate
34233423
else
34243424
{
3425-
AAMPLOG_WARN("Using defaultBitrate %ld . PersistBandwidth : %ld TimeGap : %ld",aamp->GetDefaultBitrate(),persistbandwidth,TimeGap);
3425+
AAMPLOG_MIL("Using defaultBitrate %ld . PersistBandwidth : %ld TimeGap : %ld",aamp->GetDefaultBitrate(),persistbandwidth,TimeGap);
34263426
aamp->mhAbrManager.setDefaultInitBitrate(aamp->GetDefaultBitrate());
34273427

34283428
}

fragmentcollector_mpd.cpp

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ bool StreamAbstractionAAMP_MPD::PushNextFragment( class MediaStreamContext *pMed
18651865
}
18661866
else
18671867
{
1868-
AAMPLOG_WARN("segmentURL is null"); //CID:82493 ,86180 - Null Returns
1868+
AAMPLOG_WARN("segmentURL is null"); //CID:82493 ,86180 - Null Returns
18691869
}
18701870
}
18711871
else
@@ -2535,7 +2535,7 @@ double StreamAbstractionAAMP_MPD::SkipFragments( MediaStreamContext *pMediaStrea
25352535
}
25362536
else
25372537
{
2538-
AAMPLOG_WARN("videoContext is null"); //CID:82361 - Null Returns
2538+
AAMPLOG_WARN("videoContext is null"); //CID:82361 - Null Returns
25392539
}
25402540
}
25412541

@@ -2905,7 +2905,7 @@ DrmHelperPtr StreamAbstractionAAMP_MPD::CreateDrmHelper(const IAdaptationSet * a
29052905
}
29062906
else if (tagName.find("mspr:pro") != std::string::npos)
29072907
{
2908-
AAMPLOG_WARN("Unsupported PSSH data format - MSPR found in manifest");
2908+
AAMPLOG_WARN("Unsupported PSSH data format - MSPR found in manifest");
29092909
}
29102910
}
29112911
}
@@ -2977,7 +2977,7 @@ DrmHelperPtr StreamAbstractionAAMP_MPD::CreateDrmHelper(const IAdaptationSet * a
29772977
// Track the best DRM available to use
29782978
else if ((!drmHelper) || (GetDrmPrefs(drmInfo.systemUUID) > GetDrmPrefs(drmHelper->getUuid())))
29792979
{
2980-
AAMPLOG_WARN("(%s) Created DRM helper for UUID %s and best to use", GetMediaTypeName(mediaType), drmInfo.systemUUID.c_str());
2980+
AAMPLOG_MIL("(%s) Created DRM helper for UUID %s and best to use", GetMediaTypeName(mediaType), drmInfo.systemUUID.c_str());
29812981
drmHelper = tmpDrmHelper;
29822982
}
29832983
}
@@ -3313,7 +3313,7 @@ AAMPStatusType StreamAbstractionAAMP_MPD::Init(TuneType tuneType)
33133313
mAvailabilityStartTime = mMPDParseHelper->GetAvailabilityStartTime();
33143314
mTSBDepth = mMPDParseHelper->GetTSBDepth();
33153315
mPresentationOffsetDelay = mMPDParseHelper->GetPresentationOffsetDelay();
3316-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: AvailabilityStartTime=%f", mAvailabilityStartTime);
3316+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: AvailabilityStartTime=%f", mAvailabilityStartTime);
33173317

33183318
mFirstPeriodStartTime = mMPDParseHelper->GetPeriodStartTime(0,mLastPlaylistDownloadTimeMs);
33193319
if(aamp->mProgressReportOffset < 0)
@@ -3323,7 +3323,7 @@ AAMPStatusType StreamAbstractionAAMP_MPD::Init(TuneType tuneType)
33233323
aamp->mProgressReportAvailabilityOffset = mAvailabilityStartTime;
33243324
}
33253325

3326-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: MPD minupdateduration val %" PRIu64 " seconds mTSBDepth %f mPresentationOffsetDelay :%f StartTimeFirstPeriod: %lf offsetStartTime: %lf", mMinUpdateDurationMs/1000, mTSBDepth, mPresentationOffsetDelay, mFirstPeriodStartTime, aamp->mProgressReportOffset);
3326+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: MPD minupdateduration val %" PRIu64 " seconds mTSBDepth %f mPresentationOffsetDelay :%f StartTimeFirstPeriod: %lf offsetStartTime: %lf", mMinUpdateDurationMs/1000, mTSBDepth, mPresentationOffsetDelay, mFirstPeriodStartTime, aamp->mProgressReportOffset);
33273327

33283328
aamp->mTsbDepthMs = CONVERT_SEC_TO_MS(mTSBDepth);
33293329

@@ -3900,7 +3900,7 @@ AAMPStatusType StreamAbstractionAAMP_MPD::Init(TuneType tuneType)
39003900
//CheckForInitalClearPeriod() check if the current period is clear or encrypted
39013901
if (pushEncInitFragment && CheckForInitalClearPeriod())
39023902
{
3903-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Pushing EncryptedHeaders");
3903+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Pushing EncryptedHeaders");
39043904
std::map<int, std::string> headers;
39053905

39063906
// Getting the headers alone will not cache the protectionEvent in sink which fails to select drmSession in decryptor
@@ -3953,7 +3953,7 @@ AAMPStatusType StreamAbstractionAAMP_MPD::Init(TuneType tuneType)
39533953
ExtractAndAddSubtitleMediaHeader();
39543954
}
39553955

3956-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: fetch initialization fragments");
3956+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: fetch initialization fragments");
39573957
// We have decided on the first period, calculate the PTSoffset to be applied to
39583958
// all segments including the init segments for the GST buffer that goes with the init
39593959
mPTSOffset = 0.0;
@@ -5897,7 +5897,7 @@ void StreamAbstractionAAMP_MPD::ParseTrackInformation(IAdaptationSet *adaptation
58975897
}
58985898
else
58995899
{
5900-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Audio Track - lang:%s, group:%s, name:%s, codec:%s, bandwidth:%ld, AccessibilityType:%s label:%s type:%s availability:%d",
5900+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Audio Track - lang:%s, group:%s, name:%s, codec:%s, bandwidth:%ld, AccessibilityType:%s label:%s type:%s availability:%d",
59015901
lang.c_str(), group.c_str(), name.c_str(), codec.c_str(), bandwidth, accessibilityType.c_str(), label.c_str(), type.c_str(), isAvailable);
59025902
aTracks.push_back(AudioTrackInfo(std::move(index), lang, group, std::move(name), codec, bandwidth, accessibilityType, false, label, type, accessibilityNode, isAvailable));
59035903
}
@@ -6225,10 +6225,10 @@ void StreamAbstractionAAMP_MPD::SelectSubtitleTrack(bool newTune, std::vector<Te
62256225
pMediaStreamContext->representationIndex = selRepresentationIndex;
62266226
pMediaStreamContext->profileChanged = true;
62276227

6228-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Media[%s] Adaptation set[%d] RepIdx[%d] TrackCnt[%d]",
6228+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Media[%s] Adaptation set[%d] RepIdx[%d] TrackCnt[%d]",
62296229
GetMediaTypeName(eMEDIATYPE_SUBTITLE),selAdaptationSetIndex,selRepresentationIndex,(mNumberOfTracks+1) );
62306230

6231-
AAMPLOG_WARN("Queueing content protection from StreamSelection for type:%d", eMEDIATYPE_SUBTITLE);
6231+
AAMPLOG_MIL("Queueing content protection from StreamSelection for type:%d", eMEDIATYPE_SUBTITLE);
62326232
QueueContentProtection(period, selAdaptationSetIndex,eMEDIATYPE_SUBTITLE );
62336233
// Check if the track was enabled mid-playback, eg - subtitles. Then we might need to start injection loop
62346234
// For now, do this only for subtitles
@@ -6250,7 +6250,7 @@ void StreamAbstractionAAMP_MPD::SelectSubtitleTrack(bool newTune, std::vector<Te
62506250
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: No valid adaptation set found for Media[%s]",GetMediaTypeName(eMEDIATYPE_SUBTITLE));
62516251
}
62526252

6253-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Media[%s] %s",
6253+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Media[%s] %s",
62546254
GetMediaTypeName(eMEDIATYPE_SUBTITLE), pMediaStreamContext->enabled?"enabled":"disabled");
62556255

62566256
// Enable/ disable subtitle mediastream context based on stream selection status
@@ -6685,10 +6685,10 @@ void StreamAbstractionAAMP_MPD::SwitchAudioTrack()
66856685
// This might cause an unwanted content prot to be queued and delay playback start
66866686
if ( !mMultiVideoAdaptationPresent)
66876687
{
6688-
AAMPLOG_WARN("Queueing content protection from StreamSelection for type:%d", eMEDIATYPE_AUDIO);
6688+
AAMPLOG_MIL("Queueing content protection from StreamSelection for type:%d", eMEDIATYPE_AUDIO);
66896689
QueueContentProtection(period, selAdaptationSetIndex, (AampMediaType)eMEDIATYPE_AUDIO);
66906690
}
6691-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Media[%s] Adaptation set[%d] RepIdx[%d] TrackCnt[%d]",
6691+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Media[%s] Adaptation set[%d] RepIdx[%d] TrackCnt[%d]",
66926692
GetMediaTypeName(AampMediaType(eMEDIATYPE_AUDIO)),selAdaptationSetIndex,selRepresentationIndex,(mNumberOfTracks+1) );
66936693

66946694
AAMPLOG_INFO("StreamAbstractionAAMP_MPD: Media[%s] %s",
@@ -6925,14 +6925,14 @@ void StreamAbstractionAAMP_MPD::StreamSelection( bool newTune, bool forceSpeedsC
69256925
pMediaStreamContext->representationIndex = selRepresentationIndex;
69266926
pMediaStreamContext->profileChanged = true;
69276927

6928-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Media[%s] Adaptation set[%d] RepIdx[%d] TrackCnt[%d]",
6928+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Media[%s] Adaptation set[%d] RepIdx[%d] TrackCnt[%d]",
69296929
GetMediaTypeName(AampMediaType(i)),selAdaptationSetIndex,selRepresentationIndex,(mNumberOfTracks+1) );
69306930

69316931
// Skip processing content protection for multi video, since the right adaptation will be selected only after ABR
69326932
// This might cause an unwanted content prot to be queued and delay playback start
69336933
if (eMEDIATYPE_VIDEO != i || !mMultiVideoAdaptationPresent)
69346934
{
6935-
AAMPLOG_WARN("Queueing content protection from StreamSelection for type:%d", i);
6935+
AAMPLOG_MIL("Queueing content protection from StreamSelection for type:%d", i);
69366936
QueueContentProtection(period, selAdaptationSetIndex, (AampMediaType)i);
69376937
}
69386938

@@ -6949,7 +6949,7 @@ void StreamAbstractionAAMP_MPD::StreamSelection( bool newTune, bool forceSpeedsC
69496949
GetMediaTypeName(AampMediaType(i)));
69506950
}
69516951

6952-
AAMPLOG_WARN("StreamAbstractionAAMP_MPD: Media[%s] %s",
6952+
AAMPLOG_MIL("StreamAbstractionAAMP_MPD: Media[%s] %s",
69536953
GetMediaTypeName(AampMediaType(i)), pMediaStreamContext->enabled?"enabled":"disabled");
69546954
//This is for cases where subtitle is not enabled, but auxiliary audio track is enabled
69556955
if (eMEDIATYPE_AUX_AUDIO == i && pMediaStreamContext->enabled && !mMediaStreamContext[eMEDIATYPE_SUBTITLE]->enabled)
@@ -7266,7 +7266,10 @@ AAMPStatusType StreamAbstractionAAMP_MPD::UpdateTrackInfo(bool modifyDefaultBW,
72667266
blAdaptationIdxs.insert(blProfile.mAdaptationSetIdx);
72677267
}
72687268
}
7269-
AAMPLOG_WARN("Blacklisted adaptationSet in this period: %zu", blAdaptationIdxs.size());
7269+
if( blAdaptationIdxs.size() > 0 )
7270+
{
7271+
AAMPLOG_WARN("Blacklisted adaptationSet in this period: %zu", blAdaptationIdxs.size());
7272+
}
72707273
const auto &adaptationSets = period->GetAdaptationSets();
72717274
for (uint32_t idx = 0; idx < adaptationSets.size(); idx++ )
72727275
{
@@ -7547,7 +7550,7 @@ AAMPStatusType StreamAbstractionAAMP_MPD::UpdateTrackInfo(bool modifyDefaultBW,
75477550
// Set default init bitrate
75487551
else
75497552
{
7550-
AAMPLOG_WARN("Using defaultBitrate %" BITSPERSECOND_FORMAT " . PersistBandwidth : %ld TimeGap : %ld",aamp->GetDefaultBitrate(),persistbandwidth,TimeGap);
7553+
AAMPLOG_MIL("Using defaultBitrate %" BITSPERSECOND_FORMAT " . PersistBandwidth : %ld TimeGap : %ld",aamp->GetDefaultBitrate(),persistbandwidth,TimeGap);
75517554
aamp->mhAbrManager.setDefaultInitBitrate(aamp->GetDefaultBitrate());
75527555

75537556
}

isobmff/isobmffprocessor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ IsoBmffProcessor::IsoBmffProcessor(class PrivateInstanceAAMP *aamp, id3_callback
4848
mediaFormat(eMEDIAFORMAT_UNKNOWN), enabled(true), trackOffsetInSecs(DEFAULT_DURATION), peerListeners(),
4949
initSegmentTransferMutex(), skipMutex(), skipPointMap(),ptsDiscontinuity(false), nextPos(-1), passThroughMode(passThrough)
5050
{
51-
AAMPLOG_WARN("IsoBmffProcessor:: Created IsoBmffProcessor(%p) for type:%d and peerProcessor(%p)", this, type, peerBmffProcessor);
51+
AAMPLOG_MIL("IsoBmffProcessor:: Created IsoBmffProcessor(%p) for type:%d and peerProcessor(%p)", this, type, peerBmffProcessor);
5252
if (peerProcessor)
5353
{
5454
peerProcessor->setPeerProcessor(this);
@@ -322,7 +322,7 @@ bool IsoBmffProcessor::setTuneTimePTS(AampGrowableBuffer *fragBuffer, double pos
322322

323323
basePTS = fPts;
324324
processPTSComplete = true;
325-
AAMPLOG_WARN("IsoBmffProcessor %s Base PTS (%" PRIu64 ") set", IsoBmffProcessorTypeName[type], basePTS);
325+
AAMPLOG_MIL("IsoBmffProcessor %s Base PTS (%" PRIu64 ") set", IsoBmffProcessorTypeName[type], basePTS);
326326

327327
if (timeScale == 0)
328328
{
@@ -1360,7 +1360,7 @@ bool IsoBmffProcessor::updatePTSAndTimeScaleFromBuffer(AampGrowableBuffer *pBuff
13601360
{
13611361
basePTS = fPts;
13621362
processPTSComplete = true;
1363-
AAMPLOG_WARN("IsoBmffProcessor %s Base PTS (%" PRIu64 ") set", IsoBmffProcessorTypeName[type], basePTS);
1363+
AAMPLOG_MIL("IsoBmffProcessor %s Base PTS (%" PRIu64 ") set", IsoBmffProcessorTypeName[type], basePTS);
13641364
initSegmentProcessComplete = true;
13651365
}
13661366
}
@@ -1371,4 +1371,4 @@ bool IsoBmffProcessor::updatePTSAndTimeScaleFromBuffer(AampGrowableBuffer *pBuff
13711371
AAMPLOG_WARN("IsoBmffProcessor %s readPTSAndTimeScaleFromBuffer: Buffer(%p) is empty or null", IsoBmffProcessorTypeName[type], pBuffer);
13721372
}
13731373
return ret;
1374-
}
1374+
}

priv_aamp.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,7 @@ void PrivateInstanceAAMP::MonitorProgress(bool sync, bool beginningOfStream)
22602260
if (mFirstProgress)
22612261
{
22622262
mFirstProgress = false;
2263-
AAMPLOG_WARN("Send first progress event with position %ld", (long)(reportFormattedCurrPos / 1000));
2263+
AAMPLOG_MIL("Send first progress event with position %ld", (long)(reportFormattedCurrPos / 1000));
22642264
}
22652265

22662266

@@ -2933,12 +2933,12 @@ void PrivateInstanceAAMP::NotifyBitRateChangeEvent(BitsPerSecond bitrate, Bitrat
29332933

29342934
if(GetBWIndex)
29352935
{
2936-
AAMPLOG_WARN("NotifyBitRateChangeEvent :: bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d fps:%f position:%f IndexFromTopProfile: %d%s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
2936+
AAMPLOG_MIL("NotifyBitRateChangeEvent :: bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d fps:%f position:%f IndexFromTopProfile: %d%s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
29372937
bitrate, BITRATEREASON2STRING(reason), width, height, frameRate, position, mpStreamAbstractionAAMP->GetBWIndex(bitrate), (IsFogTSBSupported()? ", fog": " "), mProfileCappedStatus, mDisplayWidth, mDisplayHeight, scantype, aspectRatioWidth, aspectRatioHeight);
29382938
}
29392939
else
29402940
{
2941-
AAMPLOG_WARN("NotifyBitRateChangeEvent :: bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d fps:%f position:%f %s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
2941+
AAMPLOG_MIL("NotifyBitRateChangeEvent :: bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d fps:%f position:%f %s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
29422942
bitrate, BITRATEREASON2STRING(reason), width, height, frameRate, position, (IsFogTSBSupported()? ", fog": " "), mProfileCappedStatus, mDisplayWidth, mDisplayHeight, scantype, aspectRatioWidth, aspectRatioHeight);
29432943
}
29442944

@@ -2948,17 +2948,17 @@ void PrivateInstanceAAMP::NotifyBitRateChangeEvent(BitsPerSecond bitrate, Bitrat
29482948
{
29492949
if(GetBWIndex)
29502950
{
2951-
AAMPLOG_WARN("NotifyBitRateChangeEvent ::NO LISTENERS bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d, fps:%f position:%f IndexFromTopProfile: %d%s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
2951+
AAMPLOG_MIL("NotifyBitRateChangeEvent ::NO LISTENERS bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d, fps:%f position:%f IndexFromTopProfile: %d%s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
29522952
bitrate, BITRATEREASON2STRING(reason), width, height, frameRate, position, mpStreamAbstractionAAMP->GetBWIndex(bitrate), (IsFogTSBSupported()? ", fog": " "), mProfileCappedStatus, mDisplayWidth, mDisplayHeight, scantype, aspectRatioWidth, aspectRatioHeight);
29532953
}
29542954
else
29552955
{
2956-
AAMPLOG_WARN("NotifyBitRateChangeEvent ::NO LISTENERS bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d fps:%f position:%f %s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
2956+
AAMPLOG_MIL("NotifyBitRateChangeEvent ::NO LISTENERS bitrate:%" BITSPERSECOND_FORMAT " desc:%s width:%d height:%d fps:%f position:%f %s profileCap:%d tvWidth:%d tvHeight:%d, scantype:%d, aspectRatioW:%d, aspectRatioH:%d",
29572957
bitrate, BITRATEREASON2STRING(reason), width, height, frameRate, position, (IsFogTSBSupported()? ", fog": " "), mProfileCappedStatus, mDisplayWidth, mDisplayHeight, scantype, aspectRatioWidth, aspectRatioHeight);
29582958
}
29592959
}
29602960

2961-
AAMPLOG_WARN("BitrateChanged:%d", reason);
2961+
AAMPLOG_MIL("BitrateChanged:%d", reason);
29622962
}
29632963

29642964

@@ -4800,7 +4800,7 @@ void PrivateInstanceAAMP::TeardownStream(bool newTune, bool disableDownloads)
48004800
{
48014801
std::unique_lock<std::recursive_mutex> lock(mLock);
48024802
//Have to perform this for trick and stop operations but avoid ad insertion related ones
4803-
AAMPLOG_WARN(" mProgressReportFromProcessDiscontinuity:%d mDiscontinuityTuneOperationId:%d newTune:%d", mProgressReportFromProcessDiscontinuity, mDiscontinuityTuneOperationId, newTune);
4803+
AAMPLOG_MIL(" mProgressReportFromProcessDiscontinuity:%d mDiscontinuityTuneOperationId:%d newTune:%d", mProgressReportFromProcessDiscontinuity, mDiscontinuityTuneOperationId, newTune);
48044804
if ((mDiscontinuityTuneOperationId != 0) && (!newTune || mState == eSTATE_IDLE))
48054805
{
48064806
bool waitForDiscontinuityProcessing = true;
@@ -8141,7 +8141,7 @@ void PrivateInstanceAAMP::NotifyFirstFrameReceived(unsigned long ccDecoderHandle
81418141
// This is an idle callback, so we can sent event synchronously
81428142
if (SendTunedEvent())
81438143
{
8144-
AAMPLOG_WARN("aamp: - sent tune event on Tune Completion.");
8144+
AAMPLOG_MIL("aamp: - sent tune event on Tune Completion.");
81458145
}
81468146
}
81478147
InitializeCC(ccDecoderHandle);
@@ -9044,7 +9044,7 @@ void PrivateInstanceAAMP::NotifyFirstBufferProcessed(const std::string& videoRec
90449044
}
90459045
trickStartUTCMS = aamp_GetCurrentTimeMS();
90469046
//Do not edit or remove this log - it is used in L2 test
9047-
AAMPLOG_WARN("seek pos %.3f", seek_pos_seconds);
9047+
AAMPLOG_MIL("seek pos %.3f", seek_pos_seconds);
90489048

90499049

90509050
if(ISCONFIGSET_PRIV(eAAMPConfig_UseSecManager) || ISCONFIGSET_PRIV(eAAMPConfig_UseFireboltSDK))

0 commit comments

Comments
 (0)