nanocosmos Documentation

nanocosmos Documentation

  • nanoStream Cloud
  • H5Live Player
  • nanoStream Webcaster
  • nanoStream Apps and SDKs
  • Samples
  • FAQ

›H5Live Player

H5Live Player

  • Introduction
  • Getting started
  • Supported Browsers
  • Player Metrics

Features

  • Autoplay
  • Secure playback with H5Live
  • Stream switching and ABR
  • Fullscreen API
  • UI and customization
  • Reconnect and Timeouts

API

  • NanoPlayer
  • NanoPlayer Status & Error Codes

Other

  • FAQ
  • Blog
Edit

Player Metrics

How to use

Player metrics are providing additional insights for our cloud support team and our nanoStream Cloud Analytics service. The player metrics can be enabled by adding the metrics object to the player config as shown below.

Important
If you don't have metrics account information for your organisation yet please reach out to sales@nanocosmos.de.

Example player configuration with metrics enabled

var config = {
    "source" : {
        ...
    },
    "playback": {
        ...
    },
    "style": {
        ...
    },
    metrics: {
        accountId: 'YOUR-METRICS-ACCOUNT-ID',       // replace with your metrics account id
        accountKey: 'YOUR-METRICS-ACCOUNT-KEY',     // replace with your metrics account key
        userId: 'viewer1',                          // value can be changed per viewer
        eventId: 'event1',                          // value can be changed per event
        statsInterval: 10,                          // statistics interval in seconds
        customField1: 'CustomInfo1'                 // value can be changed
    },
    ...
}

Note: For more information on the metrics configuration object see our API documentation. More detailed information around nanoStream Cloud Analytics can be found in our blog and docs.

Last updated on 2/21/2021
← Supported BrowsersAutoplay →
  • How to use
Contact
HomepageContactSupportLegal Terms
Products
Nanostream Cloud with Bintu.LiveH5Live Low Latency HTML5-PlayernanoStream WebcasterNanostream Apps and SDK
More
BlogTwitterFacebookLinkedInGitHubStar
nanocosmos GmbH
Copyright © 2021 nanocosmos GmbH - doc version Sun Feb 21 2021 20:36:34 GMT+0000 (Coordinated Universal Time)