<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ### **拍照** ~~~ instance.takeSnapShot({ userId: xxxx, streamIndex: xxxx, fileName:xxxx, localFilePath: xxxx, szJsonBuf4Txt: szJsonBuf4Txt done: onSnapshotDone,//截圖結果通知 category: 'picture', //拍照文件上傳至服務器上的分類子目錄 strJson: xxx, //拍照自定義參數 mode:1,//照片存放模式 }); ~~~ 接口說明: 在視頻通話開始之后,可以抓拍指定用戶的視頻畫面。 返回值: 操作的狀態碼(0為成功) 接口參數簡介: | 名稱 | 類型 | 說明 | 是否必須 | | --- | --- | --- | --- | | userId | number | 用戶id | 是 | | streamIndex| number | 視頻流號 | 是 | | fileName | string | 文件名稱 | 否 | | localFilePath | string | 文件在本地的存放目錄 | 否 | | onSnapshotDone | function | 截圖結果回調 | 是 | | szJsonBuf4Txt | object | 文字水印對象 | 是 | | category | object | 拍照文件上傳至服務器上的分類子目錄 | 否 | | strJson | object | 拍照自定義參數 | 否 | |mode|string|照片存放模式(1--存在本地,2--存在服務器,默認值為1)|否| 文字水印對象參數szJsonBuf4Txt簡介: | 名稱 | 類型 | 說明 | 是否必須 | | --- | --- | --- | --- | | fontcolor | string | 文字顏色默認為白色(0xffffff,顏色值采用十六進制rgb格式) | 否 | | alpha | int | 文字透明度 ,默認為100 | 是 | | posx | int | 文字水印在x軸方向上的起始位置(百分比,范圍0~100) | 是 | | posy | int | 文字水印在y軸方向上的起始位置(百分比,范圍0~100) | 是 | | fontsize | int | 文字大小默認為23號大小 | 否 | | text | string | 文字內容 | 是 | 回調說明: | 名稱 | 參數(類型):說明 | 接口說明 | 備注 | | --- | --- | --- | --- | | onSnapshotDone | result(執行結果)<br> data(返回數據) | 截圖結果回調 |result.code: 0表示成功,其他表示錯誤代號<br>result.msg: 結果描述<br> data.userid: 發起截圖的用戶ID<br>data.filePath: 照片的保存地址<br> | 示例代碼: var szJsonBuf4Txt = { fontcolor: ‘0xffffff’, alpha: 100, posx: 5, posy: 5, fontsize: 23, text: 'HelloAnyChat', };
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看