# Certification Tool - Android
The diagnostic presents the following local configurations:
// Enables/disables CDN Balancer diagnostic
unifiedPluginBuilder.setProBalancerDiagnosticsEnabled(true/false);
// Enables/disables video analytics diagnostic
unifiedPluginBuilder.setVideoAnalyticsDiagnosticsEnabled(true/false);
// If you want to reduce the timeout during report generation to 5 seconds (this is a different timeout than the web version, applied after starting the report)
unifiedPluginBuilder.setDiagnosticsTimeoutMilliseconds(5 * 1000);
1
2
3
4
5
6
2
3
4
5
6
Also, a report can be forced to be generated with the command:
unifiedPlugin.diagnostic.report();
1
To view the report you need to open the Android Logcat console, via Android Studio, or adb command, and look for the Diagnostics tag.
# Diagnostic Tool Output Example
--------------------
CDN Balancer Diagnostics
✅ [Intercepted requests] YES - Intercepted 6 requests
✅ [Successful response from the CDN Selector API] YES
✅ [Made decision based on CDN Selector API] YES - Made decisions for 5 requests
✅ [Successful ping to QoE Booster] YES
CDN List:
CDN Provider # of total requests % of failed requests Traffic served (MB)
C CLOUDFLA 1 0 0.78
A AKAMAI 1 0 0.76
B BONGO 0 0 0.00
Booster STREBOOS 0 0 0.00
✅ CDN Balancer is integrated!
--------------------
Video Analytics (video=default) Diagnostics
✅ [Player is registered] YES - Name: ExoPlayer
✅ [Reached stats server] YES - Sent events: (init: 1, joinTime: 1, ping: 1, cdn: 1, start: 1, stop: 1)
✅ [Sent mandatory events to server] YES
Sent Player Events:
joinTime playhead: 0.206 | joinDuration: 2946
start playerVersion: ExoPlayer-2.18.2 | resource: https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8 | pluginInfo: {"lib":"7.0.0-android-sdk","adAdapter":"null","adapter":"7.0.0-generic"} | audioCodec: mp4a.40.2 | title: Apple 4x3 basic stream | deviceInfo: {"model":"sdk_gphone_x86","osVersion":"11","brand":"google","browserName":"","browserVersion":"","browserType":"","browserEngine":""} | playhead: 2.221 | segmentDuration: -1 | rendition: 640x480@650Kbps | cdnBalancerResponseUUID: 3b0a962e-6409-4858-a1b2-5a6e81c9cfd0 | mediaDuration: 1800.0 | obfuscateIp: false | deviceUUID: fced9b50-ee76-4881-b09c-233efaf27418 | live: false | playbackType: VoD | properties: {} | player: ExoPlayer | videoCodec: avc1.4D401E
stop playhead: 4.313 | uploadTraffic: 0 | cdnDownloadedTraffic: 814228 | metrics: {} | pauseDuration: -1 | p2pDownloadedTraffic: 0
✅ Video Analytics (video=default) is integrated!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
NEED MORE INFO?
Get in touch with support@codavel.com.