• SDK
  • サーバーサイドの機能とAPI
RTC Engine/
サーバーサイドの機能とAPI/
機能とサーバーインターフェース/
インターフェースリクエストの発行/
サーバーサイドの機能とAPI
  • サーバー機能
    • クラウドレコーディング
    • オーディオビデオストリームをライブストリーミングCDNに公開
    • AIによるリアルタイム会話
      • 機能紹介
      • コード不要で会話型 AI 機能に素早くアクセス
      • 迅速な統合 (UI なし)
        • 素早い実行
        • 大規模なモデル構成
        • テキスト読み上げの構成
        • スマート中断
        • コンテキスト管理の実装方法
        • AI対話SDK側コールバック
          • AI対話ステータスコールバック
          • AI対話字幕コールバック
          • AI ダイアログ インジケーター コールバック
          • AI 対話エラー コールバック
        • AI対話サーバーコールバック
        • カスタム TTS プロトコル
      • 業界の慣行
        • 感情的な付き合い
        • インテリジェントな顧客サービス
    • TRTC ルームへのメディア ストリームの入力
    • OBS WHIP を使用してストリームを TRTC ルームにプッシュする方法
    • 音声をテキストに変換
    • 高度な権限制御
    • ルームへの RTMP プッシュ フロー
  • 機能とサーバーインターフェース
    • インターフェースリクエストの発行
      • リクエスト構造
      • 一般的なパラメータ
      • サイン方法 v3
      • サイン
      • 返信
    • ルーム管理インターフェース
      • SetUserBlockedByStrRoomId
      • SetUserBlocked
      • RemoveUser
      • DismissRoom
      • RemoveUserByStrRoomId
      • DismissRoomByStrRoomId
    • 通話品質モニタリングインターフェース
      • DescribeRoomInfo
      • DescribeUserEvent
      • DescribeCallDetailInfo
      • DescribeUserInfo
      • DescribeScaleInfo
    • プッシュ取得の関連インターフェース
      • StartStreamIngest
      • StopStreamIngest
      • DescribeStreamIngest
      • UpdateStreamIngest
    • クラウドレコーディングインターフェース
      • CreateCloudRecording
      • DescribeCloudRecording
      • ModifyCloudRecording
      • DeleteCloudRecording
    • ミクスストリーミング転送の関連インターフェース
      • UpdatePublishCdnStream
      • StartPublishCdnStream
      • StopPublishCdnStream
    • AIリアルタイム対話関連インターフェース
      • StartAIConversation
      • UpdateAIConversation
      • ControlAIConversation
      • DescribeAIConversation
      • StopAIConversation
    • AI文字起こし関連インターフェース
      • StartAITranscription
      • DescribeAITranscription
      • StopAITranscription
    • 使用量統計関連インターフェース
      • DescribeTrtcUsage
      • DescribeRecordingUsage
      • DescribeMixTranscodingUsage
      • DescribeRelayUsage
      • DescribeTrtcRoomUsage
    • ダッシュボード関連のインターフェースの監視
      • DescribeTRTCRealTimeScaleData
      • DescribeTRTCRealTimeQualityData
      • DescribeTRTCMarketScaleData
      • DescribeTRTCMarketQualityData
    • データタイプ
    • 付録
      • イベント ID マッピングテーブル
    • エラーコード
  • イベントコールバック
    • ルームとメディアのコールバック
    • オーディオおよびビデオ ストリームをライブ CDN コールバックにパブリッシュする
    • クラウド録音コールバック
    • オンライン メディア ストリーミング コールバックを入力してください
    • AI リアルタイム対話と音声からテキストへのコールバック
    • 署名検証の例
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

リクエスト構造

1. Service Address

The API supports access from either a nearby region (at trtc.intl.tencentcloudapi.com) or a specified region (at trtc.ap-guangzhou.tencentcloudapi.com for Guangzhou, for example).

We recommend using the domain name to access the nearest server. When you call an API, the request is automatically resolved to a server in the region nearest to the location where the API is initiated. For example, when you initiate an API request in Guangzhou, this domain name is automatically resolved to a Guangzhou server, the result is the same as that of specifying the region in the domain like "trtc.ap-guangzhou.tencentcloudapi.com".

Note: For latency-sensitive businesses, we recommend that you specify the region in the domain name.

Tencent Cloud currently supports the following regions:

Hosted regionDomain name
Local access region (recommended, only for non-financial availability zones)trtc.intl.tencentcloudapi.com
South China (Guangzhou)trtc.ap-guangzhou.tencentcloudapi.com
East China (Shanghai)trtc.ap-shanghai.tencentcloudapi.com
North China (Beijing)trtc.ap-beijing.tencentcloudapi.com
Southwest China (Chengdu)trtc.ap-chengdu.tencentcloudapi.com
Southwest China (Chongqing)trtc.ap-chongqing.tencentcloudapi.com
Hong Kong, Macao, Taiwan (Hong Kong, China)trtc.ap-hongkong.tencentcloudapi.com
Southeast Asia (Singapore)trtc.ap-singapore.tencentcloudapi.com
Southeast Asia (Bangkok)trtc.ap-bangkok.tencentcloudapi.com
South Asia (Mumbai)trtc.ap-mumbai.tencentcloudapi.com
Northeast Asia (Seoul)trtc.ap-seoul.tencentcloudapi.com
Northeast Asia (Tokyo)trtc.ap-tokyo.tencentcloudapi.com
U.S. East Coast (Virginia)trtc.na-ashburn.tencentcloudapi.com
U.S. West Coast (Silicon Valley)trtc.na-siliconvalley.tencentcloudapi.com
Europe (Frankfurt)trtc.eu-frankfurt.tencentcloudapi.com

2. Communications Protocol

All the Tencent Cloud APIs communicate via HTTPS, providing highly secure communication tunnels.

3. Request Methods

Supported HTTP request methods:

  • POST (recommended)
  • GET

The Content-Type types supported by POST requests:

  • application/json (recommended). The TC3-HMAC-SHA256 signature algorithm must be used.
  • application/x-www-form-urlencoded. The HmacSHA1 or HmacSHA256 signature algorithm must be used.
  • multipart/form-data (only supported by certain APIs). You must use TC3-HMAC-SHA256 to calculate the signature.

The size of a GET request packet is up to 32 KB. The size of a POST request is up to 1 MB when the HmacSHA1 or HmacSHA256 signature algorithm is used, and up to 10 MB when TC3-HMAC-SHA256 is used.

4. Character Encoding

Only UTF-8 encoding is used.

コミュニティに質問しよう!
技術的な議論を始め、すぐに専門家のサポートを受けよう!