tencentcloud-sdk-live 3.0.948 → 3.0.950
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/VERSION +1 -1
 - data/lib/v20180801/client.rb +463 -0
 - data/lib/v20180801/models.rb +1060 -9
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 143b6c44809ee8503f0db6efa3b453acbe8087b8
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c1da6ebe987d15f7e8a4f497bf629f7da226aeae
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 9b1c806a30ea29c9fc2ee6ff45af7d2b4e145b45b25f7e0bc83edf8d50805f0b582ec5601534a790af4db750d713abfdc70b1206e88b809fef3982a0a428b4eb
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: f70e36b9fb395f28695b94bb55bdaf7f3e0dcda745d8be26e0745a2b73ea64341cbe3920bca2a01ac8687f6888f93ac58d8b570f4dcd3692089bfe98c429ab66
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.950
         
     | 
    
        data/lib/v20180801/client.rb
    CHANGED
    
    | 
         @@ -29,6 +29,78 @@ module TencentCloud 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    end
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         | 
| 
      
 32 
     | 
    
         
            +
                    # 该接口用来向导播台中添加一个输入源,该输入源可以是拉流地址、或是一个文件链接
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                    # @param request: Request instance for AddCasterInputInfo.
         
     | 
| 
      
 35 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::AddCasterInputInfoRequest`
         
     | 
| 
      
 36 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::AddCasterInputInfoResponse`
         
     | 
| 
      
 37 
     | 
    
         
            +
                    def AddCasterInputInfo(request)
         
     | 
| 
      
 38 
     | 
    
         
            +
                      body = send_request('AddCasterInputInfo', request.serialize)
         
     | 
| 
      
 39 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 40 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 41 
     | 
    
         
            +
                        model = AddCasterInputInfoResponse.new
         
     | 
| 
      
 42 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 43 
     | 
    
         
            +
                        model
         
     | 
| 
      
 44 
     | 
    
         
            +
                      else
         
     | 
| 
      
 45 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 46 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 47 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 48 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 49 
     | 
    
         
            +
                      end
         
     | 
| 
      
 50 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 51 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 52 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 53 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 54 
     | 
    
         
            +
                    end
         
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
                    # 该接口用来增加导播台的布局参数。
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
                    # @param request: Request instance for AddCasterLayoutInfo.
         
     | 
| 
      
 59 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::AddCasterLayoutInfoRequest`
         
     | 
| 
      
 60 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::AddCasterLayoutInfoResponse`
         
     | 
| 
      
 61 
     | 
    
         
            +
                    def AddCasterLayoutInfo(request)
         
     | 
| 
      
 62 
     | 
    
         
            +
                      body = send_request('AddCasterLayoutInfo', request.serialize)
         
     | 
| 
      
 63 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 64 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 65 
     | 
    
         
            +
                        model = AddCasterLayoutInfoResponse.new
         
     | 
| 
      
 66 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 67 
     | 
    
         
            +
                        model
         
     | 
| 
      
 68 
     | 
    
         
            +
                      else
         
     | 
| 
      
 69 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 70 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 71 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 72 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 73 
     | 
    
         
            +
                      end
         
     | 
| 
      
 74 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 75 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 76 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 77 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 78 
     | 
    
         
            +
                    end
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
                    # 该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
         
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
                    # @param request: Request instance for AddCasterOutputInfo.
         
     | 
| 
      
 83 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::AddCasterOutputInfoRequest`
         
     | 
| 
      
 84 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::AddCasterOutputInfoResponse`
         
     | 
| 
      
 85 
     | 
    
         
            +
                    def AddCasterOutputInfo(request)
         
     | 
| 
      
 86 
     | 
    
         
            +
                      body = send_request('AddCasterOutputInfo', request.serialize)
         
     | 
| 
      
 87 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 88 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 89 
     | 
    
         
            +
                        model = AddCasterOutputInfoResponse.new
         
     | 
| 
      
 90 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 91 
     | 
    
         
            +
                        model
         
     | 
| 
      
 92 
     | 
    
         
            +
                      else
         
     | 
| 
      
 93 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 94 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 95 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 96 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 97 
     | 
    
         
            +
                      end
         
     | 
| 
      
 98 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 99 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 100 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 101 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 102 
     | 
    
         
            +
                    end
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
       32 
104 
     | 
    
         
             
                    # 针对大型活动直播,通过对直播流设置延时来控制现场与观众播放画面的时间间隔,避免突发状况造成影响。
         
     | 
| 
       33 
105 
     | 
    
         | 
| 
       34 
106 
     | 
    
         
             
                    # 注意:如果在推流前设置延播,需要提前5分钟设置,目前该接口只支持流粒度。
         
     | 
| 
         @@ -199,6 +271,103 @@ module TencentCloud 
     | 
|
| 
       199 
271 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       200 
272 
     | 
    
         
             
                    end
         
     | 
| 
       201 
273 
     | 
    
         | 
| 
      
 274 
     | 
    
         
            +
                    # 该接口用来生成导播台推流地址
         
     | 
| 
      
 275 
     | 
    
         
            +
             
     | 
| 
      
 276 
     | 
    
         
            +
                    # @param request: Request instance for CreateCasterInputPushUrl.
         
     | 
| 
      
 277 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::CreateCasterInputPushUrlRequest`
         
     | 
| 
      
 278 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::CreateCasterInputPushUrlResponse`
         
     | 
| 
      
 279 
     | 
    
         
            +
                    def CreateCasterInputPushUrl(request)
         
     | 
| 
      
 280 
     | 
    
         
            +
                      body = send_request('CreateCasterInputPushUrl', request.serialize)
         
     | 
| 
      
 281 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 282 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 283 
     | 
    
         
            +
                        model = CreateCasterInputPushUrlResponse.new
         
     | 
| 
      
 284 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 285 
     | 
    
         
            +
                        model
         
     | 
| 
      
 286 
     | 
    
         
            +
                      else
         
     | 
| 
      
 287 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 288 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 289 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 290 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 291 
     | 
    
         
            +
                      end
         
     | 
| 
      
 292 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 293 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 294 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 295 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 296 
     | 
    
         
            +
                    end
         
     | 
| 
      
 297 
     | 
    
         
            +
             
     | 
| 
      
 298 
     | 
    
         
            +
                    # 该接口用来启动主监任务,并将获取主监画面的播放地址。
         
     | 
| 
      
 299 
     | 
    
         
            +
             
     | 
| 
      
 300 
     | 
    
         
            +
                    # @param request: Request instance for CreateCasterPgm.
         
     | 
| 
      
 301 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::CreateCasterPgmRequest`
         
     | 
| 
      
 302 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::CreateCasterPgmResponse`
         
     | 
| 
      
 303 
     | 
    
         
            +
                    def CreateCasterPgm(request)
         
     | 
| 
      
 304 
     | 
    
         
            +
                      body = send_request('CreateCasterPgm', request.serialize)
         
     | 
| 
      
 305 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 306 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 307 
     | 
    
         
            +
                        model = CreateCasterPgmResponse.new
         
     | 
| 
      
 308 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 309 
     | 
    
         
            +
                        model
         
     | 
| 
      
 310 
     | 
    
         
            +
                      else
         
     | 
| 
      
 311 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 312 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 313 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 314 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 315 
     | 
    
         
            +
                      end
         
     | 
| 
      
 316 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 317 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 318 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 319 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 320 
     | 
    
         
            +
                    end
         
     | 
| 
      
 321 
     | 
    
         
            +
             
     | 
| 
      
 322 
     | 
    
         
            +
                    # 该接口用来将预监画面的布局、水印、字幕等配置,复制到主监画面中。
         
     | 
| 
      
 323 
     | 
    
         
            +
                    # 该接口使用时,预监任务需处于运行状态。
         
     | 
| 
      
 324 
     | 
    
         
            +
             
     | 
| 
      
 325 
     | 
    
         
            +
                    # @param request: Request instance for CreateCasterPgmFromPvw.
         
     | 
| 
      
 326 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::CreateCasterPgmFromPvwRequest`
         
     | 
| 
      
 327 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::CreateCasterPgmFromPvwResponse`
         
     | 
| 
      
 328 
     | 
    
         
            +
                    def CreateCasterPgmFromPvw(request)
         
     | 
| 
      
 329 
     | 
    
         
            +
                      body = send_request('CreateCasterPgmFromPvw', request.serialize)
         
     | 
| 
      
 330 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 331 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 332 
     | 
    
         
            +
                        model = CreateCasterPgmFromPvwResponse.new
         
     | 
| 
      
 333 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 334 
     | 
    
         
            +
                        model
         
     | 
| 
      
 335 
     | 
    
         
            +
                      else
         
     | 
| 
      
 336 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 337 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 338 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 339 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 340 
     | 
    
         
            +
                      end
         
     | 
| 
      
 341 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 342 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 343 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 344 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 345 
     | 
    
         
            +
                    end
         
     | 
| 
      
 346 
     | 
    
         
            +
             
     | 
| 
      
 347 
     | 
    
         
            +
                    # 该接口用来启动预监任务,并将获取预监画面的播放地址。
         
     | 
| 
      
 348 
     | 
    
         
            +
             
     | 
| 
      
 349 
     | 
    
         
            +
                    # @param request: Request instance for CreateCasterPvw.
         
     | 
| 
      
 350 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::CreateCasterPvwRequest`
         
     | 
| 
      
 351 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::CreateCasterPvwResponse`
         
     | 
| 
      
 352 
     | 
    
         
            +
                    def CreateCasterPvw(request)
         
     | 
| 
      
 353 
     | 
    
         
            +
                      body = send_request('CreateCasterPvw', request.serialize)
         
     | 
| 
      
 354 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 355 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 356 
     | 
    
         
            +
                        model = CreateCasterPvwResponse.new
         
     | 
| 
      
 357 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 358 
     | 
    
         
            +
                        model
         
     | 
| 
      
 359 
     | 
    
         
            +
                      else
         
     | 
| 
      
 360 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 361 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 362 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 363 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 364 
     | 
    
         
            +
                      end
         
     | 
| 
      
 365 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 366 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 367 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 368 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 369 
     | 
    
         
            +
                    end
         
     | 
| 
      
 370 
     | 
    
         
            +
             
     | 
| 
       202 
371 
     | 
    
         
             
                    # 该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。
         
     | 
| 
       203 
372 
     | 
    
         
             
                    # 注意:当前最多支持16路混流。
         
     | 
| 
       204 
373 
     | 
    
         
             
                    # 最佳实践:https://cloud.tencent.com/document/product/267/45566
         
     | 
| 
         @@ -759,6 +928,79 @@ module TencentCloud 
     | 
|
| 
       759 
928 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       760 
929 
     | 
    
         
             
                    end
         
     | 
| 
       761 
930 
     | 
    
         | 
| 
      
 931 
     | 
    
         
            +
                    # 该接口用来删除导播台中的输入源信息。
         
     | 
| 
      
 932 
     | 
    
         
            +
             
     | 
| 
      
 933 
     | 
    
         
            +
                    # @param request: Request instance for DeleteCasterInputInfo.
         
     | 
| 
      
 934 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterInputInfoRequest`
         
     | 
| 
      
 935 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterInputInfoResponse`
         
     | 
| 
      
 936 
     | 
    
         
            +
                    def DeleteCasterInputInfo(request)
         
     | 
| 
      
 937 
     | 
    
         
            +
                      body = send_request('DeleteCasterInputInfo', request.serialize)
         
     | 
| 
      
 938 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 939 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 940 
     | 
    
         
            +
                        model = DeleteCasterInputInfoResponse.new
         
     | 
| 
      
 941 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 942 
     | 
    
         
            +
                        model
         
     | 
| 
      
 943 
     | 
    
         
            +
                      else
         
     | 
| 
      
 944 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 945 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 946 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 947 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 948 
     | 
    
         
            +
                      end
         
     | 
| 
      
 949 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 950 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 951 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 952 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 953 
     | 
    
         
            +
                    end
         
     | 
| 
      
 954 
     | 
    
         
            +
             
     | 
| 
      
 955 
     | 
    
         
            +
                    # 该接口用来将布局信息从导播台中删除
         
     | 
| 
      
 956 
     | 
    
         
            +
             
     | 
| 
      
 957 
     | 
    
         
            +
                    # @param request: Request instance for DeleteCasterLayoutInfo.
         
     | 
| 
      
 958 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterLayoutInfoRequest`
         
     | 
| 
      
 959 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterLayoutInfoResponse`
         
     | 
| 
      
 960 
     | 
    
         
            +
                    def DeleteCasterLayoutInfo(request)
         
     | 
| 
      
 961 
     | 
    
         
            +
                      body = send_request('DeleteCasterLayoutInfo', request.serialize)
         
     | 
| 
      
 962 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 963 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 964 
     | 
    
         
            +
                        model = DeleteCasterLayoutInfoResponse.new
         
     | 
| 
      
 965 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 966 
     | 
    
         
            +
                        model
         
     | 
| 
      
 967 
     | 
    
         
            +
                      else
         
     | 
| 
      
 968 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 969 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 970 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 971 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 972 
     | 
    
         
            +
                      end
         
     | 
| 
      
 973 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 974 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 975 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 976 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 977 
     | 
    
         
            +
                    end
         
     | 
| 
      
 978 
     | 
    
         
            +
             
     | 
| 
      
 979 
     | 
    
         
            +
                    # 该接口用来删除导播台的推流信息。
         
     | 
| 
      
 980 
     | 
    
         
            +
                    # 注:若删除推流到腾讯云直播源站配置,即OutputIndex为0,OutputType为1的推流配置,在重新启动主监后,系统会自动重新生成一个推流到腾讯云直播源站配置。
         
     | 
| 
      
 981 
     | 
    
         
            +
             
     | 
| 
      
 982 
     | 
    
         
            +
                    # @param request: Request instance for DeleteCasterOutputInfo.
         
     | 
| 
      
 983 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterOutputInfoRequest`
         
     | 
| 
      
 984 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterOutputInfoResponse`
         
     | 
| 
      
 985 
     | 
    
         
            +
                    def DeleteCasterOutputInfo(request)
         
     | 
| 
      
 986 
     | 
    
         
            +
                      body = send_request('DeleteCasterOutputInfo', request.serialize)
         
     | 
| 
      
 987 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 988 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 989 
     | 
    
         
            +
                        model = DeleteCasterOutputInfoResponse.new
         
     | 
| 
      
 990 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 991 
     | 
    
         
            +
                        model
         
     | 
| 
      
 992 
     | 
    
         
            +
                      else
         
     | 
| 
      
 993 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 994 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 995 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 996 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 997 
     | 
    
         
            +
                      end
         
     | 
| 
      
 998 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 999 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1000 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1001 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1002 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1003 
     | 
    
         
            +
             
     | 
| 
       762 
1004 
     | 
    
         
             
                    # 删除回调规则。
         
     | 
| 
       763 
1005 
     | 
    
         | 
| 
       764 
1006 
     | 
    
         
             
                    # @param request: Request instance for DeleteLiveCallbackRule.
         
     | 
| 
         @@ -1441,6 +1683,54 @@ module TencentCloud 
     | 
|
| 
       1441 
1683 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       1442 
1684 
     | 
    
         
             
                    end
         
     | 
| 
       1443 
1685 
     | 
    
         | 
| 
      
 1686 
     | 
    
         
            +
                    # 该接口用来查询导播台的输入源信息列表。
         
     | 
| 
      
 1687 
     | 
    
         
            +
             
     | 
| 
      
 1688 
     | 
    
         
            +
                    # @param request: Request instance for DescribeCasterInputInfos.
         
     | 
| 
      
 1689 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterInputInfosRequest`
         
     | 
| 
      
 1690 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterInputInfosResponse`
         
     | 
| 
      
 1691 
     | 
    
         
            +
                    def DescribeCasterInputInfos(request)
         
     | 
| 
      
 1692 
     | 
    
         
            +
                      body = send_request('DescribeCasterInputInfos', request.serialize)
         
     | 
| 
      
 1693 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 1694 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 1695 
     | 
    
         
            +
                        model = DescribeCasterInputInfosResponse.new
         
     | 
| 
      
 1696 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 1697 
     | 
    
         
            +
                        model
         
     | 
| 
      
 1698 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1699 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 1700 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 1701 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 1702 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 1703 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1704 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 1705 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1706 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1707 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1708 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1709 
     | 
    
         
            +
             
     | 
| 
      
 1710 
     | 
    
         
            +
                    # 该接口用来查询某个导播台的布局列表
         
     | 
| 
      
 1711 
     | 
    
         
            +
             
     | 
| 
      
 1712 
     | 
    
         
            +
                    # @param request: Request instance for DescribeCasterLayoutInfos.
         
     | 
| 
      
 1713 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterLayoutInfosRequest`
         
     | 
| 
      
 1714 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterLayoutInfosResponse`
         
     | 
| 
      
 1715 
     | 
    
         
            +
                    def DescribeCasterLayoutInfos(request)
         
     | 
| 
      
 1716 
     | 
    
         
            +
                      body = send_request('DescribeCasterLayoutInfos', request.serialize)
         
     | 
| 
      
 1717 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 1718 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 1719 
     | 
    
         
            +
                        model = DescribeCasterLayoutInfosResponse.new
         
     | 
| 
      
 1720 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 1721 
     | 
    
         
            +
                        model
         
     | 
| 
      
 1722 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1723 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 1724 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 1725 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 1726 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 1727 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1728 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 1729 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1730 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1731 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1732 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1733 
     | 
    
         
            +
             
     | 
| 
       1444 
1734 
     | 
    
         
             
                    # 该接口用来查询账号下所有的导播台列表
         
     | 
| 
       1445 
1735 
     | 
    
         | 
| 
       1446 
1736 
     | 
    
         
             
                    # @param request: Request instance for DescribeCasterList.
         
     | 
| 
         @@ -1465,6 +1755,30 @@ module TencentCloud 
     | 
|
| 
       1465 
1755 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       1466 
1756 
     | 
    
         
             
                    end
         
     | 
| 
       1467 
1757 
     | 
    
         | 
| 
      
 1758 
     | 
    
         
            +
                    # 该接口用来查询某个导播台的推流信息列表。
         
     | 
| 
      
 1759 
     | 
    
         
            +
             
     | 
| 
      
 1760 
     | 
    
         
            +
                    # @param request: Request instance for DescribeCasterOutputInfos.
         
     | 
| 
      
 1761 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterOutputInfosRequest`
         
     | 
| 
      
 1762 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterOutputInfosResponse`
         
     | 
| 
      
 1763 
     | 
    
         
            +
                    def DescribeCasterOutputInfos(request)
         
     | 
| 
      
 1764 
     | 
    
         
            +
                      body = send_request('DescribeCasterOutputInfos', request.serialize)
         
     | 
| 
      
 1765 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 1766 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 1767 
     | 
    
         
            +
                        model = DescribeCasterOutputInfosResponse.new
         
     | 
| 
      
 1768 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 1769 
     | 
    
         
            +
                        model
         
     | 
| 
      
 1770 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1771 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 1772 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 1773 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 1774 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 1775 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1776 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 1777 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1778 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1779 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1780 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1781 
     | 
    
         
            +
             
     | 
| 
       1468 
1782 
     | 
    
         
             
                    # 该接口用来获取导播台视频流的播放url,用来在页面上拉流展示。
         
     | 
| 
       1469 
1783 
     | 
    
         | 
| 
       1470 
1784 
     | 
    
         
             
                    # @param request: Request instance for DescribeCasterPlayUrl.
         
     | 
| 
         @@ -3509,6 +3823,80 @@ module TencentCloud 
     | 
|
| 
       3509 
3823 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       3510 
3824 
     | 
    
         
             
                    end
         
     | 
| 
       3511 
3825 
     | 
    
         | 
| 
      
 3826 
     | 
    
         
            +
                    # 该接口用来修改已经设置过的输入源信息,如源地址,源类型等。
         
     | 
| 
      
 3827 
     | 
    
         
            +
                    # 设置前,需保证待修改的输入源已经存在。若不存在,需使用AddCasterInputInfo接口。
         
     | 
| 
      
 3828 
     | 
    
         
            +
             
     | 
| 
      
 3829 
     | 
    
         
            +
                    # @param request: Request instance for ModifyCasterInputInfo.
         
     | 
| 
      
 3830 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterInputInfoRequest`
         
     | 
| 
      
 3831 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterInputInfoResponse`
         
     | 
| 
      
 3832 
     | 
    
         
            +
                    def ModifyCasterInputInfo(request)
         
     | 
| 
      
 3833 
     | 
    
         
            +
                      body = send_request('ModifyCasterInputInfo', request.serialize)
         
     | 
| 
      
 3834 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 3835 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 3836 
     | 
    
         
            +
                        model = ModifyCasterInputInfoResponse.new
         
     | 
| 
      
 3837 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 3838 
     | 
    
         
            +
                        model
         
     | 
| 
      
 3839 
     | 
    
         
            +
                      else
         
     | 
| 
      
 3840 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 3841 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 3842 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 3843 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 3844 
     | 
    
         
            +
                      end
         
     | 
| 
      
 3845 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 3846 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 3847 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 3848 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 3849 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3850 
     | 
    
         
            +
             
     | 
| 
      
 3851 
     | 
    
         
            +
                    # 该接口用来修改布局参数
         
     | 
| 
      
 3852 
     | 
    
         
            +
             
     | 
| 
      
 3853 
     | 
    
         
            +
                    # @param request: Request instance for ModifyCasterLayoutInfo.
         
     | 
| 
      
 3854 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterLayoutInfoRequest`
         
     | 
| 
      
 3855 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterLayoutInfoResponse`
         
     | 
| 
      
 3856 
     | 
    
         
            +
                    def ModifyCasterLayoutInfo(request)
         
     | 
| 
      
 3857 
     | 
    
         
            +
                      body = send_request('ModifyCasterLayoutInfo', request.serialize)
         
     | 
| 
      
 3858 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 3859 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 3860 
     | 
    
         
            +
                        model = ModifyCasterLayoutInfoResponse.new
         
     | 
| 
      
 3861 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 3862 
     | 
    
         
            +
                        model
         
     | 
| 
      
 3863 
     | 
    
         
            +
                      else
         
     | 
| 
      
 3864 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 3865 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 3866 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 3867 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 3868 
     | 
    
         
            +
                      end
         
     | 
| 
      
 3869 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 3870 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 3871 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 3872 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 3873 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3874 
     | 
    
         
            +
             
     | 
| 
      
 3875 
     | 
    
         
            +
                    # 该接口用来修改导播台的推流信息。
         
     | 
| 
      
 3876 
     | 
    
         
            +
                    # 注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
         
     | 
| 
      
 3877 
     | 
    
         
            +
             
     | 
| 
      
 3878 
     | 
    
         
            +
                    # @param request: Request instance for ModifyCasterOutputInfo.
         
     | 
| 
      
 3879 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterOutputInfoRequest`
         
     | 
| 
      
 3880 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterOutputInfoResponse`
         
     | 
| 
      
 3881 
     | 
    
         
            +
                    def ModifyCasterOutputInfo(request)
         
     | 
| 
      
 3882 
     | 
    
         
            +
                      body = send_request('ModifyCasterOutputInfo', request.serialize)
         
     | 
| 
      
 3883 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 3884 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 3885 
     | 
    
         
            +
                        model = ModifyCasterOutputInfoResponse.new
         
     | 
| 
      
 3886 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 3887 
     | 
    
         
            +
                        model
         
     | 
| 
      
 3888 
     | 
    
         
            +
                      else
         
     | 
| 
      
 3889 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 3890 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 3891 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 3892 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 3893 
     | 
    
         
            +
                      end
         
     | 
| 
      
 3894 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 3895 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 3896 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 3897 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 3898 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3899 
     | 
    
         
            +
             
     | 
| 
       3512 
3900 
     | 
    
         
             
                    # 修改回调模板。
         
     | 
| 
       3513 
3901 
     | 
    
         | 
| 
       3514 
3902 
     | 
    
         
             
                    # @param request: Request instance for ModifyLiveCallbackTemplate.
         
     | 
| 
         @@ -3872,6 +4260,32 @@ module TencentCloud 
     | 
|
| 
       3872 
4260 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       3873 
4261 
     | 
    
         
             
                    end
         
     | 
| 
       3874 
4262 
     | 
    
         | 
| 
      
 4263 
     | 
    
         
            +
                    # 调用该接口,释放导播台实例,但保留所有的配置。
         
     | 
| 
      
 4264 
     | 
    
         
            +
                    # 执行该接口,预监与主监画面停止,第三方推流停止。
         
     | 
| 
      
 4265 
     | 
    
         
            +
                    # 点播文件与直播地址将停止展示,客户自行推到导播台的流需要手动停止。
         
     | 
| 
      
 4266 
     | 
    
         
            +
             
     | 
| 
      
 4267 
     | 
    
         
            +
                    # @param request: Request instance for ReleaseCaster.
         
     | 
| 
      
 4268 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::ReleaseCasterRequest`
         
     | 
| 
      
 4269 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::ReleaseCasterResponse`
         
     | 
| 
      
 4270 
     | 
    
         
            +
                    def ReleaseCaster(request)
         
     | 
| 
      
 4271 
     | 
    
         
            +
                      body = send_request('ReleaseCaster', request.serialize)
         
     | 
| 
      
 4272 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 4273 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 4274 
     | 
    
         
            +
                        model = ReleaseCasterResponse.new
         
     | 
| 
      
 4275 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 4276 
     | 
    
         
            +
                        model
         
     | 
| 
      
 4277 
     | 
    
         
            +
                      else
         
     | 
| 
      
 4278 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 4279 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 4280 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 4281 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 4282 
     | 
    
         
            +
                      end
         
     | 
| 
      
 4283 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 4284 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 4285 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 4286 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 4287 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4288 
     | 
    
         
            +
             
     | 
| 
       3875 
4289 
     | 
    
         
             
                    # 将正在运行的拉流转推任务进行重启。
         
     | 
| 
       3876 
4290 
     | 
    
         
             
                    # 注意:
         
     | 
| 
       3877 
4291 
     | 
    
         
             
                    # 1. 重启任务会造成推流中断。
         
     | 
| 
         @@ -3971,6 +4385,55 @@ module TencentCloud 
     | 
|
| 
       3971 
4385 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       3972 
4386 
     | 
    
         
             
                    end
         
     | 
| 
       3973 
4387 
     | 
    
         | 
| 
      
 4388 
     | 
    
         
            +
                    # 该接口用来停止导播台的主监输出。
         
     | 
| 
      
 4389 
     | 
    
         
            +
                    # 停止主监后,对应的推流到腾讯云直播源站和推流到其他第三方平台均将会停止。
         
     | 
| 
      
 4390 
     | 
    
         
            +
             
     | 
| 
      
 4391 
     | 
    
         
            +
                    # @param request: Request instance for StopCasterPgm.
         
     | 
| 
      
 4392 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::StopCasterPgmRequest`
         
     | 
| 
      
 4393 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::StopCasterPgmResponse`
         
     | 
| 
      
 4394 
     | 
    
         
            +
                    def StopCasterPgm(request)
         
     | 
| 
      
 4395 
     | 
    
         
            +
                      body = send_request('StopCasterPgm', request.serialize)
         
     | 
| 
      
 4396 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 4397 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 4398 
     | 
    
         
            +
                        model = StopCasterPgmResponse.new
         
     | 
| 
      
 4399 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 4400 
     | 
    
         
            +
                        model
         
     | 
| 
      
 4401 
     | 
    
         
            +
                      else
         
     | 
| 
      
 4402 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 4403 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 4404 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 4405 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 4406 
     | 
    
         
            +
                      end
         
     | 
| 
      
 4407 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 4408 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 4409 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 4410 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 4411 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4412 
     | 
    
         
            +
             
     | 
| 
      
 4413 
     | 
    
         
            +
                    # 该接口用来停止导播台的预监任务。
         
     | 
| 
      
 4414 
     | 
    
         
            +
             
     | 
| 
      
 4415 
     | 
    
         
            +
                    # @param request: Request instance for StopCasterPvw.
         
     | 
| 
      
 4416 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::live::V20180801::StopCasterPvwRequest`
         
     | 
| 
      
 4417 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::live::V20180801::StopCasterPvwResponse`
         
     | 
| 
      
 4418 
     | 
    
         
            +
                    def StopCasterPvw(request)
         
     | 
| 
      
 4419 
     | 
    
         
            +
                      body = send_request('StopCasterPvw', request.serialize)
         
     | 
| 
      
 4420 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 4421 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 4422 
     | 
    
         
            +
                        model = StopCasterPvwResponse.new
         
     | 
| 
      
 4423 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 4424 
     | 
    
         
            +
                        model
         
     | 
| 
      
 4425 
     | 
    
         
            +
                      else
         
     | 
| 
      
 4426 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 4427 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 4428 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 4429 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 4430 
     | 
    
         
            +
                      end
         
     | 
| 
      
 4431 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 4432 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 4433 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 4434 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 4435 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4436 
     | 
    
         
            +
             
     | 
| 
       3974 
4437 
     | 
    
         
             
                    # 使用该接口停止垫片流。
         
     | 
| 
       3975 
4438 
     | 
    
         | 
| 
       3976 
4439 
     | 
    
         
             
                    # @param request: Request instance for StopLivePadProcessor.
         
     |