Audio/Video Metrics

Last Updated on : 2025-05-08 09:00:16download

ThingAnalyticsKit supports the ‌upload of key data metrics‌. After integration, the IPC SDK will ‌automatically collect and upload audio/video performance metrics‌.

  • Alerts for the success rate of streaming: Monitor the success rate of streaming in real time. When it is lower than the threshold, an alert is generated to quickly respond to online failures.
  • Success rate of streaming and first frame time: These two metrics are presented in data reports to quickly locate problems and optimize the metrics accordingly.

This feature is available in IPC SDK v6.2.0 and later.

Integration procedure

  1. Add the following code block to the Podfile.

    pod 'ThingAnalyticsKit'
    
  2. Add the following code block to the file AppDelegate.m.

    #import <ThingAnalyticsKit/ThingAnalyticsKit.h>
    
    @interface AppDelegate ()
    @end
    
    @implementation AppDelegate
    
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        //other code
    
        [ThingAnalyticsKit enable:YES];
        return YES;
    }
    
    @end