Skip to content

Commit dd3862b

Browse files
authored
Updating the latest changes related to the stream url and postdial tones (#54284)
* updating latest changes for postdial tones and the stream url * updating null check * fixing the test
1 parent 4ce37ed commit dd3862b

26 files changed

+386
-29
lines changed

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public AddParticipantOptions(Azure.Communication.CallAutomation.CallInvite parti
2121
public System.Uri OperationCallbackUri { get { throw null; } set { } }
2222
public string OperationContext { get { throw null; } set { } }
2323
public Azure.Communication.CallAutomation.CallInvite ParticipantToAdd { get { throw null; } }
24+
public string PostDialTones { get { throw null; } set { } }
2425
}
2526
public partial class AddParticipantResult
2627
{
@@ -199,6 +200,8 @@ public static partial class CallAutomationModelFactory
199200
public static Azure.Communication.CallAutomation.AddParticipantSucceeded AddParticipantSucceeded(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier participant = null) { throw null; }
200201
public static Azure.Communication.CallAutomation.AnswerCallResult AnswerCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; }
201202
public static Azure.Communication.CallAutomation.AnswerFailed AnswerFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; }
203+
public static Azure.Communication.CallAutomation.AudioData AudioData(string data, System.DateTime timestamp, string participantId, bool silent) { throw null; }
204+
public static Azure.Communication.CallAutomation.AudioMetadata AudioMetadata(string mediaSubscriptionId, string encoding, int sampleRate, int channels, int length) { throw null; }
202205
public static Azure.Communication.CallAutomation.CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
203206
public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets = null, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default(Azure.Communication.CallAutomation.CallConnectionState), System.Uri callbackUri = null, Azure.Communication.CommunicationIdentifier sourceIdentity = null, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = null, string sourceDisplayName = null, Azure.Communication.CommunicationUserIdentifier answeredBy = null, string dataSubscriptionId = null, Azure.Communication.CallAutomation.MediaStreamingSubscription mediaStreamingSubscription = null, Azure.Communication.CallAutomation.DtmfConfigurationOptions dtmfConfigurationOptions = null) { throw null; }
204207
public static Azure.Communication.CallAutomation.CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
@@ -228,6 +231,7 @@ public static partial class CallAutomationModelFactory
228231
public static Azure.Communication.CallAutomation.MediaStreamingStopped MediaStreamingStopped(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; }
229232
public static Azure.Communication.CallAutomation.MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, Azure.Communication.CallAutomation.MediaStreamingStatus mediaStreamingStatus = default(Azure.Communication.CallAutomation.MediaStreamingStatus), Azure.Communication.CallAutomation.MediaStreamingStatusDetails mediaStreamingStatusDetails = default(Azure.Communication.CallAutomation.MediaStreamingStatusDetails)) { throw null; }
230233
public static Azure.Communication.CallAutomation.MuteParticipantResult MuteParticipantResult(string operationContext = null) { throw null; }
234+
public static Azure.Communication.CallAutomation.OutStreamingData OutStreamingData(Azure.Communication.CallAutomation.MediaKind kind) { throw null; }
231235
public static Azure.Communication.CallAutomation.ParticipantsUpdated ParticipantsUpdated(string callConnectionId = null, string serverCallId = null, string correlationId = null, System.Collections.Generic.IEnumerable<Azure.Communication.CallAutomation.CallParticipant> participants = null, int sequenceNumber = 0, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
232236
public static Azure.Communication.CallAutomation.PlayCanceled PlayCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
233237
public static Azure.Communication.CallAutomation.PlayCompleted PlayCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
@@ -250,6 +254,7 @@ public static partial class CallAutomationModelFactory
250254
public static Azure.Communication.CallAutomation.SipDiagnosticInfo SipDiagnosticInfo(int? code = default(int?), string message = null) { throw null; }
251255
public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null) { throw null; }
252256
public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string recordingId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; }
257+
public static Azure.Communication.CallAutomation.TranscriptionData TranscriptionData(string text, string format, double confidence, ulong offset, ulong duration, System.Collections.Generic.IEnumerable<Azure.Communication.CallAutomation.WordData> words, string participantRawID, string resultState) { throw null; }
253258
public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; }
254259
public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; }
255260
public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; }
@@ -700,6 +705,7 @@ public CreateCallOptions(Azure.Communication.CallAutomation.CallInvite callInvit
700705
public bool? EnableLoopbackAudio { get { throw null; } set { } }
701706
public Azure.Communication.CallAutomation.MediaStreamingOptions MediaStreamingOptions { get { throw null; } set { } }
702707
public string OperationContext { get { throw null; } set { } }
708+
public string PostDialTones { get { throw null; } set { } }
703709
public Azure.Communication.MicrosoftTeamsAppIdentifier TeamsAppSource { get { throw null; } set { } }
704710
public Azure.Communication.CallAutomation.TranscriptionOptions TranscriptionOptions { get { throw null; } set { } }
705711
}
@@ -720,6 +726,7 @@ public CreateGroupCallOptions(System.Collections.Generic.IEnumerable<Azure.Commu
720726
public bool? EnableLoopbackAudio { get { throw null; } set { } }
721727
public Azure.Communication.CallAutomation.MediaStreamingOptions MediaStreamingOptions { get { throw null; } set { } }
722728
public string OperationContext { get { throw null; } set { } }
729+
public string PostDialTones { get { throw null; } set { } }
723730
public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } }
724731
public string SourceDisplayName { get { throw null; } set { } }
725732
public System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> Targets { get { throw null; } }
@@ -1140,9 +1147,10 @@ internal MediaStreamingStopped() { }
11401147
}
11411148
public partial class MediaStreamingSubscription
11421149
{
1143-
public MediaStreamingSubscription(string id, Azure.Communication.CallAutomation.MediaStreamingSubscriptionState? state, System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.MediaStreamingContent> subscribedContentTypes) { }
1150+
public MediaStreamingSubscription(string id, Azure.Communication.CallAutomation.MediaStreamingSubscriptionState? state, System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.MediaStreamingContent> subscribedContentTypes, string streamUrl) { }
11441151
public string Id { get { throw null; } }
11451152
public Azure.Communication.CallAutomation.MediaStreamingSubscriptionState? State { get { throw null; } }
1153+
public string StreamUrl { get { throw null; } }
11461154
public System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.MediaStreamingContent> SubscribedContentTypes { get { throw null; } }
11471155
}
11481156
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@@ -1947,3 +1955,18 @@ public WordData() { }
19471955
public string Text { get { throw null; } set { } }
19481956
}
19491957
}
1958+
namespace Azure.Communication.CallAutomation.Models.Events
1959+
{
1960+
public partial class PostDialDtmfTonesCompleted : Azure.Communication.CallAutomation.CallAutomationEventBase
1961+
{
1962+
public PostDialDtmfTonesCompleted(string callConnectionId, string serverCallId, string correlationId, string operationContext, Azure.Communication.CallAutomation.ResultInformation resultInformation) { }
1963+
public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } }
1964+
public static Azure.Communication.CallAutomation.Models.Events.PostDialDtmfTonesCompleted Deserialize(string content) { throw null; }
1965+
}
1966+
public partial class PostDialDtmfTonesFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
1967+
{
1968+
public PostDialDtmfTonesFailed(string callConnectionId, string serverCallId, string correlationId, string operationContext, Azure.Communication.CallAutomation.ResultInformation resultInformation) { }
1969+
public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } }
1970+
public static Azure.Communication.CallAutomation.Models.Events.PostDialDtmfTonesFailed Deserialize(string content) { throw null; }
1971+
}
1972+
}

0 commit comments

Comments
 (0)