Documentation ¶
Index ¶
- func CloudRTCClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateApp() *def.HttpRequestDef
- func GenReqDefForCreateIndividualStreamJob() *def.HttpRequestDef
- func GenReqDefForCreateMixJob() *def.HttpRequestDef
- func GenReqDefForCreateRecordRule() *def.HttpRequestDef
- func GenReqDefForDeleteApp() *def.HttpRequestDef
- func GenReqDefForDeleteRecordRule() *def.HttpRequestDef
- func GenReqDefForListApps() *def.HttpRequestDef
- func GenReqDefForListRecordRules() *def.HttpRequestDef
- func GenReqDefForRemoveRoom() *def.HttpRequestDef
- func GenReqDefForRemoveUsers() *def.HttpRequestDef
- func GenReqDefForShowApp() *def.HttpRequestDef
- func GenReqDefForShowAutoRecord() *def.HttpRequestDef
- func GenReqDefForShowIndividualStreamJob() *def.HttpRequestDef
- func GenReqDefForShowMixJob() *def.HttpRequestDef
- func GenReqDefForShowRecordCallback() *def.HttpRequestDef
- func GenReqDefForShowRecordRule() *def.HttpRequestDef
- func GenReqDefForShowUrlAuth() *def.HttpRequestDef
- func GenReqDefForStartApp() *def.HttpRequestDef
- func GenReqDefForStopApp() *def.HttpRequestDef
- func GenReqDefForStopIndividualStreamJob() *def.HttpRequestDef
- func GenReqDefForStopMixJob() *def.HttpRequestDef
- func GenReqDefForUpdateAutoRecord() *def.HttpRequestDef
- func GenReqDefForUpdateIndividualStreamJob() *def.HttpRequestDef
- func GenReqDefForUpdateMixJob() *def.HttpRequestDef
- func GenReqDefForUpdateRecordCallback() *def.HttpRequestDef
- func GenReqDefForUpdateRecordRule() *def.HttpRequestDef
- func GenReqDefForUpdateUrlAuth() *def.HttpRequestDef
- type CloudRTCClient
- func (c *CloudRTCClient) CreateApp(request *model.CreateAppRequest) (*model.CreateAppResponse, error)
- func (c *CloudRTCClient) CreateAppInvoker(request *model.CreateAppRequest) *CreateAppInvoker
- func (c *CloudRTCClient) CreateIndividualStreamJob(request *model.CreateIndividualStreamJobRequest) (*model.CreateIndividualStreamJobResponse, error)
- func (c *CloudRTCClient) CreateIndividualStreamJobInvoker(request *model.CreateIndividualStreamJobRequest) *CreateIndividualStreamJobInvoker
- func (c *CloudRTCClient) CreateMixJob(request *model.CreateMixJobRequest) (*model.CreateMixJobResponse, error)
- func (c *CloudRTCClient) CreateMixJobInvoker(request *model.CreateMixJobRequest) *CreateMixJobInvoker
- func (c *CloudRTCClient) CreateRecordRule(request *model.CreateRecordRuleRequest) (*model.CreateRecordRuleResponse, error)
- func (c *CloudRTCClient) CreateRecordRuleInvoker(request *model.CreateRecordRuleRequest) *CreateRecordRuleInvoker
- func (c *CloudRTCClient) DeleteApp(request *model.DeleteAppRequest) (*model.DeleteAppResponse, error)
- func (c *CloudRTCClient) DeleteAppInvoker(request *model.DeleteAppRequest) *DeleteAppInvoker
- func (c *CloudRTCClient) DeleteRecordRule(request *model.DeleteRecordRuleRequest) (*model.DeleteRecordRuleResponse, error)
- func (c *CloudRTCClient) DeleteRecordRuleInvoker(request *model.DeleteRecordRuleRequest) *DeleteRecordRuleInvoker
- func (c *CloudRTCClient) ListApps(request *model.ListAppsRequest) (*model.ListAppsResponse, error)
- func (c *CloudRTCClient) ListAppsInvoker(request *model.ListAppsRequest) *ListAppsInvoker
- func (c *CloudRTCClient) ListRecordRules(request *model.ListRecordRulesRequest) (*model.ListRecordRulesResponse, error)
- func (c *CloudRTCClient) ListRecordRulesInvoker(request *model.ListRecordRulesRequest) *ListRecordRulesInvoker
- func (c *CloudRTCClient) RemoveRoom(request *model.RemoveRoomRequest) (*model.RemoveRoomResponse, error)
- func (c *CloudRTCClient) RemoveRoomInvoker(request *model.RemoveRoomRequest) *RemoveRoomInvoker
- func (c *CloudRTCClient) RemoveUsers(request *model.RemoveUsersRequest) (*model.RemoveUsersResponse, error)
- func (c *CloudRTCClient) RemoveUsersInvoker(request *model.RemoveUsersRequest) *RemoveUsersInvoker
- func (c *CloudRTCClient) ShowApp(request *model.ShowAppRequest) (*model.ShowAppResponse, error)
- func (c *CloudRTCClient) ShowAppInvoker(request *model.ShowAppRequest) *ShowAppInvoker
- func (c *CloudRTCClient) ShowAutoRecord(request *model.ShowAutoRecordRequest) (*model.ShowAutoRecordResponse, error)
- func (c *CloudRTCClient) ShowAutoRecordInvoker(request *model.ShowAutoRecordRequest) *ShowAutoRecordInvoker
- func (c *CloudRTCClient) ShowIndividualStreamJob(request *model.ShowIndividualStreamJobRequest) (*model.ShowIndividualStreamJobResponse, error)
- func (c *CloudRTCClient) ShowIndividualStreamJobInvoker(request *model.ShowIndividualStreamJobRequest) *ShowIndividualStreamJobInvoker
- func (c *CloudRTCClient) ShowMixJob(request *model.ShowMixJobRequest) (*model.ShowMixJobResponse, error)
- func (c *CloudRTCClient) ShowMixJobInvoker(request *model.ShowMixJobRequest) *ShowMixJobInvoker
- func (c *CloudRTCClient) ShowRecordCallback(request *model.ShowRecordCallbackRequest) (*model.ShowRecordCallbackResponse, error)
- func (c *CloudRTCClient) ShowRecordCallbackInvoker(request *model.ShowRecordCallbackRequest) *ShowRecordCallbackInvoker
- func (c *CloudRTCClient) ShowRecordRule(request *model.ShowRecordRuleRequest) (*model.ShowRecordRuleResponse, error)
- func (c *CloudRTCClient) ShowRecordRuleInvoker(request *model.ShowRecordRuleRequest) *ShowRecordRuleInvoker
- func (c *CloudRTCClient) ShowUrlAuth(request *model.ShowUrlAuthRequest) (*model.ShowUrlAuthResponse, error)
- func (c *CloudRTCClient) ShowUrlAuthInvoker(request *model.ShowUrlAuthRequest) *ShowUrlAuthInvoker
- func (c *CloudRTCClient) StartApp(request *model.StartAppRequest) (*model.StartAppResponse, error)
- func (c *CloudRTCClient) StartAppInvoker(request *model.StartAppRequest) *StartAppInvoker
- func (c *CloudRTCClient) StopApp(request *model.StopAppRequest) (*model.StopAppResponse, error)
- func (c *CloudRTCClient) StopAppInvoker(request *model.StopAppRequest) *StopAppInvoker
- func (c *CloudRTCClient) StopIndividualStreamJob(request *model.StopIndividualStreamJobRequest) (*model.StopIndividualStreamJobResponse, error)
- func (c *CloudRTCClient) StopIndividualStreamJobInvoker(request *model.StopIndividualStreamJobRequest) *StopIndividualStreamJobInvoker
- func (c *CloudRTCClient) StopMixJob(request *model.StopMixJobRequest) (*model.StopMixJobResponse, error)
- func (c *CloudRTCClient) StopMixJobInvoker(request *model.StopMixJobRequest) *StopMixJobInvoker
- func (c *CloudRTCClient) UpdateAutoRecord(request *model.UpdateAutoRecordRequest) (*model.UpdateAutoRecordResponse, error)
- func (c *CloudRTCClient) UpdateAutoRecordInvoker(request *model.UpdateAutoRecordRequest) *UpdateAutoRecordInvoker
- func (c *CloudRTCClient) UpdateIndividualStreamJob(request *model.UpdateIndividualStreamJobRequest) (*model.UpdateIndividualStreamJobResponse, error)
- func (c *CloudRTCClient) UpdateIndividualStreamJobInvoker(request *model.UpdateIndividualStreamJobRequest) *UpdateIndividualStreamJobInvoker
- func (c *CloudRTCClient) UpdateMixJob(request *model.UpdateMixJobRequest) (*model.UpdateMixJobResponse, error)
- func (c *CloudRTCClient) UpdateMixJobInvoker(request *model.UpdateMixJobRequest) *UpdateMixJobInvoker
- func (c *CloudRTCClient) UpdateRecordCallback(request *model.UpdateRecordCallbackRequest) (*model.UpdateRecordCallbackResponse, error)
- func (c *CloudRTCClient) UpdateRecordCallbackInvoker(request *model.UpdateRecordCallbackRequest) *UpdateRecordCallbackInvoker
- func (c *CloudRTCClient) UpdateRecordRule(request *model.UpdateRecordRuleRequest) (*model.UpdateRecordRuleResponse, error)
- func (c *CloudRTCClient) UpdateRecordRuleInvoker(request *model.UpdateRecordRuleRequest) *UpdateRecordRuleInvoker
- func (c *CloudRTCClient) UpdateUrlAuth(request *model.UpdateUrlAuthRequest) (*model.UpdateUrlAuthResponse, error)
- func (c *CloudRTCClient) UpdateUrlAuthInvoker(request *model.UpdateUrlAuthRequest) *UpdateUrlAuthInvoker
- type CreateAppInvoker
- type CreateIndividualStreamJobInvoker
- type CreateMixJobInvoker
- type CreateRecordRuleInvoker
- type DeleteAppInvoker
- type DeleteRecordRuleInvoker
- type ListAppsInvoker
- type ListRecordRulesInvoker
- type RemoveRoomInvoker
- type RemoveUsersInvoker
- type ShowAppInvoker
- type ShowAutoRecordInvoker
- type ShowIndividualStreamJobInvoker
- type ShowMixJobInvoker
- type ShowRecordCallbackInvoker
- type ShowRecordRuleInvoker
- type ShowUrlAuthInvoker
- type StartAppInvoker
- type StopAppInvoker
- type StopIndividualStreamJobInvoker
- type StopMixJobInvoker
- type UpdateAutoRecordInvoker
- type UpdateIndividualStreamJobInvoker
- type UpdateMixJobInvoker
- type UpdateRecordCallbackInvoker
- type UpdateRecordRuleInvoker
- type UpdateUrlAuthInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudRTCClientBuilder ¶
func CloudRTCClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateApp ¶ added in v0.0.53
func GenReqDefForCreateApp() *def.HttpRequestDef
func GenReqDefForCreateIndividualStreamJob ¶
func GenReqDefForCreateIndividualStreamJob() *def.HttpRequestDef
func GenReqDefForCreateMixJob ¶
func GenReqDefForCreateMixJob() *def.HttpRequestDef
func GenReqDefForCreateRecordRule ¶ added in v0.0.53
func GenReqDefForCreateRecordRule() *def.HttpRequestDef
func GenReqDefForDeleteApp ¶ added in v0.0.53
func GenReqDefForDeleteApp() *def.HttpRequestDef
func GenReqDefForDeleteRecordRule ¶ added in v0.0.53
func GenReqDefForDeleteRecordRule() *def.HttpRequestDef
func GenReqDefForListApps ¶ added in v0.0.53
func GenReqDefForListApps() *def.HttpRequestDef
func GenReqDefForListRecordRules ¶ added in v0.0.53
func GenReqDefForListRecordRules() *def.HttpRequestDef
func GenReqDefForRemoveRoom ¶ added in v0.1.5
func GenReqDefForRemoveRoom() *def.HttpRequestDef
func GenReqDefForRemoveUsers ¶ added in v0.1.5
func GenReqDefForRemoveUsers() *def.HttpRequestDef
func GenReqDefForShowApp ¶ added in v0.0.53
func GenReqDefForShowApp() *def.HttpRequestDef
func GenReqDefForShowAutoRecord ¶ added in v0.0.53
func GenReqDefForShowAutoRecord() *def.HttpRequestDef
func GenReqDefForShowIndividualStreamJob ¶
func GenReqDefForShowIndividualStreamJob() *def.HttpRequestDef
func GenReqDefForShowMixJob ¶
func GenReqDefForShowMixJob() *def.HttpRequestDef
func GenReqDefForShowRecordCallback ¶ added in v0.0.53
func GenReqDefForShowRecordCallback() *def.HttpRequestDef
func GenReqDefForShowRecordRule ¶ added in v0.0.53
func GenReqDefForShowRecordRule() *def.HttpRequestDef
func GenReqDefForShowUrlAuth ¶ added in v0.0.53
func GenReqDefForShowUrlAuth() *def.HttpRequestDef
func GenReqDefForStartApp ¶ added in v0.0.53
func GenReqDefForStartApp() *def.HttpRequestDef
func GenReqDefForStopApp ¶ added in v0.0.53
func GenReqDefForStopApp() *def.HttpRequestDef
func GenReqDefForStopIndividualStreamJob ¶
func GenReqDefForStopIndividualStreamJob() *def.HttpRequestDef
func GenReqDefForStopMixJob ¶
func GenReqDefForStopMixJob() *def.HttpRequestDef
func GenReqDefForUpdateAutoRecord ¶ added in v0.0.53
func GenReqDefForUpdateAutoRecord() *def.HttpRequestDef
func GenReqDefForUpdateIndividualStreamJob ¶ added in v0.1.5
func GenReqDefForUpdateIndividualStreamJob() *def.HttpRequestDef
func GenReqDefForUpdateMixJob ¶
func GenReqDefForUpdateMixJob() *def.HttpRequestDef
func GenReqDefForUpdateRecordCallback ¶ added in v0.0.53
func GenReqDefForUpdateRecordCallback() *def.HttpRequestDef
func GenReqDefForUpdateRecordRule ¶ added in v0.0.53
func GenReqDefForUpdateRecordRule() *def.HttpRequestDef
func GenReqDefForUpdateUrlAuth ¶ added in v0.0.53
func GenReqDefForUpdateUrlAuth() *def.HttpRequestDef
Types ¶
type CloudRTCClient ¶
type CloudRTCClient struct {
HcClient *http_client.HcHttpClient
}
func NewCloudRTCClient ¶
func NewCloudRTCClient(hcClient *http_client.HcHttpClient) *CloudRTCClient
func (*CloudRTCClient) CreateApp ¶ added in v0.0.53
func (c *CloudRTCClient) CreateApp(request *model.CreateAppRequest) (*model.CreateAppResponse, error)
CreateApp 创建应用
调用此接口创建应用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) CreateAppInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) CreateAppInvoker(request *model.CreateAppRequest) *CreateAppInvoker
CreateAppInvoker 创建应用
func (*CloudRTCClient) CreateIndividualStreamJob ¶
func (c *CloudRTCClient) CreateIndividualStreamJob(request *model.CreateIndividualStreamJobRequest) (*model.CreateIndividualStreamJobResponse, error)
CreateIndividualStreamJob 启动单流任务
调用此接口接口启动单流任务。
API触发单流录制流名规则:{jobtype}\\_{jobid}\\_{roomid}\\_{userid}
jobtype取值为's'代表单流录制。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) CreateIndividualStreamJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) CreateIndividualStreamJobInvoker(request *model.CreateIndividualStreamJobRequest) *CreateIndividualStreamJobInvoker
CreateIndividualStreamJobInvoker 启动单流任务
func (*CloudRTCClient) CreateMixJob ¶
func (c *CloudRTCClient) CreateMixJob(request *model.CreateMixJobRequest) (*model.CreateMixJobResponse, error)
CreateMixJob 启动合流任务
调用此接口创建合流转码任务。
支持纯音频录制和音视频录制:
- 纯音频录制
encode_template填audio_only,音频合流会动态选择最大三方的声音。 layout_template、layout_panes以及其他视频相关参数都不填,填就忽略。
- 音视频录制(包括共享桌面)
encode_template非audio_only,layout_template、layout_panes必须非空。 音频合流会动态选择最大三方的声音。 API触发合流录制流名规则:{jobtype}\\_{jobid}\\_{roomid},其中jobtype取值为'm'代表合流录制。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) CreateMixJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) CreateMixJobInvoker(request *model.CreateMixJobRequest) *CreateMixJobInvoker
CreateMixJobInvoker 启动合流任务
func (*CloudRTCClient) CreateRecordRule ¶ added in v0.0.53
func (c *CloudRTCClient) CreateRecordRule(request *model.CreateRecordRuleRequest) (*model.CreateRecordRuleResponse, error)
CreateRecordRule 创建或更新录制规则
调用此接口创建或更新录制规则。
- 若当前app在请求的location中无录制规则,则会创建新的录制规则 - 若当前app在请求的location中已有录制规则,则会更新原来的录制规则
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) CreateRecordRuleInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) CreateRecordRuleInvoker(request *model.CreateRecordRuleRequest) *CreateRecordRuleInvoker
CreateRecordRuleInvoker 创建或更新录制规则
func (*CloudRTCClient) DeleteApp ¶ added in v0.0.53
func (c *CloudRTCClient) DeleteApp(request *model.DeleteAppRequest) (*model.DeleteAppResponse, error)
DeleteApp 删除应用
调用此接口删除单个应用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) DeleteAppInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) DeleteAppInvoker(request *model.DeleteAppRequest) *DeleteAppInvoker
DeleteAppInvoker 删除应用
func (*CloudRTCClient) DeleteRecordRule ¶ added in v0.0.53
func (c *CloudRTCClient) DeleteRecordRule(request *model.DeleteRecordRuleRequest) (*model.DeleteRecordRuleResponse, error)
DeleteRecordRule 删除录制规则
调用此接口删除录制规则,对于正在使用的录制规则,不允许删除。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) DeleteRecordRuleInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) DeleteRecordRuleInvoker(request *model.DeleteRecordRuleRequest) *DeleteRecordRuleInvoker
DeleteRecordRuleInvoker 删除录制规则
func (*CloudRTCClient) ListApps ¶ added in v0.0.53
func (c *CloudRTCClient) ListApps(request *model.ListAppsRequest) (*model.ListAppsResponse, error)
ListApps 查询应用列表
调用此接口查询应用列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ListAppsInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ListAppsInvoker(request *model.ListAppsRequest) *ListAppsInvoker
ListAppsInvoker 查询应用列表
func (*CloudRTCClient) ListRecordRules ¶ added in v0.0.53
func (c *CloudRTCClient) ListRecordRules(request *model.ListRecordRulesRequest) (*model.ListRecordRulesResponse, error)
ListRecordRules 查询录制规则列表
调用此接口查询录制规则列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ListRecordRulesInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ListRecordRulesInvoker(request *model.ListRecordRulesRequest) *ListRecordRulesInvoker
ListRecordRulesInvoker 查询录制规则列表
func (*CloudRTCClient) RemoveRoom ¶ added in v0.1.5
func (c *CloudRTCClient) RemoveRoom(request *model.RemoveRoomRequest) (*model.RemoveRoomResponse, error)
RemoveRoom 解散房间
调用此接口解散房间,将该房间中所有用户踢出房间。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) RemoveRoomInvoker ¶ added in v0.1.5
func (c *CloudRTCClient) RemoveRoomInvoker(request *model.RemoveRoomRequest) *RemoveRoomInvoker
RemoveRoomInvoker 解散房间
func (*CloudRTCClient) RemoveUsers ¶ added in v0.1.5
func (c *CloudRTCClient) RemoveUsers(request *model.RemoveUsersRequest) (*model.RemoveUsersResponse, error)
RemoveUsers 踢除在线用户
调用此接口强制用户离开房间。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) RemoveUsersInvoker ¶ added in v0.1.5
func (c *CloudRTCClient) RemoveUsersInvoker(request *model.RemoveUsersRequest) *RemoveUsersInvoker
RemoveUsersInvoker 踢除在线用户
func (*CloudRTCClient) ShowApp ¶ added in v0.0.53
func (c *CloudRTCClient) ShowApp(request *model.ShowAppRequest) (*model.ShowAppResponse, error)
ShowApp 查询单个应用
调用此接口查询单个应用详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowAppInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowAppInvoker(request *model.ShowAppRequest) *ShowAppInvoker
ShowAppInvoker 查询单个应用
func (*CloudRTCClient) ShowAutoRecord ¶ added in v0.0.53
func (c *CloudRTCClient) ShowAutoRecord(request *model.ShowAutoRecordRequest) (*model.ShowAutoRecordResponse, error)
ShowAutoRecord 查询自动录制配置
调用此接口查询自动录制配置
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowAutoRecordInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowAutoRecordInvoker(request *model.ShowAutoRecordRequest) *ShowAutoRecordInvoker
ShowAutoRecordInvoker 查询自动录制配置
func (*CloudRTCClient) ShowIndividualStreamJob ¶
func (c *CloudRTCClient) ShowIndividualStreamJob(request *model.ShowIndividualStreamJobRequest) (*model.ShowIndividualStreamJobResponse, error)
ShowIndividualStreamJob 查询单流任务状态
调用此接口查询单流任务状态。
租户的OBS桶内的情况,暂不支持查询。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowIndividualStreamJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowIndividualStreamJobInvoker(request *model.ShowIndividualStreamJobRequest) *ShowIndividualStreamJobInvoker
ShowIndividualStreamJobInvoker 查询单流任务状态
func (*CloudRTCClient) ShowMixJob ¶
func (c *CloudRTCClient) ShowMixJob(request *model.ShowMixJobRequest) (*model.ShowMixJobResponse, error)
ShowMixJob 查询合流任务
调用此接口查询合流转码任务状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowMixJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowMixJobInvoker(request *model.ShowMixJobRequest) *ShowMixJobInvoker
ShowMixJobInvoker 查询合流任务
func (*CloudRTCClient) ShowRecordCallback ¶ added in v0.0.53
func (c *CloudRTCClient) ShowRecordCallback(request *model.ShowRecordCallbackRequest) (*model.ShowRecordCallbackResponse, error)
ShowRecordCallback 查询增值(录制)事件回调配置
调用此接口查询增值(录制)事件回调配置
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowRecordCallbackInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowRecordCallbackInvoker(request *model.ShowRecordCallbackRequest) *ShowRecordCallbackInvoker
ShowRecordCallbackInvoker 查询增值(录制)事件回调配置
func (*CloudRTCClient) ShowRecordRule ¶ added in v0.0.53
func (c *CloudRTCClient) ShowRecordRule(request *model.ShowRecordRuleRequest) (*model.ShowRecordRuleResponse, error)
ShowRecordRule 查询录制规则
调用此接口查询指定录制规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowRecordRuleInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowRecordRuleInvoker(request *model.ShowRecordRuleRequest) *ShowRecordRuleInvoker
ShowRecordRuleInvoker 查询录制规则
func (*CloudRTCClient) ShowUrlAuth ¶ added in v0.0.53
func (c *CloudRTCClient) ShowUrlAuth(request *model.ShowUrlAuthRequest) (*model.ShowUrlAuthResponse, error)
ShowUrlAuth 查询访问控制参数
查询应用鉴权配置参数
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) ShowUrlAuthInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) ShowUrlAuthInvoker(request *model.ShowUrlAuthRequest) *ShowUrlAuthInvoker
ShowUrlAuthInvoker 查询访问控制参数
func (*CloudRTCClient) StartApp ¶ added in v0.0.53
func (c *CloudRTCClient) StartApp(request *model.StartAppRequest) (*model.StartAppResponse, error)
StartApp 启用应用
调用此接口启用单个应用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) StartAppInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) StartAppInvoker(request *model.StartAppRequest) *StartAppInvoker
StartAppInvoker 启用应用
func (*CloudRTCClient) StopApp ¶ added in v0.0.53
func (c *CloudRTCClient) StopApp(request *model.StopAppRequest) (*model.StopAppResponse, error)
StopApp 停用应用
调用此接口停用单个应用。
应用停用后,新房间无法新增和加入,已加入的房间可以继续使用。合流、录制功能等也不可用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) StopAppInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) StopAppInvoker(request *model.StopAppRequest) *StopAppInvoker
StopAppInvoker 停用应用
func (*CloudRTCClient) StopIndividualStreamJob ¶
func (c *CloudRTCClient) StopIndividualStreamJob(request *model.StopIndividualStreamJobRequest) (*model.StopIndividualStreamJobResponse, error)
StopIndividualStreamJob 停止单流任务
调用此接口停止单流任务
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) StopIndividualStreamJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) StopIndividualStreamJobInvoker(request *model.StopIndividualStreamJobRequest) *StopIndividualStreamJobInvoker
StopIndividualStreamJobInvoker 停止单流任务
func (*CloudRTCClient) StopMixJob ¶
func (c *CloudRTCClient) StopMixJob(request *model.StopMixJobRequest) (*model.StopMixJobResponse, error)
StopMixJob 停止合流任务
调用此接口停止已下发的合流转码任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) StopMixJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) StopMixJobInvoker(request *model.StopMixJobRequest) *StopMixJobInvoker
StopMixJobInvoker 停止合流任务
func (*CloudRTCClient) UpdateAutoRecord ¶ added in v0.0.53
func (c *CloudRTCClient) UpdateAutoRecord(request *model.UpdateAutoRecordRequest) (*model.UpdateAutoRecordResponse, error)
UpdateAutoRecord 更新自动录制配置
更新自动录制配置,租户可以开启自动单流录制或者停用自动单流录制。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) UpdateAutoRecordInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) UpdateAutoRecordInvoker(request *model.UpdateAutoRecordRequest) *UpdateAutoRecordInvoker
UpdateAutoRecordInvoker 更新自动录制配置
func (*CloudRTCClient) UpdateIndividualStreamJob ¶ added in v0.1.5
func (c *CloudRTCClient) UpdateIndividualStreamJob(request *model.UpdateIndividualStreamJobRequest) (*model.UpdateIndividualStreamJobResponse, error)
UpdateIndividualStreamJob 更新单流任务
调用此接口修改单流任务。
仅部分场景支持修改。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) UpdateIndividualStreamJobInvoker ¶ added in v0.1.5
func (c *CloudRTCClient) UpdateIndividualStreamJobInvoker(request *model.UpdateIndividualStreamJobRequest) *UpdateIndividualStreamJobInvoker
UpdateIndividualStreamJobInvoker 更新单流任务
func (*CloudRTCClient) UpdateMixJob ¶
func (c *CloudRTCClient) UpdateMixJob(request *model.UpdateMixJobRequest) (*model.UpdateMixJobResponse, error)
UpdateMixJob 修改合流任务
调用此接口更新合流任务布局。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) UpdateMixJobInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) UpdateMixJobInvoker(request *model.UpdateMixJobRequest) *UpdateMixJobInvoker
UpdateMixJobInvoker 修改合流任务
func (*CloudRTCClient) UpdateRecordCallback ¶ added in v0.0.53
func (c *CloudRTCClient) UpdateRecordCallback(request *model.UpdateRecordCallbackRequest) (*model.UpdateRecordCallbackResponse, error)
UpdateRecordCallback RTC增值(录制)事件回调配置
调用此接口配置增值(录制)事件上报回调。
当任务发生订阅了的事件时,通过该接口配置的回调地址通知。
回调格式参考/customer-record-notify-url定义。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) UpdateRecordCallbackInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) UpdateRecordCallbackInvoker(request *model.UpdateRecordCallbackRequest) *UpdateRecordCallbackInvoker
UpdateRecordCallbackInvoker RTC增值(录制)事件回调配置
func (*CloudRTCClient) UpdateRecordRule ¶ added in v0.0.53
func (c *CloudRTCClient) UpdateRecordRule(request *model.UpdateRecordRuleRequest) (*model.UpdateRecordRuleResponse, error)
UpdateRecordRule 更新录制规则
调用此接口更新录制规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) UpdateRecordRuleInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) UpdateRecordRuleInvoker(request *model.UpdateRecordRuleRequest) *UpdateRecordRuleInvoker
UpdateRecordRuleInvoker 更新录制规则
func (*CloudRTCClient) UpdateUrlAuth ¶ added in v0.0.53
func (c *CloudRTCClient) UpdateUrlAuth(request *model.UpdateUrlAuthRequest) (*model.UpdateUrlAuthResponse, error)
UpdateUrlAuth 开关访问控制
调用此接口开启或关闭URL鉴权。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudRTCClient) UpdateUrlAuthInvoker ¶ added in v0.0.90
func (c *CloudRTCClient) UpdateUrlAuthInvoker(request *model.UpdateUrlAuthRequest) *UpdateUrlAuthInvoker
UpdateUrlAuthInvoker 开关访问控制
type CreateAppInvoker ¶ added in v0.0.90
type CreateAppInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAppInvoker) Invoke ¶ added in v0.0.90
func (i *CreateAppInvoker) Invoke() (*model.CreateAppResponse, error)
type CreateIndividualStreamJobInvoker ¶ added in v0.0.90
type CreateIndividualStreamJobInvoker struct {
*invoker.BaseInvoker
}
func (*CreateIndividualStreamJobInvoker) Invoke ¶ added in v0.0.90
func (i *CreateIndividualStreamJobInvoker) Invoke() (*model.CreateIndividualStreamJobResponse, error)
type CreateMixJobInvoker ¶ added in v0.0.90
type CreateMixJobInvoker struct {
*invoker.BaseInvoker
}
func (*CreateMixJobInvoker) Invoke ¶ added in v0.0.90
func (i *CreateMixJobInvoker) Invoke() (*model.CreateMixJobResponse, error)
type CreateRecordRuleInvoker ¶ added in v0.0.90
type CreateRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRecordRuleInvoker) Invoke() (*model.CreateRecordRuleResponse, error)
type DeleteAppInvoker ¶ added in v0.0.90
type DeleteAppInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAppInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAppInvoker) Invoke() (*model.DeleteAppResponse, error)
type DeleteRecordRuleInvoker ¶ added in v0.0.90
type DeleteRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRecordRuleInvoker) Invoke() (*model.DeleteRecordRuleResponse, error)
type ListAppsInvoker ¶ added in v0.0.90
type ListAppsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAppsInvoker) Invoke ¶ added in v0.0.90
func (i *ListAppsInvoker) Invoke() (*model.ListAppsResponse, error)
type ListRecordRulesInvoker ¶ added in v0.0.90
type ListRecordRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListRecordRulesInvoker) Invoke ¶ added in v0.0.90
func (i *ListRecordRulesInvoker) Invoke() (*model.ListRecordRulesResponse, error)
type RemoveRoomInvoker ¶ added in v0.1.5
type RemoveRoomInvoker struct {
*invoker.BaseInvoker
}
func (*RemoveRoomInvoker) Invoke ¶ added in v0.1.5
func (i *RemoveRoomInvoker) Invoke() (*model.RemoveRoomResponse, error)
type RemoveUsersInvoker ¶ added in v0.1.5
type RemoveUsersInvoker struct {
*invoker.BaseInvoker
}
func (*RemoveUsersInvoker) Invoke ¶ added in v0.1.5
func (i *RemoveUsersInvoker) Invoke() (*model.RemoveUsersResponse, error)
type ShowAppInvoker ¶ added in v0.0.90
type ShowAppInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAppInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAppInvoker) Invoke() (*model.ShowAppResponse, error)
type ShowAutoRecordInvoker ¶ added in v0.0.90
type ShowAutoRecordInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAutoRecordInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAutoRecordInvoker) Invoke() (*model.ShowAutoRecordResponse, error)
type ShowIndividualStreamJobInvoker ¶ added in v0.0.90
type ShowIndividualStreamJobInvoker struct {
*invoker.BaseInvoker
}
func (*ShowIndividualStreamJobInvoker) Invoke ¶ added in v0.0.90
func (i *ShowIndividualStreamJobInvoker) Invoke() (*model.ShowIndividualStreamJobResponse, error)
type ShowMixJobInvoker ¶ added in v0.0.90
type ShowMixJobInvoker struct {
*invoker.BaseInvoker
}
func (*ShowMixJobInvoker) Invoke ¶ added in v0.0.90
func (i *ShowMixJobInvoker) Invoke() (*model.ShowMixJobResponse, error)
type ShowRecordCallbackInvoker ¶ added in v0.0.90
type ShowRecordCallbackInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRecordCallbackInvoker) Invoke ¶ added in v0.0.90
func (i *ShowRecordCallbackInvoker) Invoke() (*model.ShowRecordCallbackResponse, error)
type ShowRecordRuleInvoker ¶ added in v0.0.90
type ShowRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *ShowRecordRuleInvoker) Invoke() (*model.ShowRecordRuleResponse, error)
type ShowUrlAuthInvoker ¶ added in v0.0.90
type ShowUrlAuthInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUrlAuthInvoker) Invoke ¶ added in v0.0.90
func (i *ShowUrlAuthInvoker) Invoke() (*model.ShowUrlAuthResponse, error)
type StartAppInvoker ¶ added in v0.0.90
type StartAppInvoker struct {
*invoker.BaseInvoker
}
func (*StartAppInvoker) Invoke ¶ added in v0.0.90
func (i *StartAppInvoker) Invoke() (*model.StartAppResponse, error)
type StopAppInvoker ¶ added in v0.0.90
type StopAppInvoker struct {
*invoker.BaseInvoker
}
func (*StopAppInvoker) Invoke ¶ added in v0.0.90
func (i *StopAppInvoker) Invoke() (*model.StopAppResponse, error)
type StopIndividualStreamJobInvoker ¶ added in v0.0.90
type StopIndividualStreamJobInvoker struct {
*invoker.BaseInvoker
}
func (*StopIndividualStreamJobInvoker) Invoke ¶ added in v0.0.90
func (i *StopIndividualStreamJobInvoker) Invoke() (*model.StopIndividualStreamJobResponse, error)
type StopMixJobInvoker ¶ added in v0.0.90
type StopMixJobInvoker struct {
*invoker.BaseInvoker
}
func (*StopMixJobInvoker) Invoke ¶ added in v0.0.90
func (i *StopMixJobInvoker) Invoke() (*model.StopMixJobResponse, error)
type UpdateAutoRecordInvoker ¶ added in v0.0.90
type UpdateAutoRecordInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAutoRecordInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAutoRecordInvoker) Invoke() (*model.UpdateAutoRecordResponse, error)
type UpdateIndividualStreamJobInvoker ¶ added in v0.1.5
type UpdateIndividualStreamJobInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateIndividualStreamJobInvoker) Invoke ¶ added in v0.1.5
func (i *UpdateIndividualStreamJobInvoker) Invoke() (*model.UpdateIndividualStreamJobResponse, error)
type UpdateMixJobInvoker ¶ added in v0.0.90
type UpdateMixJobInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateMixJobInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateMixJobInvoker) Invoke() (*model.UpdateMixJobResponse, error)
type UpdateRecordCallbackInvoker ¶ added in v0.0.90
type UpdateRecordCallbackInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRecordCallbackInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRecordCallbackInvoker) Invoke() (*model.UpdateRecordCallbackResponse, error)
type UpdateRecordRuleInvoker ¶ added in v0.0.90
type UpdateRecordRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRecordRuleInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRecordRuleInvoker) Invoke() (*model.UpdateRecordRuleResponse, error)
type UpdateUrlAuthInvoker ¶ added in v0.0.90
type UpdateUrlAuthInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateUrlAuthInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateUrlAuthInvoker) Invoke() (*model.UpdateUrlAuthResponse, error)