Skip to content

Commit c5fd526

Browse files
publish jdcloud-sdk-python 1.6.147
1 parent be80546 commit c5fd526

53 files changed

Lines changed: 1176 additions & 24 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# 更新历史 #
2-
API版本:1.1.1
2+
API版本:1.1.5
33

44
|发布时间|版本号|更新|说明|
55
|---|---|---|---|
66
|2020-11-30 |1.0.0 |初始版本 |* 音视频融合rtc openApi |
77
|2021-01-28 |1.1.0 |增加接口 |* 查询应用appKey;<br>* 查询应用信息;<br>* 查询用户应用列表;<br>* 修改房间;<br>* 查询房间信息;<br>* 删除房间;<br>* 查询应用下的房间列表;<br> |
88
|2021-02-19 |1.1.1 |增加接口 |* 移除房间内人员;<br>* 移除房间内所有人员;<br>* 发送自定义信令给房间内的人员;<br>* 发送自定义信令给房间 ;<br> |
99
|2021-07-16 |1.1.2 |增加接口 |* 注册用户;<br>* 查询注册用户;<br>* 查询注册用户列表;<br>* 注册用户房间号;<br>* 查询注册房间号;<br>* 查询注册房间号列表;<br>* 修改房间;<br>* 查询房间内人员列表;<br>* 统计房间内人数;<br>* 移除房间内所有人员;<br>* 移除房间内指定人员;<br>* 发送自定义信令给房间内的人员;<br>* 发送自定义信令给房间;<br>* 生成token;<br> |
10-
10+
|2021-08-26 |1.1.3 |更新接口 |* 注册用户;<br>* 查询注册用户;<br>* 查询注册用户列表;<br>* 注册用户房间号;<br>* 查询注册房间号;<br>* 查询注册房间号列表;<br>* 修改房间;<br>* 查询房间内人员列表;<br>* 统计房间内人数;<br>* 移除房间内所有人员;<br>* 移除房间内指定人员;<br>* 发送自定义信令给房间内的人员;<br>* 发送自定义信令给房间;<br>* 生成token;<br> |
11+
|2021-02-16 |1.1.4 |新增接口 |* 下发混流任务;<br>* 中止混流任务;<br>* 关闭房间内的指定流;|
12+
|2021-03-09 |1.1.5 |新增接口 |* 获取近7天通讯时长;<br>* 获取历史音频、视频区分码率通讯时长;<br>* 查询房间人数、通讯时长;<br>* 查询房间用户记录;<br>* 查询用户端到端推流码率|
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddPushStreamRuleRequest(JDCloudRequest):
23+
"""
24+
添加推流规则
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(AddPushStreamRuleRequest, self).__init__(
30+
'/addPushStreamRule', 'POST', header, version)
31+
self.parameters = parameters
32+
33+
34+
class AddPushStreamRuleParameters(object):
35+
36+
def __init__(self, ):
37+
"""
38+
"""
39+
40+
self.appId = None
41+
self.rules = None
42+
43+
def setAppId(self, appId):
44+
"""
45+
:param appId: (Optional) 应用ID
46+
"""
47+
self.appId = appId
48+
49+
def setRules(self, rules):
50+
"""
51+
:param rules: (Optional) 推流规则
52+
"""
53+
self.rules = rules
54+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddRecordRuleRequest(JDCloudRequest):
23+
"""
24+
添加录制规则
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(AddRecordRuleRequest, self).__init__(
30+
'/addRecordRule', 'POST', header, version)
31+
self.parameters = parameters
32+
33+
34+
class AddRecordRuleParameters(object):
35+
36+
def __init__(self, ):
37+
"""
38+
"""
39+
40+
self.appId = None
41+
self.rules = None
42+
43+
def setAppId(self, appId):
44+
"""
45+
:param appId: (Optional) 应用ID
46+
"""
47+
self.appId = appId
48+
49+
def setRules(self, rules):
50+
"""
51+
:param rules: (Optional) 录制规则
52+
"""
53+
self.rules = rules
54+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CloseRoomUserStreamRequest(JDCloudRequest):
23+
"""
24+
关闭房间内的指定流
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(CloseRoomUserStreamRequest, self).__init__(
30+
'/closeRoomUserStream/{appId}', 'POST', header, version)
31+
self.parameters = parameters
32+
33+
34+
class CloseRoomUserStreamParameters(object):
35+
36+
def __init__(self, appId,):
37+
"""
38+
:param appId: 应用ID
39+
"""
40+
41+
self.appId = appId
42+
self.userRoomId = None
43+
self.userId = None
44+
self.streamId = None
45+
46+
def setUserRoomId(self, userRoomId):
47+
"""
48+
:param userRoomId: (Optional) 业务接入方定义的且在JRTC系统内注册过的房间号
49+
"""
50+
self.userRoomId = userRoomId
51+
52+
def setUserId(self, userId):
53+
"""
54+
:param userId: (Optional) 业务接入方用户体系定义的且在JRTC系统内注册过的userId
55+
"""
56+
self.userId = userId
57+
58+
def setStreamId(self, streamId):
59+
"""
60+
:param streamId: (Optional) 要关闭的流ID
61+
"""
62+
self.streamId = streamId
63+

jdcloud_sdk/services/openjrtc/apis/DeleteRoomRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, parameters, header=None, version="v1"):
3333

3434
class DeleteRoomParameters(object):
3535

36-
def __init__(self, appId, roomId):
36+
def __init__(self, appId,roomId):
3737
"""
3838
:param appId: 应用ID
3939
:param roomId: 房间ID

jdcloud_sdk/services/openjrtc/apis/DescribeAppKeyRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, parameters, header=None, version="v1"):
3333

3434
class DescribeAppKeyParameters(object):
3535

36-
def __init__(self, appId, ):
36+
def __init__(self, appId,):
3737
"""
3838
:param appId: 应用ID
3939
"""

jdcloud_sdk/services/openjrtc/apis/DescribeAppRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, parameters, header=None, version="v1"):
3333

3434
class DescribeAppParameters(object):
3535

36-
def __init__(self, appId, ):
36+
def __init__(self, appId,):
3737
"""
3838
:param appId: 应用ID
3939
"""

jdcloud_sdk/services/openjrtc/apis/DescribeRegisterUserRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, parameters, header=None, version="v1"):
3333

3434
class DescribeRegisterUserParameters(object):
3535

36-
def __init__(self, appId, userId):
36+
def __init__(self, appId,userId):
3737
"""
3838
:param appId: 应用ID
3939
:param userId: 业务接入方用户体系定义的且在JRTC系统内注册过的userId

jdcloud_sdk/services/openjrtc/apis/DescribeRegisterUsersRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, parameters, header=None, version="v1"):
3636

3737
class DescribeRegisterUsersParameters(object):
3838

39-
def __init__(self, appId, ):
39+
def __init__(self, appId,):
4040
"""
4141
:param appId: 应用ID
4242
"""

jdcloud_sdk/services/openjrtc/apis/DescribeRoomInfoRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, parameters, header=None, version="v1"):
3333

3434
class DescribeRoomInfoParameters(object):
3535

36-
def __init__(self, appId, roomId):
36+
def __init__(self, appId,roomId):
3737
"""
3838
:param appId: 应用ID
3939
:param roomId: 房间ID

0 commit comments

Comments
 (0)