Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix based on feedbacks #28986

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@
"$ref": "#/definitions/CommunicationErrorResponse"
}
},
"204": {
"202": {
"description": "The service has accepted the stop media streaming request and will begin processing it. You will receive either MediaStreamingStopped or MediaStreamingFailed event at your specified callback URI to update you on the status of the request."
}
},
Expand All @@ -1084,47 +1084,6 @@
}
}
},
"/calling/callConnections/{callConnectionId}:mediaStreamingState": {
"get": {
"tags": [
"MidConnections"
],
"summary": "Get media streaming state in the call",
"description": "Gets media streaming state in the call.",
"operationId": "CallMedia_MediaStreamingState",
"parameters": [
{
"name": "callConnectionId",
"in": "path",
"description": "The call connection id.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"default": {
"description": "Error",
"schema": {
"$ref": "#/definitions/CommunicationErrorResponse"
}
},
"200": {
"description": "Returns details of the media streaming state.",
"schema": {
"$ref": "#/definitions/MediaStreamingStateResponse"
}
}
},
"x-ms-examples": {
"CallMedia_MediaStreamingState": {
"$ref": "./examples/CallMedia_MediaStreamingState.json"
}
}
}
},
"/calling/callConnections/{callConnectionId}/participants": {
"get": {
"tags": [
Expand Down Expand Up @@ -1719,9 +1678,9 @@
"$ref": "#/definitions/CallIntelligenceOptions",
"description": "AI options for the call."
},
"mediaStreamingConfiguration": {
"$ref": "#/definitions/MediaStreamingConfiguration",
"description": "Media Streaming Configuration."
"mediaStreamingOptions": {
"$ref": "#/definitions/MediaStreamingOptions",
"description": "Media Streaming Options."
},
"transcriptionConfiguration": {
"$ref": "#/definitions/TranscriptionConfiguration",
Expand Down Expand Up @@ -1760,7 +1719,7 @@
}
},
"MediaStreamingContentType": {
"description": "Content type to stream, eg. audio, audio/video",
"description": "Content type to stream, eg. audio",
"enum": [
"audio"
],
Expand All @@ -1782,7 +1741,7 @@
"modelAsString": true
}
},
"MediaStreamingConfiguration": {
"MediaStreamingOptions": {
"description": "Configuration of Media streaming.",
"required": [
"transportUrl",
Expand Down Expand Up @@ -1929,9 +1888,9 @@
"$ref": "#/definitions/CommunicationUserIdentifierModel",
"description": "Identity of the answering entity. Only populated when identity is provided in the request."
},
"mediaSubscriptionId": {
"description": "SubscriptionId for media streaming",
"type": "string"
"mediaStreamingSubscription": {
"$ref": "#/definitions/MediaStreamingSubscription",
"description": "The state of media streaming subscription for the call"
},
"transcriptionSubscriptionId": {
"description": "Subscription Id for transcription.",
Expand All @@ -1943,6 +1902,39 @@
}
}
},
"MediaStreamingSubscriptionState": {
"description": "Gets or Sets media streaming subscription state.",
"enum": [
"disabled",
"inactive",
"active"
],
"type": "string",
"x-ms-enum": {
"name": "MediaStreamingSubscriptionState",
"modelAsString": true
}
},
"MediaStreamingSubscription": {
"description": "Media streaming Subscription Object.",
"type": "object",
"properties": {
"id": {
"description": "Gets or Sets subscription Id.",
"type": "string"
},
"state": {
"$ref": "#/definitions/MediaStreamingSubscriptionState"
},
"subscribedContentTypes": {
"description": "Gets or Sets the subscribed media streaming content types.",
"type": "array",
"items": {
"$ref": "#/definitions/MediaStreamingContentType"
}
}
}
},
"AnswerCallRequest": {
"description": "The request payload for answering the call.",
"required": [
Expand Down Expand Up @@ -1971,9 +1963,9 @@
"$ref": "#/definitions/CommunicationUserIdentifierModel",
"description": "The identifier of the call automation entity which answers the call"
},
"mediaStreamingConfiguration": {
"$ref": "#/definitions/MediaStreamingConfiguration",
"description": "Media Streaming Configuration."
"mediaStreamingOptions": {
"$ref": "#/definitions/MediaStreamingOptions",
"description": "Media Streaming Options."
},
"transcriptionConfiguration": {
"$ref": "#/definitions/TranscriptionConfiguration",
Expand Down Expand Up @@ -2636,38 +2628,6 @@
}
}
},
"MediaStreamingState": {
"enum": [
"active",
"inactive"
],
"type": "string",
"x-ms-enum": {
"name": "MediaStreamingState",
"modelAsString": true
}
},
"MediaStreamingType": {
"enum": [
"audio"
],
"type": "string",
"x-ms-enum": {
"name": "MediaStreamingType",
"modelAsString": true
}
},
"MediaStreamingStateResponse": {
"type": "object",
"properties": {
"mediaStreamingState": {
"$ref": "#/definitions/MediaStreamingState"
},
"mediaStreamingType": {
"$ref": "#/definitions/MediaStreamingType"
}
}
},
"GetParticipantsResponse": {
"description": "The response payload for getting participants of the call.",
"required": [
Expand Down Expand Up @@ -3852,7 +3812,7 @@
"description": "Contains the resulting SIP code/sub-code and message from NGC services.",
"readOnly": true
},
"mediaStreamingnUpdateResult": {
"mediaStreamingUpdateResult": {
"$ref": "#/definitions/MediaStreamingUpdate",
"description": "Defines the result for MediaStreamingUpdate with the current status and the details about the status",
"readOnly": true
Expand Down Expand Up @@ -3969,7 +3929,7 @@
"description": "Contains the resulting SIP code/sub-code and message from NGC services.",
"readOnly": true
},
"mediaStreamingnUpdateResult": {
"mediaStreamingUpdateResult": {
"$ref": "#/definitions/MediaStreamingUpdate",
"description": "Defines the result for MediaStreamingUpdate with the current status and the details about the status",
"readOnly": true
Expand Down
Loading