Skip to content

Commit 47fd76c

Browse files
authored
Readding download content (#21227)
* Readding download content * Re-enabling recording tests * Fixing 2.7 testing
1 parent 8c2390a commit 47fd76c

9 files changed

+728
-201
lines changed

sdk/communication/azure-communication-callingserver/azure/communication/callingserver/aio/_callingserver_client_async.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -414,20 +414,16 @@ async def start_recording( # pylint: disable=too-many-arguments
414414
raise ValueError("recording_state_callback_uri is invalid")
415415

416416
start_call_recording_request = StartCallRecordingWithCallLocatorRequest(
417+
call_locator=serialize_call_locator(call_locator),
417418
recording_state_callback_uri=recording_state_callback_uri,
418419
recording_content_type=recording_content_type,
419420
recording_channel_type=recording_channel_type,
420421
recording_format_type=recording_format_type,
421422
**kwargs
422423
)
423424

424-
start_call_recording_with_calllocator_request = StartCallRecordingWithCallLocatorRequest(
425-
call_locator=serialize_call_locator(call_locator),
426-
start_call_recording_request=start_call_recording_request
427-
)
428-
429425
return await self._server_call_client.start_recording(
430-
start_call_recording_with_calllocator_request,
426+
start_call_recording_request,
431427
**kwargs
432428
)
433429

0 commit comments

Comments
 (0)