Skip to content

Commit 0981621

Browse files
Merge pull request #16 from DolbyIO/develop
Add missing audioOnly flag for conference creation
2 parents 484bc88 + b65a289 commit 0981621

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Diff for: .github/actions/gh-action-pypi-publish-1.6.4/requirements/runtime.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
bleach==5.0.1
88
# via readme-renderer
9-
certifi==2022.9.24
9+
certifi==2022.12.7
1010
# via requests
1111
cffi==1.15.1
1212
# via cryptography

Diff for: client/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
aiohttp>=3.7.4
22
aiofiles>=0.7.0
33
aiohttp-retry>=2.4.6
4-
certifi>=2021.10.8
4+
certifi>=2022.12.7
55
Deprecated

Diff for: client/src/dolbyio_rest_apis/communications/conference.py

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ async def create_conference(
2222
rtcp_mode: RTCPMode=RTCPMode.AVERAGE,
2323
ttl: int=None,
2424
video_codec: VideoCodec=None,
25+
audio_only: bool=False,
2526
participants: List[Participant]=None,
2627
recording_formats: List[str]=None,
2728
) -> Conference:
@@ -41,6 +42,7 @@ async def create_conference(
4142
rtcp_mode: (Optional) Specifies the bitrate adaptation mode for the video transmission.
4243
ttl: (Optional) Specifies the time to live that enables customizing the waiting time
4344
(in seconds) and terminating empty conferences.
45+
audio_only: (Optional) If `True`, the conference does not allow participants to enable video.
4446
video_codec: (Optional) Specifies the video codec (VP8 or H264) for the conference.
4547
participants: List of the :class:`Participant` object to update the permissions.
4648
recording_formats: If specified, the default RecordingConfiguration is overridden.
@@ -61,6 +63,7 @@ async def create_conference(
6163
}
6264
add_if_not_none(parameters, 'pincode', pincode)
6365
add_if_not_none(parameters, 'ttl', ttl)
66+
add_if_not_none(parameters, 'audioOnly', audio_only)
6467
add_if_not_none(parameters, 'videoCodec', video_codec)
6568

6669
if recording_formats is not None and len(recording_formats) > 0:

Diff for: client/src/dolbyio_rest_apis/communications/internal/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This module contains the URLs to use to call the REST APIs.
66
"""
77

8-
API_URL = 'https://api.voxeet.com'
8+
API_URL = 'https://api.dolby.io'
99
COMMS_URL = 'https://comms.api.dolby.io'
1010
SESSION_URL = 'https://session.voxeet.com/v1'
1111

0 commit comments

Comments
 (0)