Skip to main content

Integration

During the test, P2P only works in the same LAN?

WebRTC connection has a certain probability of failure, and its success depends on the network address translation type (NAT), browser compatibility, etc., for example, two nodes are located after a symmetric NAT, P2P connection cannot be performed. Fortunately, the client will try to connect to multiple nodes at the same time, and the probability of connecting to at least one node is high. During local debugging, you are advised to keep test clients on the same LAN.

Do you support anti-theft chains or encrypted video addresses?

Support, please provide the encryption principle and test address to our technical team.

Will the integration of TikCDN cause delays in live streaming?

No, since the first few slices are pulled from the CDN, there will be no delay in starting. However, low latency live streaming may make P2P less effective, it is recommended that HLS/Dash playlist follow the following configuration:

  • Slicing time: at least 3 seconds
  • Number of slices included in Playlist: at least 6

Can wechat mini program be used?

Wechat mini programs are not currently supported

How to view no effect after integration?

  • Ensure that more than two clients playing the same address are open.
  • Make sure the integration follows the documented steps and that the SDK does not have any error messages.
  • On the management panel, switch the corresponding domain name or application to view p2p traffic.
  • The SDK will callback p2p traffic statistics and output logs to view real-time traffic information.