Skip to content

Commit 2093ef4

Browse files
author
Vinothini Dharmaraj
committed
updating livetest for multiple playsources
1 parent 90fe3e0 commit 2093ef4

File tree

5 files changed

+621
-1
lines changed

5 files changed

+621
-1
lines changed

sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,7 @@ internal PlayEventResult() { }
970970
public partial class PlayFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
971971
{
972972
internal PlayFailed() { }
973+
public int? FailedPlaySourceIndex { get { throw null; } }
973974
public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } }
974975
public static Azure.Communication.CallAutomation.PlayFailed Deserialize(string content) { throw null; }
975976
}
@@ -1032,6 +1033,7 @@ internal RecognizeCompleted() { }
10321033
public partial class RecognizeFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
10331034
{
10341035
internal RecognizeFailed() { }
1036+
public int? FailedPlaySourceIndex { get { throw null; } }
10351037
public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } }
10361038
public static Azure.Communication.CallAutomation.RecognizeFailed Deserialize(string content) { throw null; }
10371039
}

sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailed.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ public partial class PlayFailed : CallAutomationEventBase
1616
/// </summary>
1717
public MediaEventReasonCode ReasonCode { get; internal set; }
1818

19+
/// <summary> Contains the index of the failed play source. </summary>
20+
public int? FailedPlaySourceIndex { get; internal set; }
21+
1922
/// <summary> Initializes a new instance of PlayFailed. </summary>
2023
/// <param name="internalEvent"> PlayFailedInternal event. </param>
2124
internal PlayFailed(PlayFailedInternal internalEvent)
@@ -26,6 +29,7 @@ internal PlayFailed(PlayFailedInternal internalEvent)
2629
OperationContext = internalEvent.OperationContext;
2730
ResultInformation = internalEvent.ResultInformation;
2831
ReasonCode = new MediaEventReasonCode(ResultInformation.SubCode.ToString());
32+
FailedPlaySourceIndex = internalEvent.FailedPlaySourceIndex;
2933
}
3034

3135
/// <summary>

sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailed.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ public partial class RecognizeFailed : CallAutomationEventBase
1616
/// </summary>
1717
public MediaEventReasonCode ReasonCode { get; internal set; }
1818

19+
/// <summary> Contains the index of the failed play source. </summary>
20+
public int? FailedPlaySourceIndex { get; internal set; }
21+
1922
/// <summary> Initializes a new instance of RecognizeFailed. </summary>
2023
/// <param name="internalEvent"> RecognizeFailedInternal event </param>
2124
internal RecognizeFailed(RecognizeFailedInternal internalEvent)
@@ -26,6 +29,7 @@ internal RecognizeFailed(RecognizeFailedInternal internalEvent)
2629
OperationContext = internalEvent.OperationContext;
2730
ResultInformation = internalEvent.ResultInformation;
2831
ReasonCode = new MediaEventReasonCode(ResultInformation.SubCode.ToString());
32+
FailedPlaySourceIndex = internalEvent.FailedPlaySourceIndex;
2933
}
3034

3135
/// <summary>

0 commit comments

Comments
 (0)