P2P Streaming Engine

vuePress-theme-reco    2018 - 2021
P2P Streaming Engine P2P Streaming Engine

Choose mode

  • dark
  • auto
  • light
Documents
  • Introduction
  • Web SDK

    • Hls.js
    • Dash.js
    • Shaka-Player
    • MP4
    • Downloader
  • Android SDK
  • iOS SDK
  • Flutter SDK
Pricing
Contact Us
Partnership
Console
GitHub
语言
  • English
  • 简体中文

Documents
  • Introduction
  • Web SDK

    • Hls.js
    • Dash.js
    • Shaka-Player
    • MP4
    • Downloader
  • Android SDK
  • iOS SDK
  • Flutter SDK
Pricing
Contact Us
Partnership
Console
GitHub
语言
  • English
  • 简体中文
  • Introduction
  • FAQ
  • Tracking Service
  • Signaling Service
  • P2P Optimization
  • Console

    • Domain/AppId Binding
      • Domain
      • App Id and Token
    • Data Analysis
    • P2P Control
    • Restful API
  • Hls.js SDK

    • Introduction
    • Usage
    • Player Integration
    • API & Config
    • CDN
    • Change Log
  • Android SDK

    • Introduction
    • Usage
    • API & Config
    • Change Log
  • iOS SDK

    • Introduction
    • Usage
    • API & Config
    • Change Log
  • Flutter SDK

    • Introduction
    • Usage
    • API & Config
    • Change Log
  • Shaka-Player SDK

    • Introduction
    • Usage
    • Player Integration
    • API & Config
    • Change Log
  • Web MP4 SDK

    • Introduction
    • Usage
    • Player Integration
    • API & Config
    • Change Log
  • Dash.js SDK

    • Introduction
    • Usage
    • Player Integration
    • API & Config
    • Change Log
  • Web Downloader

    • Introduction
    • Usage
    • API & Config
    • Change Log
  • Android SDK 1.x

    • Introduction
    • Usage
    • API & Config
    • Change Log
  • More

    • Design

Domain/AppId Binding

vuePress-theme-reco    2018 - 2021

Domain/AppId Binding


# Domain

Websites which integrate CDNBye SDK should register domain to activate P2P service. Please note that CDNBye identifies domain by HTTP Origin, player in iFrame may cause domain name inconsistency.

  • Visit https://oms.cdnbye.com and register

  • After the registration is completed, the website will prompt You have not registered domain name or created app, are you going now? , click Register your domain to jump to the domain name binding interface

  • Click on the Website Management button in the sidebar and input your domain, eg: demo.cdnbye.com

  • The unverified domain name is unavailable. Click Validate button to validate your domain name

  • There are tow ways of domain validation(DNS and file), select one of them to operate according to the prompt

# App Id and Token

Before release iOS, Android and Electron APP, you should register AppId and obtain token from console:

  • Visit https://oms.cdnbye.com and register

  • Click on the APP Management button in the sidebar, if it's the first time you enter this page, please click Create Token button

  • Copy the obtained token to the initiator of the SDK

  • Click on the Create App button and fill in the form with information such as the App Name, AppId and platform. Please note that the AppId needs to correspond to the APP. The methods for obtaining the AppId are as follows:

    • AppId of iOS platform can be obtained from TARGETS -> General -> Bundle Identifier picture

    • AppId of Android platform can be obtained from app -> build.gradle -> android -> defaultConfig -> applicationId picture

    • Electron's AppId is defined by yourself and should be configured in the SDK's p2pConfig -> appId

    • Flutter App need to Create App on corresponding platforms according to AppId