File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/dolbyio_rest_apis/communications/monitor Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ aiohttp>=3.7.4
22aiofiles >= 0.7.0
33aiohttp-retry >= 2.4.6
44certifi >= 2021.10.8
5+ Deprecated
Original file line number Diff line number Diff line change 55This module contains the functions to work with the monitor API related to recordings.
66"""
77
8+ from deprecated import deprecated
89from dolbyio_rest_apis .communications .internal .http_context import CommunicationsHttpContext
910from dolbyio_rest_apis .communications .internal .urls import get_monitor_url
1011from dolbyio_rest_apis .communications .monitor .models import GetRecordingsResponse , Recording , DolbyVoiceRecording
@@ -51,7 +52,7 @@ async def get_recordings(
5152 'from' : tr_from ,
5253 'to' : tr_to ,
5354 'max' : maximum ,
54- 'perm' : str (perm ),
55+ 'perm' : str (perm ). lower () ,
5556 }
5657
5758 if not start is None :
@@ -102,7 +103,7 @@ async def get_all_recordings(
102103 'from' : tr_from ,
103104 'to' : tr_to ,
104105 'max' : page_size ,
105- 'perm' : str (perm ),
106+ 'perm' : str (perm ). lower () ,
106107 }
107108
108109 recordings = []
@@ -161,7 +162,7 @@ async def get_recording(
161162 'from' : tr_from ,
162163 'to' : tr_to ,
163164 'max' : page_size ,
164- 'perm' : str (perm ),
165+ 'perm' : str (perm ). lower () ,
165166 }
166167
167168 recordings = []
@@ -246,6 +247,7 @@ async def get_dolby_voice_recordings(
246247
247248 return DolbyVoiceRecording (json_response )
248249
250+ @deprecated (reason = 'This API is no longer applicable on the Dolby.io Communications APIs platform.' )
249251async def download_mp4_recording (
250252 access_token : str ,
251253 conference_id : str ,
@@ -279,6 +281,7 @@ async def download_mp4_recording(
279281 file_path = file_path ,
280282 )
281283
284+ @deprecated (reason = 'This API is no longer applicable on the Dolby.io Communications APIs platform.' )
282285async def download_mp3_recording (
283286 access_token : str ,
284287 conference_id : str ,
You can’t perform that action at this time.
0 commit comments