RDK Documentation (Open Sourced RDK Components)
FakeIPVideoStat.cpp
1 /*
2 * If not stated otherwise in this file or this component's license file the
3 * following copyright and licenses apply:
4 *
5 * Copyright 2022 RDK Management
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 
20 #include "IPVideoStat.h"
21 
22 size_t CSessionSummary::totalErrorCount = 0;
23 size_t ManifestGenericStats::totalGaps = 0;
24 
25 char * CVideoStat::ToJsonString(const char* additionalData, bool forPA) const
26 {
27  return nullptr;
28 }
29 
30 void CVideoStat::Increment_Fragment_Count(Track track, long bitrate, long downloadTimeMs, int response, bool connectivity)
31 {
32 }
33 
34 void CVideoStat::Increment_Init_Fragment_Count(Track track, long bitrate, long downloadTimeMs, int response, bool connectivity)
35 {
36 }
37 
38 void CVideoStat::Increment_Manifest_Count(Track track, long bitrate, long downloadTimeMs, int response, bool connectivity, ManifestData * manifestData)
39 {
40 }
41 
42 void CVideoStat::Record_License_EncryptionStat(VideoStatTrackType eType, bool isEncypted, bool isKeyChanged, int audioIndex)
43 {
44 }
45 
46 void CVideoStat::SetFailedFragmentUrl(VideoStatTrackType eType, long bitrate, std::string url, int audioIndex)
47 {
48 }
49 
50 void CVideoStat::Setlanguage(VideoStatTrackType eType, std::string strLang, int audioIndex)
51 {
52 }
53 
54 void CVideoStat::Increment_Data(VideoStatDataType dataType,VideoStatTrackType eType, long bitrate , long downloadTimeMs, int response, bool connectivity, int audioIndex, ManifestData * manifestData)
55 {
56 }
57 
58 void CVideoStat::SetProfileResolution(VideoStatTrackType eType, long bitrate, int width, int height, int audioIndex)
59 {
60 }
61 
62 void CVideoStat::SetDisplayResolution(int width, int height)
63 {
64 }
65 
66 void CVideoStat::IncrementGaps()
67 {
68 }