tencent cloud

Feedback

Origin Server Configuration

Last updated: 2022-08-17 14:32:37

    If you have a self-built origin server and live streaming source, and you want to stream your content through Tencent Cloud, you can configure origin server information for your CSS playback domain name. After the configuration is successful, you can pull live streams from the origin server and distribute them through CSS. This document describes how to configure the origin server.

    Notes

    • Origin server configuration takes effect about one hour after configuration is complete.
    • After configuring an origin server for a playback domain, you can no longer bind a push domain to the playback domain by specifying a StreamName. Nor can you configure watermarking, transcoding, recording, screenshot, or porn detection tasks for the playback domain.

    Prerequisites

    • You have logged in to the CSS console.
    • You have built a live streaming origin server.
    • You have added a playback domain name.

    Directions

    1. In the CSS console, select Domain Management on the left sidebar. Click the name of your playback domain or click Manage on the right.

    2. Select the Advanced Configuration tab.

    3. In the Origin server settings area, click Edit and follow the steps below:

    4. Toggle on Origin server settings.

    5. Complete the settings as follows.

      Configuration ItemDescription
      Primary origin server You can either specify an origin server IP or origin server domain:
      • If you select “Origin server IP”, you need to enter the IP address of your origin server and the port number.
      • If you select “Origin server domain”, you need to enter the domain name of your origin server and the port number.
      Backup origin server
        You can configure only one backup origin server. Whether you enter an IP or domain name here depends on whether you have specified an IP or domain for the primary origin server. The port number of the backup origin server is the same as that of the primary.
      Forwarding protocol
      • RTMP, FLV, and HLS are supported.
      • For HLS, you can enable HTTP header pass-through and parameter pass-through.
      Timeout and retry
        The timeout period cannot be longer than 60,000 milliseconds; the value range for maximum retry attempts is 1-10.
      Playback protocol
      • If the forwarding protocol is RTMP, RTMP is supported for playback by default. You can also select FLV and HLS.
      • If the forwarding protocol is FLV, FLV is supported for playback by default. You can also select HLS.
      • If the forwarding protocol is HLS, the playback protocol must also be HLS.
      Index buffer size
        If you select HLS as the forwarding protocol, you can specify the index buffer size (milliseconds). Value range: 1,000-60,000.
      Segment size
        If you select HLS as the forwarding protocol, you can specify the segment size (milliseconds). Value range: 1,000-60,000.
    6. Click Save.

      Note:

      Forwarding protocol refers to the protocol supported by CSS when pulling streams from the origin server. Playback protocol refers to the protocol used to distribute live content through the CSS CDN.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support