Help Center/ Live/ FAQs/ Snapshot Capturing/ How Do I Obtain the Snapshots?
Updated on 2023-07-07 GMT+08:00

How Do I Obtain the Snapshots?

If you have configured a snapshot template, you can click the output path on the Live console to download snapshot files from the OBS console or directly go to the OBS console to download these files. If you have set a callback URL when configuring a snapshot template, you can find the download URL in the received message.

  • Obtaining Snapshot Files Through the Live Console
    1. Log in to the Live console.
    2. In the navigation pane, choose Domains.
    3. Click Settings in the row containing the target ingest domain name.
    4. In the navigation pane, choose Template Settings > Snapshot Capturing.
    5. Click the output path in the Storage Location column to go to the OBS bucket and download snapshot files.
      Figure 1 Viewing snapshot details
  • Obtaining Snapshot Files Through the OBS Console
    1. In the navigation pane of the OBS console, choose Object Storage.
    2. In the bucket list, click the bucket that stores snapshot files.
    3. In the navigation pane, choose Objects.
    4. Click Download on the right of the target snapshot file.
  • Obtaining Snapshot Files Through a Callback Message

    For details about the fields in a callback message, see Message Body.

    { 
        "domain": "play.example.com",
        "app": "live",
        "stream_name": "test001",
        "snapshot_url": "https://xxx.obs.cn-north-4.myhuaweicloud.com:443...",
        "width": 720,
        "height": 1280,
        "obs_addr": {
            "bucket": "xxx",
            "location": "cn-north-4",
            "object": "xxx.jpg"
        }
    }