1. DNA 2.0 graph
Streamroot DNA 2.0 graph can be added to and shown on any page that is running our technology. The graph provides you with information about how much of the stream is being provided via the CDN versus via DNA . The Streamroot DNA 2.0 graph also allows you to see the number of users you are connected to and know how many megabytes were uploaded from your device to other users . On the right-hand side, you can see an offload percentage, which corresponds to the percentage of data that has been sourced from the DNA network . You can simulate new users locally for testing purposes by clicking on the simulate a user button .
Integrate the graph within your test page
To include the Streamroot DNA 2.0 graph in your test page, add the following HTML code.
In the <head> tag
<Head> <script src="//tools.streamroot.io/usage-graphs/stable/graphs.js"></script> </Head>
In the <body> tag
<body> <div id="streamroot-graphs"></div> </body>
Add the graph on any production page
To use the Streamroot DNA 2.0 graph on any page, add a bookmarklet in your browser.
To add the bookmarklet in Chrome:
- Go to you bookmark manager: chrome://bookmarks/
- Right click on the list and select
- Then enter a name for you bookmarklet in the first input, copy paste the bookmarklet code in the second one
- Save it, you're set!
If you encounter the following message, it means that Streamroot technology is not activated on this specific webpage.
There are several reasons for which you may see this message:
1. Verify your browser compatibility. Even though Streamroot works on older versions of Chrome, Firefox and Opera, we strongly recommend to update your browser to the latest version to get the most out of Streamroot. For current browser support, see our page.
2. Make sure you entered the right Streamroot Key. You can find your streamroot key in your Profile section on your dashboard.
3. Make sure that you are using a compatible player and that it has been properly configured based on Streamroot’s documentation.
If you do not receive the above message but are unable to connect to any peers, check the following settings:
1. Using developer tools on your browser, click on the network tab. Filter requests by "streamroot.io" and make sure the following requests were successful:
- A request to https://distributor.streamroot.io/, returning a status code of 200
- Make sure that the value of contentActivated is true. If it is false it means that you have either exceeded the maximum number of viewers allowed in your plan, or that your stream does not meet the conditions set in your Activation Threshold settings. Please contact us for further information.
- Make sure that the value of rampUpActivated is not set to false. If it's false you need to login to your dashboard and change the ramp-up settings. Find more information about Ramp-Up settings here.
- A request to https://tracker.streamroot.io/, returning a status code of 200
If either of these two requests fail, please contact Streamroot support.