Skip to content

Commit ddbac70

Browse files
publish jdcloud-sdk-python 1.6.161
1 parent 88d78be commit ddbac70

6 files changed

Lines changed: 61 additions & 5 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# 更新历史 #
2-
API版本:1.1.7
2+
API版本:1.1.8
33

44
|发布时间|版本号|更新|说明|
55
|---|---|---|---|
6-
|2020-11-30 |1.0.0 |初始版本 |* 音视频融合rtc openApi |
6+
|2020-11-30 |1.0.0 |初始版本 |* 视音频通信JRTC 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> |
@@ -12,3 +12,4 @@ API版本:1.1.7
1212
|2022-03-09 |1.1.5 |新增接口 |* 获取近7天通讯时长;<br>* 获取历史音频、视频区分码率通讯时长;<br>* 查询房间人数、通讯时长;<br>* 查询房间用户记录;<br>* 查询用户端到端推流码率|
1313
|2022-03-24 |1.1.6 |新增接口 |* 开启语音识别功能;<br>* 关闭语音识别功能;|
1414
|2022-04-20 |1.1.7 |新增接口 |* 查询房间内推流信息列表;<br>* 查询指定用户在房间内的推流信息;<br>* 根据流ID查询推流信息;<br>* 查询指定用户在房间内的推流历史记录;<br>* 根据流ID查询推流历史记录;|
15+
|2022-05-09 |1.1.8 |新增接口 |* 查询房间内的人员信息;|

jdcloud_sdk/services/openjrtc/apis/CreateRoomRequest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def __init__(self, ):
4040
self.roomName = None
4141
self.appId = None
4242
self.roomType = None
43+
self.meetingType = None
4344
self.peerId = None
4445

4546
def setRoomName(self, roomName):
@@ -60,6 +61,12 @@ def setRoomType(self, roomType):
6061
"""
6162
self.roomType = roomType
6263

64+
def setMeetingType(self, meetingType):
65+
"""
66+
:param meetingType: (Optional) 会议类型 0-即时会议 1-预约会议
67+
"""
68+
self.meetingType = meetingType
69+
6370
def setPeerId(self, peerId):
6471
"""
6572
:param peerId: (Optional) 用户ID(创建者ID)
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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 DescribeRoomUserRequest(JDCloudRequest):
23+
"""
24+
查询房间内的人员信息
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(DescribeRoomUserRequest, self).__init__(
30+
'/describeRoomUser/{appId}', 'GET', header, version)
31+
self.parameters = parameters
32+
33+
34+
class DescribeRoomUserParameters(object):
35+
36+
def __init__(self, appId,userRoomId, userId):
37+
"""
38+
:param appId: 应用ID
39+
:param userRoomId: 业务接入方定义的且在JRTC系统内注册过的房间号
40+
:param userId: 业务接入方用户体系定义的且在JRTC系统内注册过的userId
41+
"""
42+
43+
self.appId = appId
44+
self.userRoomId = userRoomId
45+
self.userId = userId
46+

jdcloud_sdk/services/openjrtc/client/OpenjrtcClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def __init__(self, credential, config=None, logger=None):
2626
if config is None:
2727
config = Config('openjrtc.jdcloud-api.com')
2828

29-
super(OpenjrtcClient, self).__init__(credential, config, 'openjrtc', '1.1.7', logger)
29+
super(OpenjrtcClient, self).__init__(credential, config, 'openjrtc', '1.1.8', logger)

jdcloud_sdk/services/openjrtc/models/CreateRoomRequestObj.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,17 @@
1919

2020
class CreateRoomRequestObj(object):
2121

22-
def __init__(self, roomName=None, appId=None, roomType=None, peerId=None):
22+
def __init__(self, roomName=None, appId=None, roomType=None, meetingType=None, peerId=None):
2323
"""
2424
:param roomName: (Optional) 房间名称
2525
:param appId: (Optional) 应用ID
2626
:param roomType: (Optional) 房间类型 1-小房间(音频单流订阅) 2-大房间(音频固定订阅)
27+
:param meetingType: (Optional) 会议类型 0-即时会议 1-预约会议
2728
:param peerId: (Optional) 用户ID(创建者ID)
2829
"""
2930

3031
self.roomName = roomName
3132
self.appId = appId
3233
self.roomType = roomType
34+
self.meetingType = meetingType
3335
self.peerId = peerId

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='jdcloud_sdk',
12-
version="1.6.160",
12+
version="1.6.161",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",
1515
author='JDCloud API Gateway Team',

0 commit comments

Comments
 (0)