public class LiveClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
LiveClient(Credential credential,
String region) |
LiveClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
AddDelayLiveStreamResponse |
AddDelayLiveStream(AddDelayLiveStreamRequest req)
This API is used to set the delay time for the stream.
|
CreateLiveRecordResponse |
CreateLiveRecord(CreateLiveRecordRequest req)
- Prerequisites
1.
|
CreateLiveRecordRuleResponse |
CreateLiveRecordRule(CreateLiveRecordRuleRequest req)
To create a recording rule, you need to first call the [CreateLiveRecordTemplate](/document/product/267/32614) API to create a recording template and bind the returned template ID to the stream.
|
CreateLiveRecordTemplateResponse |
CreateLiveRecordTemplate(CreateLiveRecordTemplateRequest req)
After a recording template is created and a template ID is successfully returned, you need to call the [CreateLiveRecordRule](/document/product/267/32615) API and bind the template ID to the stream.
|
CreateLiveTranscodeRuleResponse |
CreateLiveTranscodeRule(CreateLiveTranscodeRuleRequest req)
To create a transcoding rule, you need to first call the [CreateLiveTranscodeTemplate](/document/product/267/32646) API to create a transcoding template and bind the returned template ID to the stream.
|
CreateLiveTranscodeTemplateResponse |
CreateLiveTranscodeTemplate(CreateLiveTranscodeTemplateRequest req)
After a transcoding template is created and a template ID is successfully returned, you need to call the [CreateLiveTranscodeRule](/document/product/267/32647) API and bind the returned template ID to the stream.
|
DeleteLiveRecordResponse |
DeleteLiveRecord(DeleteLiveRecordRequest req)
Note: The `DeleteLiveRecord` API is only used to delete the record of recording tasks but not stop recording or deleting an ongoing recording task.
|
DeleteLiveRecordRuleResponse |
DeleteLiveRecordRule(DeleteLiveRecordRuleRequest req)
This API is used to delete a recording rule.
|
DeleteLiveRecordTemplateResponse |
DeleteLiveRecordTemplate(DeleteLiveRecordTemplateRequest req)
This API is used to delete a recording template.
|
DeleteLiveTranscodeRuleResponse |
DeleteLiveTranscodeRule(DeleteLiveTranscodeRuleRequest req)
This API is used to delete a transcoding rule.
|
DeleteLiveTranscodeTemplateResponse |
DeleteLiveTranscodeTemplate(DeleteLiveTranscodeTemplateRequest req)
This API is used to delete a transcoding template.
|
DescribeLiveDelayInfoListResponse |
DescribeLiveDelayInfoList(DescribeLiveDelayInfoListRequest req)
This API is used to get the list of delayed playbacks.
|
DescribeLiveForbidStreamListResponse |
DescribeLiveForbidStreamList(DescribeLiveForbidStreamListRequest req)
This API is used to get the list of forbidden streams.
|
DescribeLivePlayAuthKeyResponse |
DescribeLivePlayAuthKey(DescribeLivePlayAuthKeyRequest req)
This API is used to query the playback authentication key.
|
DescribeLivePushAuthKeyResponse |
DescribeLivePushAuthKey(DescribeLivePushAuthKeyRequest req)
This API is used to query the LVB push authentication key.
|
DescribeLiveRecordRulesResponse |
DescribeLiveRecordRules(DescribeLiveRecordRulesRequest req)
This API is used to get the list of recording rules.
|
DescribeLiveRecordTemplateResponse |
DescribeLiveRecordTemplate(DescribeLiveRecordTemplateRequest req)
This API is used to get a single recording template.
|
DescribeLiveRecordTemplatesResponse |
DescribeLiveRecordTemplates(DescribeLiveRecordTemplatesRequest req)
This API is used to get the list of recording templates.
|
DescribeLiveStreamEventListResponse |
DescribeLiveStreamEventList(DescribeLiveStreamEventListRequest req)
This API is used to query streaming events.
Note: This API can filter by IsFilter and return the push history. |
DescribeLiveStreamOnlineListResponse |
DescribeLiveStreamOnlineList(DescribeLiveStreamOnlineListRequest req)
This API is used to return the list of live streams.
|
DescribeLiveStreamPublishedListResponse |
DescribeLiveStreamPublishedList(DescribeLiveStreamPublishedListRequest req)
This API is used to return the list of pushed streams.
|
DescribeLiveStreamStateResponse |
DescribeLiveStreamState(DescribeLiveStreamStateRequest req)
This API is used to return the stream status such as active, inactive, or forbidden.
|
DescribeLiveTranscodeRulesResponse |
DescribeLiveTranscodeRules(DescribeLiveTranscodeRulesRequest req)
This API is used to get the list of transcoding rules.
|
DescribeLiveTranscodeTemplateResponse |
DescribeLiveTranscodeTemplate(DescribeLiveTranscodeTemplateRequest req)
This API is used to get a single transcoding template.
|
DescribeLiveTranscodeTemplatesResponse |
DescribeLiveTranscodeTemplates(DescribeLiveTranscodeTemplatesRequest req)
This API is used to get the list of transcoding templates.
|
DropLiveStreamResponse |
DropLiveStream(DropLiveStreamRequest req)
This API is used to disconnect the push connection, which can be resumed.
|
ForbidLiveStreamResponse |
ForbidLiveStream(ForbidLiveStreamRequest req)
This API is used to forbid the push of a specific stream.
|
ModifyLivePlayAuthKeyResponse |
ModifyLivePlayAuthKey(ModifyLivePlayAuthKeyRequest req)
This API is used to modify the playback authentication key.
|
ModifyLivePushAuthKeyResponse |
ModifyLivePushAuthKey(ModifyLivePushAuthKeyRequest req)
This API is used to modify the LVB push authentication key.
|
ModifyLiveRecordTemplateResponse |
ModifyLiveRecordTemplate(ModifyLiveRecordTemplateRequest req)
This API is used to modify the recording template configuration.
|
ModifyLiveTranscodeTemplateResponse |
ModifyLiveTranscodeTemplate(ModifyLiveTranscodeTemplateRequest req)
This API is used to modify the transcoding template configuration.
|
ResumeDelayLiveStreamResponse |
ResumeDelayLiveStream(ResumeDelayLiveStreamRequest req)
This API is used to resume a delayed playback.
|
ResumeLiveStreamResponse |
ResumeLiveStream(ResumeLiveStreamRequest req)
This API is used to resume the push of a specific stream.
|
StopLiveRecordResponse |
StopLiveRecord(StopLiveRecordRequest req)
Note: Recording files are stored on the VOD platform.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public LiveClient(Credential credential, String region)
public LiveClient(Credential credential, String region, ClientProfile profile)
public AddDelayLiveStreamResponse AddDelayLiveStream(AddDelayLiveStreamRequest req) throws TencentCloudSDKException
req
- AddDelayLiveStreamRequestTencentCloudSDKException
public CreateLiveRecordResponse CreateLiveRecord(CreateLiveRecordRequest req) throws TencentCloudSDKException
req
- CreateLiveRecordRequestTencentCloudSDKException
public CreateLiveRecordRuleResponse CreateLiveRecordRule(CreateLiveRecordRuleRequest req) throws TencentCloudSDKException
req
- CreateLiveRecordRuleRequestTencentCloudSDKException
public CreateLiveRecordTemplateResponse CreateLiveRecordTemplate(CreateLiveRecordTemplateRequest req) throws TencentCloudSDKException
req
- CreateLiveRecordTemplateRequestTencentCloudSDKException
public CreateLiveTranscodeRuleResponse CreateLiveTranscodeRule(CreateLiveTranscodeRuleRequest req) throws TencentCloudSDKException
req
- CreateLiveTranscodeRuleRequestTencentCloudSDKException
public CreateLiveTranscodeTemplateResponse CreateLiveTranscodeTemplate(CreateLiveTranscodeTemplateRequest req) throws TencentCloudSDKException
req
- CreateLiveTranscodeTemplateRequestTencentCloudSDKException
public DeleteLiveRecordResponse DeleteLiveRecord(DeleteLiveRecordRequest req) throws TencentCloudSDKException
req
- DeleteLiveRecordRequestTencentCloudSDKException
public DeleteLiveRecordRuleResponse DeleteLiveRecordRule(DeleteLiveRecordRuleRequest req) throws TencentCloudSDKException
req
- DeleteLiveRecordRuleRequestTencentCloudSDKException
public DeleteLiveRecordTemplateResponse DeleteLiveRecordTemplate(DeleteLiveRecordTemplateRequest req) throws TencentCloudSDKException
req
- DeleteLiveRecordTemplateRequestTencentCloudSDKException
public DeleteLiveTranscodeRuleResponse DeleteLiveTranscodeRule(DeleteLiveTranscodeRuleRequest req) throws TencentCloudSDKException
req
- DeleteLiveTranscodeRuleRequestTencentCloudSDKException
public DeleteLiveTranscodeTemplateResponse DeleteLiveTranscodeTemplate(DeleteLiveTranscodeTemplateRequest req) throws TencentCloudSDKException
req
- DeleteLiveTranscodeTemplateRequestTencentCloudSDKException
public DescribeLiveDelayInfoListResponse DescribeLiveDelayInfoList(DescribeLiveDelayInfoListRequest req) throws TencentCloudSDKException
req
- DescribeLiveDelayInfoListRequestTencentCloudSDKException
public DescribeLiveForbidStreamListResponse DescribeLiveForbidStreamList(DescribeLiveForbidStreamListRequest req) throws TencentCloudSDKException
req
- DescribeLiveForbidStreamListRequestTencentCloudSDKException
public DescribeLivePlayAuthKeyResponse DescribeLivePlayAuthKey(DescribeLivePlayAuthKeyRequest req) throws TencentCloudSDKException
req
- DescribeLivePlayAuthKeyRequestTencentCloudSDKException
public DescribeLivePushAuthKeyResponse DescribeLivePushAuthKey(DescribeLivePushAuthKeyRequest req) throws TencentCloudSDKException
req
- DescribeLivePushAuthKeyRequestTencentCloudSDKException
public DescribeLiveRecordRulesResponse DescribeLiveRecordRules(DescribeLiveRecordRulesRequest req) throws TencentCloudSDKException
req
- DescribeLiveRecordRulesRequestTencentCloudSDKException
public DescribeLiveRecordTemplateResponse DescribeLiveRecordTemplate(DescribeLiveRecordTemplateRequest req) throws TencentCloudSDKException
req
- DescribeLiveRecordTemplateRequestTencentCloudSDKException
public DescribeLiveRecordTemplatesResponse DescribeLiveRecordTemplates(DescribeLiveRecordTemplatesRequest req) throws TencentCloudSDKException
req
- DescribeLiveRecordTemplatesRequestTencentCloudSDKException
public DescribeLiveStreamEventListResponse DescribeLiveStreamEventList(DescribeLiveStreamEventListRequest req) throws TencentCloudSDKException
req
- DescribeLiveStreamEventListRequestTencentCloudSDKException
public DescribeLiveStreamOnlineListResponse DescribeLiveStreamOnlineList(DescribeLiveStreamOnlineListRequest req) throws TencentCloudSDKException
req
- DescribeLiveStreamOnlineListRequestTencentCloudSDKException
public DescribeLiveStreamPublishedListResponse DescribeLiveStreamPublishedList(DescribeLiveStreamPublishedListRequest req) throws TencentCloudSDKException
req
- DescribeLiveStreamPublishedListRequestTencentCloudSDKException
public DescribeLiveStreamStateResponse DescribeLiveStreamState(DescribeLiveStreamStateRequest req) throws TencentCloudSDKException
req
- DescribeLiveStreamStateRequestTencentCloudSDKException
public DescribeLiveTranscodeRulesResponse DescribeLiveTranscodeRules(DescribeLiveTranscodeRulesRequest req) throws TencentCloudSDKException
req
- DescribeLiveTranscodeRulesRequestTencentCloudSDKException
public DescribeLiveTranscodeTemplateResponse DescribeLiveTranscodeTemplate(DescribeLiveTranscodeTemplateRequest req) throws TencentCloudSDKException
req
- DescribeLiveTranscodeTemplateRequestTencentCloudSDKException
public DescribeLiveTranscodeTemplatesResponse DescribeLiveTranscodeTemplates(DescribeLiveTranscodeTemplatesRequest req) throws TencentCloudSDKException
req
- DescribeLiveTranscodeTemplatesRequestTencentCloudSDKException
public DropLiveStreamResponse DropLiveStream(DropLiveStreamRequest req) throws TencentCloudSDKException
req
- DropLiveStreamRequestTencentCloudSDKException
public ForbidLiveStreamResponse ForbidLiveStream(ForbidLiveStreamRequest req) throws TencentCloudSDKException
req
- ForbidLiveStreamRequestTencentCloudSDKException
public ModifyLivePlayAuthKeyResponse ModifyLivePlayAuthKey(ModifyLivePlayAuthKeyRequest req) throws TencentCloudSDKException
req
- ModifyLivePlayAuthKeyRequestTencentCloudSDKException
public ModifyLivePushAuthKeyResponse ModifyLivePushAuthKey(ModifyLivePushAuthKeyRequest req) throws TencentCloudSDKException
req
- ModifyLivePushAuthKeyRequestTencentCloudSDKException
public ModifyLiveRecordTemplateResponse ModifyLiveRecordTemplate(ModifyLiveRecordTemplateRequest req) throws TencentCloudSDKException
req
- ModifyLiveRecordTemplateRequestTencentCloudSDKException
public ModifyLiveTranscodeTemplateResponse ModifyLiveTranscodeTemplate(ModifyLiveTranscodeTemplateRequest req) throws TencentCloudSDKException
req
- ModifyLiveTranscodeTemplateRequestTencentCloudSDKException
public ResumeDelayLiveStreamResponse ResumeDelayLiveStream(ResumeDelayLiveStreamRequest req) throws TencentCloudSDKException
req
- ResumeDelayLiveStreamRequestTencentCloudSDKException
public ResumeLiveStreamResponse ResumeLiveStream(ResumeLiveStreamRequest req) throws TencentCloudSDKException
req
- ResumeLiveStreamRequestTencentCloudSDKException
public StopLiveRecordResponse StopLiveRecord(StopLiveRecordRequest req) throws TencentCloudSDKException
req
- StopLiveRecordRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.