Skip to main content


Accessing the Stream through Media Network Marketplace

To utilize one or more of the available providers in the Media Network CDN marketplace for delivering your content, you need to add your origin. After completing this step, you will receive a new URL that allows you to access your resources. The final URL of your stream will be formatted as follows:

You can also access the resource without https:

Accessing the Stream via Media Network (Web Browser w/ Media PeerPool Support)

Navigate to the resource URL using the dCDN endpoint provided by the Media App and append the parameters /v/STREAM_NAME, replacing STREAM_NAME with your custom stream name.

Media PeerPool is enabled by default. This means that when end users watch the same stream, they will share bandwidth with each other and offload up to 99% of the network usage via WebRTC.

Playback in HTML

<script src=""></script>

<video id="my-player" controls style="width: 100%; max-width: 500px" />

const videoEl = document.querySelector("#my-player");
const src = "";
if (videoEl.canPlayType("application/")) {
// Some browers (safari and ie edge) support HLS natively
videoEl.src = src;
} else if (Hls.isSupported()) {
const hls = new Hls();
} else {
console.error("This is a legacy browser that doesn't support MSE");

Playback in React

import React, { useEffect, useRef } from "react";
import Hls from "hls.js";

export default function VideoPlayer() {
const videoRef = useRef(null);
const src = ";

useEffect(() => {
let hls;
if (videoRef.current) {
const video = videoRef.current;

if (video.canPlayType("application/")) {
// Some browers (safari and ie edge) support HLS natively
video.src = src;
} else if (Hls.isSupported()) {
// This will run in all other modern browsers
hls = new Hls();
} else {
console.error("This is a legacy browser that doesn't support MSE");

return () => {
if (hls) {
}, [videoRef]);

return (
style={{ width: "100%", maxWidth: "500px" }}

Playback in Swift

import SwiftUI
import AVKit

struct ContentView: View {
private let player = AVPlayer(url: URL(string: "")!)

var body: some View {
// VideoPlayer comes from SwiftUI
// Alternatively, you can use AVPlayerLayer or AVPlayerViewController
VideoPlayer(player: player)
.onAppear() {

struct ContentView_Previews: PreviewProvider {
static var previews: some View {

Playback in Android

implementation ''

// Create a player instance.
SimpleExoPlayer player = new SimpleExoPlayer.Builder(context).build();
// Set the media item to be played.
// Prepare the player.