@@ -1270,7 +1270,7 @@ public virtual Response StartTranscription(StartTranscriptionOptions options = d
12701270 {
12711271 var request = options == default
12721272 ? new StartTranscriptionRequestInternal ( )
1273- : new StartTranscriptionRequestInternal ( ) { Locale = options . Locale , OperationContext = options . OperationContext } ;
1273+ : new StartTranscriptionRequestInternal ( ) { Locale = options . Locale , OperationContext = options . OperationContext , OperationCallbackUri = options . OperationCallbackUri , SpeechRecognitionModelEndpointId = options . SpeechRecognitionModelEndpointId } ;
12741274
12751275 return CallMediaRestClient . StartTranscription ( CallConnectionId , request , cancellationToken ) ;
12761276 }
@@ -1295,7 +1295,7 @@ public virtual async Task<Response> StartTranscriptionAsync(StartTranscriptionOp
12951295 {
12961296 var request = options == default
12971297 ? new StartTranscriptionRequestInternal ( )
1298- : new StartTranscriptionRequestInternal ( ) { Locale = options . Locale , OperationContext = options . OperationContext } ;
1298+ : new StartTranscriptionRequestInternal ( ) { Locale = options . Locale , OperationContext = options . OperationContext , OperationCallbackUri = options . OperationCallbackUri , SpeechRecognitionModelEndpointId = options . SpeechRecognitionModelEndpointId } ;
12991299
13001300 return await CallMediaRestClient . StartTranscriptionAsync ( CallConnectionId , request , cancellationToken ) . ConfigureAwait ( false ) ;
13011301 }
@@ -1320,7 +1320,7 @@ public virtual Response StopTranscription(StopTranscriptionOptions options = def
13201320 {
13211321 var request = options == default
13221322 ? new StopTranscriptionRequestInternal ( )
1323- : new StopTranscriptionRequestInternal ( ) { OperationContext = options . OperationContext } ;
1323+ : new StopTranscriptionRequestInternal ( ) { OperationContext = options . OperationContext , OperationCallbackUri = options . OperationCallbackUri } ;
13241324
13251325 return CallMediaRestClient . StopTranscription ( CallConnectionId , request , cancellationToken ) ;
13261326 }
@@ -1345,7 +1345,7 @@ public virtual async Task<Response> StopTranscriptionAsync(StopTranscriptionOpti
13451345 {
13461346 var request = options == default
13471347 ? new StopTranscriptionRequestInternal ( )
1348- : new StopTranscriptionRequestInternal ( ) { OperationContext = options . OperationContext } ;
1348+ : new StopTranscriptionRequestInternal ( ) { OperationContext = options . OperationContext , OperationCallbackUri = options . OperationCallbackUri } ;
13491349
13501350 return await CallMediaRestClient . StopTranscriptionAsync ( CallConnectionId , request , cancellationToken ) . ConfigureAwait ( false ) ;
13511351 }
@@ -1390,11 +1390,7 @@ public virtual Response UpdateTranscription(UpdateTranscriptionOptions options =
13901390 scope . Start ( ) ;
13911391 try
13921392 {
1393- UpdateTranscriptionRequestInternal request = new ( options . Locale )
1394- {
1395- // OperationContext = options.OperationContext,
1396- // SpeechRecognitionModelEndpointId = options.SpeechRecognitionModelEndpointId
1397- } ;
1393+ UpdateTranscriptionRequestInternal request = new ( options . Locale , options . SpeechRecognitionModelEndpointId , options . OperationContext , options . OperationCallbackUri ) ;
13981394
13991395 return CallMediaRestClient . UpdateTranscription ( CallConnectionId , request , cancellationToken ) ;
14001396 }
@@ -1439,11 +1435,7 @@ public virtual async Task<Response> UpdateTranscriptionAsync(UpdateTranscription
14391435 scope . Start ( ) ;
14401436 try
14411437 {
1442- UpdateTranscriptionRequestInternal request = new ( options . Locale )
1443- {
1444- // OperationContext = options.OperationContext,
1445- // SpeechRecognitionModelEndpointId = options.SpeechRecognitionModelEndpointId
1446- } ;
1438+ UpdateTranscriptionRequestInternal request = new ( options . Locale , options . SpeechRecognitionModelEndpointId , options . OperationContext , options . OperationCallbackUri ) ;
14471439
14481440 return await CallMediaRestClient . UpdateTranscriptionAsync ( CallConnectionId , request , cancellationToken ) . ConfigureAwait ( false ) ;
14491441 }
@@ -1518,7 +1510,7 @@ public virtual Response StopMediaStreaming(StopMediaStreamingOptions options = d
15181510 {
15191511 var request = options == default
15201512 ? new StopMediaStreamingRequestInternal ( )
1521- : new StopMediaStreamingRequestInternal ( ) { OperationCallbackUri = options . OperationCallbackUri ? . AbsoluteUri } ; // OperationContext = options.OperationContext
1513+ : new StopMediaStreamingRequestInternal ( ) { OperationCallbackUri = options . OperationCallbackUri ? . AbsoluteUri , OperationContext = options . OperationContext } ;
15221514
15231515 return CallMediaRestClient . StopMediaStreaming ( CallConnectionId , request , cancellationToken ) ;
15241516 }
0 commit comments