-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
…47646) * Added call connection Id for recording and live and unit test code. * Added start recording failed event. * Updating the PR with minor changes * updating the api changes * fixing the live test * updating the live test * fixing the media recording failed * reverting playback mode set * pushing the test records for recording --------- Co-authored-by: Vinothini Dharmaraj <[email protected]>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using System.Text.Json; | ||
using Azure.Core; | ||
|
||
namespace Azure.Communication.CallAutomation | ||
{ | ||
/// <summary> | ||
/// The StartRecordingFailed event. | ||
/// </summary> | ||
|
||
[CodeGenModel("StartRecordingFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] | ||
public partial class StartRecordingFailed : CallAutomationEventBase | ||
{ | ||
/// <summary> | ||
/// Reason code. | ||
/// </summary> | ||
public MediaEventReasonCode ReasonCode { get; internal set; } | ||
|
||
/// <summary> | ||
/// Deserialize <see cref="StartRecordingFailed"/> event. | ||
/// </summary> | ||
/// <param name="content">The json content.</param> | ||
/// <returns>The new <see cref="StartRecordingFailed"/> object.</returns> | ||
public static StartRecordingFailed Deserialize(string content) | ||
{ | ||
using var document = JsonDocument.Parse(content); | ||
JsonElement element = document.RootElement; | ||
|
||
return DeserializeStartRecordingFailed(element); | ||
} | ||
} | ||
} |