Skip to content

Commit a656415

Browse files
pgrandhiLeiwang3SQL
authored andcommitted
Adding additional fields to CallRecording File Status Udpated event (Azure#16936)
* Adding additional fields to CallRecording File Status Udpated event * Updating the Recording event fields to enum * Updating the example for RecordingFileStatusUpdated event * Updating the recordingFormatType in recordingFileStatusUpdated example
1 parent c53d766 commit a656415

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,43 @@
459459
"format": "int64",
460460
"type": "integer"
461461
},
462+
"recordingContentType": {
463+
"type": "string",
464+
"description": "The recording content type- AudioVideo, or Audio",
465+
"enum": [
466+
"AudioVideo",
467+
"Audio"
468+
],
469+
"x-ms-enum": {
470+
"name": "recordingContentType",
471+
"modelAsString": true
472+
}
473+
},
474+
"recordingChannelType": {
475+
"type": "string",
476+
"description": "The recording channel type - Mixed, Unmixed",
477+
"enum": [
478+
"Mixed",
479+
"Unmixed"
480+
],
481+
"x-ms-enum": {
482+
"name": "recordingChannelType",
483+
"modelAsString": true
484+
}
485+
},
486+
"recordingFormatType": {
487+
"type": "string",
488+
"description": "The recording format type - Mp4, Mp3, Wav",
489+
"enum": [
490+
"Wav",
491+
"Mp3",
492+
"Mp4"
493+
],
494+
"x-ms-enum": {
495+
"name": "recordingFormatType",
496+
"modelAsString": true
497+
}
498+
},
462499
"sessionEndReason": {
463500
"description": "The reason for ending recording session",
464501
"type": "string"
@@ -697,6 +734,10 @@
697734
"contentLocation": {
698735
"description": "The location of the content for this chunk",
699736
"type": "string"
737+
},
738+
"deleteLocation": {
739+
"description": "The location to delete all chunk storage",
740+
"type": "string"
700741
}
701742
}
702743
}

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/recording_file_status_updated.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@
1010
"index": 0,
1111
"endReason": "SessionEnded",
1212
"contentLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/video",
13-
"metadataLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/acsmetadata"
13+
"metadataLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/acsmetadata",
14+
"deleteLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/deletedata"
1415
}
1516
]
1617
},
1718
"recordingStartTime": "2021-07-27T15:20:23.6089755Z",
1819
"recordingDurationMs": 6620,
19-
"sessionEndReason": "CallEnded"
20+
"sessionEndReason": "CallEnded",
21+
"recordingContentType": "Audio",
22+
"recordingChannelType": "Mixed",
23+
"recordingFormatType": "Mp3"
2024
},
2125
"eventType": "Microsoft.Communication.RecordingFileStatusUpdated",
2226
"dataVersion": "1.0",

0 commit comments

Comments
 (0)