Vidict Live! Admin Panel Documentation
OVERVIEW
VidictPeer, a peer-to-peer system to distribute content across devices. Using the WebRTC technology, each connected device could be helping to deliver the video to another user, without consuming the additional bandwidth from CDN, thus increasing the capacity of your existing CDN by 10x.
VidictPeer is an additional distribution layer on top of your existing CDN infrastructure, resulting in less bandwidth costs and improved performance. VidictPeer is available for desktop and mobile users.
HOW VIDICT PEER WORKS?
Vidict Peer enables devices of the end viewers (phones, laptops, tablets or desktops) to share videos between themselves in a peer-to-peer network. Only one out of every three devices downloads data directly from server and then shares it with two other peers. Less traffic means fewer servers and fewer servers mean less cost for video websites.
PEER EFFICIENCY
Peer Efficiency is the percentage of content that is offloaded to the p2p network at a given time. Peer Efficiency is calculated by dividing the number of bytes delivered from the p2p network by the total number of bytes delivered (p2p + HTTP). Peer Efficiency depends on many factors, including the Internet connections, network proximity, stream quality and etc. One of the most important factors is the number of concurrent users. While Peer Efficiency is typically highest during large events, VidictPeer has also achieved excellent off-loading ratios even when there is a small number of concurrent viewers connected to system.
STATISTICS OVERVIEW
With Vidict Peer, there’s admin panel where all statistics related with Vidict Peer services can be checked. The admin panel can be accessed using the following URL: https://admin.vidict.net If you login to the admin panel, you can see that under Analytics page, the top part is showing the total amount of bandwidth consumed for delivery of video in the selected period. It also provides data on video transferred by the P2P network, opposite the amount of video delivered directly from servers. The graph is showing the P2P bandwidth usage VS CDN bandwidth usage distributed by days. By clicking on a channel name in the third section, P2P analytics will be shown with data only for the selected channel. The organization of the data stays the same. By clicking on the History button, a submenu will expand. Here you can choose a period for which P2P analytics should be shown.
HOSTING AND BANDWIDTH SAVINGS
Vidict Peer is a cost effective solution for content providers experiencing high load during peak times.It will also decrease the video latency as the video will be delivered to the user by nearest peer, instead of a server in another country. Our business model is very simple. We charge only a fraction of what our customers are saving on hosting bills. For example, one of our client was able to support 100 000 concurrent viewers for monthly hosting bill of 10 000 dollars, now, with using Vidict Peer, for same throughput of 100 000 concurrent viewers, hosting bill is only 3000 dollars and 1400 dollars for Vidict Peer. Peer to peer can be turn off, in case customer do not expect too much viewers, and it can be turn ON when needed, do not use peer to peer all the time.
SUPPORTED PLATFORMS
Vidict Peer operates with complete p2p functionality on Chrome, Firefox, Safari, Opera and Microsoft Edge, on both Desktop and Android mobile devices.
INTEGRATION
To start using Vidict Peer services, you need to add the installation code to your website. The guide below will help you to set up everything. Please note that for the time being only HLS protocol is supported. If you want to read more about our products, please visit our website or contact us directly on info@vidict.net.
- Serve scripts required for Vidict Peer functionality Copy the following scripts and paste into your tag:
<!-- vidictPeer library -->
<script src='https://cdnjs.vidict.net/scripts/vidictPeer.min.js?id={CUSTOMER_ID}&sd=1'></script>
<!-- vidictpeer_hlsjs library -->
<!-- No need for importing the library if HlsJs player is used -->
<script src='https://cdnjs.vidict.net/scripts/vidictPeer_hlsjs.min.js'></script>
- Choose a player and insert vidictLoader in your player configuration.
- HLS.JS
var hls = new Hls({ fLoader: vidictLoader });
Below you can find complete example where vidictPeer is integrated with Hls.js plugin
<!DOCTYPE html>
<htmllang="en">
<head>
<meta charset="UTF-8">
<!-- vidictPeer script -->
<script src="https://cdnjs.vidict.net/scripts/vidictPeer.min.js?id={CUSTOMER_ID}&sd=1"></script>
<script src="https://cdnjs.vidict.net/scripts/vidictPeer_hlsjs.min.js"></script>
</head>
<body>
<video id="player"></video>
<script>
if (Hls.isSupported()) {
var video = document.getElementById('player');
var player = new Hls({fLoader: vidictLoader});
player.attachMedia(video);
player.on(Hls.Events.MEDIA_ATTACHED, function() {
player.loadSource('MANIFEST_FILE');
player.on(Hls.Events.MANIFEST_PARSED, function() {
video.play();
});
});
} else {
console.error('Hls.js is not supported in this browser');
}
</script>
</body>
</html>
- FLOWPLAYER
hlsjs: {
fLoader: vidictLoader;
}
Below you can find complete example where vidictPeer is integrated with Flowplayer plugin
<!DOCTYPE html>
<htmllang="en">
<head>
<meta charset="UTF-8">
<!-- vidictPeer script -->
<script src="https://cdnjs.vidict.net/scripts/vidictPeer.min.js?id={CUSTOMER_ID}&sd=1"></script>
<script src="https://releases.flowplayer.org/7.2.7/flowplayer.min.js"></script>
<script src="https://releases.flowplayer.org/7.2.7/skin/skin.css"></script>
</head>
<body>
<div id="player"></div>
<script>
var player=.flowplayer('#player', {
hlsjs: {fLoader: vidictLoader},
clip: {
sources: [{
type:.'application/x-mpegurl',
src:{STREAM_URL}
}]
}
</script>
</body>
</html>
- CLAPPR
hlsjsConfig: {
fLoader: vidictLoader;
}
Below you can find complete example where vidictPeer is integrated with Clappr plugin
<!DOCTYPE html>
<htmllang="en">
<head>
<meta charset="UTF-8">
<!-- vidictPeer script -->
<script src="https://cdnjs.vidict.net/scripts/vidictPeer.min.js?id={CUSTOMER_ID}&sd=1"></script>
<script src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"></script>
</head>
<body>
<div id="player"></div>
<script>
var player=.new Clappr.Player({
hlsjsConfig: {fLoader: vidictLoader},
source: {STREAM_URL}
}
</script>
</body>
</html>
In a few minutes, your website will send data to Vidict Peer, and you will be able to see it on your analytics page.
If you are not seeing any data in a few minutes, or you are having any other installation issues, feel free to contact us.
FREQUENTLY ASKED QUESTIONS?
WHAT MEANS PEER TO PEER?
In a P2P (peer to peer) network, the “peers” are computer systems that are connected to each other via the Internet. Files can be shared directly between systems on the network without the need of a central server. In other words, each computer on a P2P network becomes a file server as well as a client. The only requirements for a computer to join a peer-to-peer network is an Internet connection and P2P software (Vidict Peer).
HOW DOES VIDICT PEER WORK?
Vidict Peer works alongside a publisher’s origin server and CDN architecture. We use WebRTC to create a peer-to-peer mesh network that helps users load video content from each other.
- Handling 40 million video sessions per month.
- Served video in almost every place on Earth.
- Increase of 60% in video delivery capacity for such clients.
DOES VIDICT PEER WORK ON MOBILE DEVICES?
Yes. Vidict Peer is available on mobile devices also. They can benefit from P2P by downloading from other peers.
HOW SECURE IS THE VIDICT PEER SERVICE?
Vidict Peer uses the WebRTC data channel to transfer data between users. The data channel is secured using SCTP protocols and TLS encryption. Communication with the Vidict Peer backend is done via secured WebSocket, which also uses TLS encryption.
IS THERE A TRIAL VERSION OF VIDICTPEER?
Yes, Vidict Peer has its trial version which can be used for 15 days starting from the date when the free trial was requested. To request free trial for Vidict Peer services, you should refer to the following link and filling out the submission form on the webpage. https://www.vidict.net/vidict-peer-free-trial When a free trial is requested, an email with all information about Vidict Peer will be sent back to you for easy integration.
CAN VIDICTPEER ADD A DELAY TO A USER’S STREAM?
No. Video segments are never played later than they would be without VidictPeer. If a video segment cannot be loaded from peers in a timely manner, it is downloaded from servers. This means that VidictPeer will never add a delay to a video stream.
DOES YOUR TECHNOLOGY REQUIRE ANY USER SIDE PLUGINS?
No, VidictPeer is browser native an no additional libraries or plugins needs to be installed by users.
HOW MUCH DOES VIDICTPEER COST?
VidictPeer prices vary depending on the plan you will choose. We have three VidictPeer pricing plans (Start, Standard and Custom), starting from $50 and above. Bandwidth consumption also varies depending on which plan was chosen. More detailed information about VidictPeer prices can be found under the following link: https://www.vidict.net/pricing.
CONTACT VIDICT MEDIA SERVER
To make sure we give you the most relevant information about the Vidict Admin Panel and answer all of your questions, feel free to contact us. Our team will be glad to help you and guide you until full deliveries of your needs.
Email: info@vidict.net
Phone: +389 75 287 737
Website: https://www.vidict.net