From beb588135288f17937587895ae11162074a88902 Mon Sep 17 00:00:00 2001 From: Duncan Barnes Date: Thu, 3 Dec 2020 12:35:59 +0000 Subject: [PATCH] Create iframe.outbound-stats.html Added an example of using the iFrame API to retrieve and display outgoing viewer stats. --- examples/iframe.outbound-stats.html | 264 ++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 examples/iframe.outbound-stats.html diff --git a/examples/iframe.outbound-stats.html b/examples/iframe.outbound-stats.html new file mode 100644 index 0000000..e026684 --- /dev/null +++ b/examples/iframe.outbound-stats.html @@ -0,0 +1,264 @@ + + + + OBS.Ninja IFRAME Outgoing Stats Example + + + + + + + + + + +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+

This example will show all connections to the stream generated from this page using statistics gathered using the iFrame API.

+

Click start to generate a stream using the OBS.Ninja URL shown. If you use the example URL shown, you can click here to connect to this stream as a viewer in a new window/tab, this will then show in the table below. Expired connections will be removed after a short delay.

+
+
+
+
Audio:
+
+ + +
+
+
+
Video:
+
+ + +
+
+
+
Stats:
+
+ + +
+
+
+
Outbound Connections:
+
0
+
+
+
+
+
+ + + + + + + + + + + + + + +
LabelAddedQuality Limit ReasonResolutionPlatformEncoderUser Agent
+
+
+
+ + + + + + +