@alicloud/live20161101 2.1.3 → 2.2.0
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.
- package/dist/client.d.ts +15 -0
- package/dist/client.js +45 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListRtcliveRoomsRequest.d.ts +31 -0
- package/dist/models/ListRtcliveRoomsRequest.js +62 -0
- package/dist/models/ListRtcliveRoomsRequest.js.map +1 -0
- package/dist/models/ListRtcliveRoomsResponse.d.ts +19 -0
- package/dist/models/ListRtcliveRoomsResponse.js +69 -0
- package/dist/models/ListRtcliveRoomsResponse.js.map +1 -0
- package/dist/models/ListRtcliveRoomsResponseBody.d.ts +27 -0
- package/dist/models/ListRtcliveRoomsResponseBody.js +65 -0
- package/dist/models/ListRtcliveRoomsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +14 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +50 -0
- package/src/models/ListRtcliveRoomsRequest.ts +48 -0
- package/src/models/ListRtcliveRoomsResponse.ts +40 -0
- package/src/models/ListRtcliveRoomsResponseBody.ts +47 -0
- package/src/models/model.ts +3 -0
package/dist/client.d.ts
CHANGED
|
@@ -7982,6 +7982,21 @@ export default class Client extends OpenApi {
|
|
|
7982
7982
|
* @returns ListPlaylistItemsResponse
|
|
7983
7983
|
*/
|
|
7984
7984
|
listPlaylistItems(request: $_model.ListPlaylistItemsRequest): Promise<$_model.ListPlaylistItemsResponse>;
|
|
7985
|
+
/**
|
|
7986
|
+
* 获取在线频道列表
|
|
7987
|
+
*
|
|
7988
|
+
* @param request - ListRTCLiveRoomsRequest
|
|
7989
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7990
|
+
* @returns ListRTCLiveRoomsResponse
|
|
7991
|
+
*/
|
|
7992
|
+
listRTCLiveRoomsWithOptions(request: $_model.ListRTCLiveRoomsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRTCLiveRoomsResponse>;
|
|
7993
|
+
/**
|
|
7994
|
+
* 获取在线频道列表
|
|
7995
|
+
*
|
|
7996
|
+
* @param request - ListRTCLiveRoomsRequest
|
|
7997
|
+
* @returns ListRTCLiveRoomsResponse
|
|
7998
|
+
*/
|
|
7999
|
+
listRTCLiveRooms(request: $_model.ListRTCLiveRoomsRequest): Promise<$_model.ListRTCLiveRoomsResponse>;
|
|
7985
8000
|
/**
|
|
7986
8001
|
* Queries the callback records of a subscription to mixed-stream relay events.
|
|
7987
8002
|
*
|
package/dist/client.js
CHANGED
|
@@ -19909,6 +19909,51 @@ class Client extends openapi_core_1.default {
|
|
|
19909
19909
|
let runtime = new $dara.RuntimeOptions({});
|
|
19910
19910
|
return await this.listPlaylistItemsWithOptions(request, runtime);
|
|
19911
19911
|
}
|
|
19912
|
+
/**
|
|
19913
|
+
* 获取在线频道列表
|
|
19914
|
+
*
|
|
19915
|
+
* @param request - ListRTCLiveRoomsRequest
|
|
19916
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19917
|
+
* @returns ListRTCLiveRoomsResponse
|
|
19918
|
+
*/
|
|
19919
|
+
async listRTCLiveRoomsWithOptions(request, runtime) {
|
|
19920
|
+
request.validate();
|
|
19921
|
+
let query = {};
|
|
19922
|
+
if (!$dara.isNull(request.appId)) {
|
|
19923
|
+
query["AppId"] = request.appId;
|
|
19924
|
+
}
|
|
19925
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
19926
|
+
query["PageNo"] = request.pageNo;
|
|
19927
|
+
}
|
|
19928
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
19929
|
+
query["PageSize"] = request.pageSize;
|
|
19930
|
+
}
|
|
19931
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
19932
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
19933
|
+
});
|
|
19934
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
19935
|
+
action: "ListRTCLiveRooms",
|
|
19936
|
+
version: "2016-11-01",
|
|
19937
|
+
protocol: "HTTPS",
|
|
19938
|
+
pathname: "/",
|
|
19939
|
+
method: "POST",
|
|
19940
|
+
authType: "AK",
|
|
19941
|
+
style: "RPC",
|
|
19942
|
+
reqBodyType: "formData",
|
|
19943
|
+
bodyType: "json",
|
|
19944
|
+
});
|
|
19945
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRTCLiveRoomsResponse({}));
|
|
19946
|
+
}
|
|
19947
|
+
/**
|
|
19948
|
+
* 获取在线频道列表
|
|
19949
|
+
*
|
|
19950
|
+
* @param request - ListRTCLiveRoomsRequest
|
|
19951
|
+
* @returns ListRTCLiveRoomsResponse
|
|
19952
|
+
*/
|
|
19953
|
+
async listRTCLiveRooms(request) {
|
|
19954
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
19955
|
+
return await this.listRTCLiveRoomsWithOptions(request, runtime);
|
|
19956
|
+
}
|
|
19912
19957
|
/**
|
|
19913
19958
|
* Queries the callback records of a subscription to mixed-stream relay events.
|
|
19914
19959
|
*
|