Description
Forbid publishing a stream. You can set a time to resume streaming.
Request parameters
Parameters | Type | Required | Example values | Description |
---|---|---|---|---|
Action | String | Yes | ForbidLiveStream | The name of this interface. Value: ForbidLiveStream |
AppName | String | Yes | testApp | Name of the app. |
DomainName | String | Yes | www.yourdomain.com | Your Live domain name. |
LiveStreamType | String | Yes | publisher | Used to specify whether to adopt stream pushing by the broadcaster or stream pulling by the client. Currently publisher (pushed by the broadcaster) is supported. |
StreamName | String | Yes | testStream | Name of the stream. |
ResumeTime | String | No | 2015-12-01T17:37:00Z | Time when resume the stream.
|
Return parameters
Parameters | Type | Example values | Description |
---|---|---|---|
RequestId | String | 40A4F36D-A7CC-473A-88E7-154F92242566 | The ID of the job request. |
Example
Request example
https://live.aliyuncs.com/?Action=ForbidLiveStream&DomainName=test101.aliyunlive.com&AppName=app&StreamName=stream1&LiveStreamType=publisher&<Public Request Parameter>
For more information, see Public Request Parameter.
Normal return example
JSON
format
{
"RequestId":"16BFE188-B193-4C3C-ADC5-79A7E31486EA"
}
Exception return example
JSON
format
{
"Code":"InternalError",
"HostId":"live.aliyuncs.com",
"Message":"The request processing has failed due to some unknown error.",
"RequestId":"6EBD1AC4-C34D-4AE1-963E-B688A228BE31"
}
Error code
For more information about error code of this product, see Error code.