Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

ウォーターマークを追加する

最終更新 Markdown で表示Agent セットアップ

RealtimeKit のウォーターマーク機能では、録画に画像をウォーターマークとして入れられます。Start Recording API の video_config に、次のパラメーターを設定します。

パラメーター 説明
URL ウォーターマーク画像の URL を指定します
Position ウォーターマークの配置を指定します。left top、right top、left bottom、right bottom から選べます。デフォルトは left top です。
Size ウォーターマークの高さと幅をピクセルで指定します。
{
  "video_config": {
    "watermark": {
      "url": "https://test.io/images/client-logos-6.webp",
      "position": "left top",
      "size": {
        "height": 20,
        "width": 100
      }
    }
  }
}

役に立ちましたか?