-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new models for Mixed Audio Feature (#23840)
* Added model changes for Mixed Audio feature. * Updated Server Client to take Mixed Audio params * Recorded live tests for the changes in Mixed Audio feature * Recorded more live tests * Recorded live tests for java sdk * Updated live tests and exposed models to public APIs * Changed the imports for new models * Fixed an import * recorded test and merge with main * updating a test record session * Updating javadoc * Indentation resolved * indentation issue resolved Co-authored-by: Ninika Sharma <ninsharm@microsoft.com>
- Loading branch information
1 parent
bb2763e
commit 54bcb45
Showing
45 changed files
with
1,061 additions
and
654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...ava/com/azure/communication/callingserver/implementation/models/RecordingChannelType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for RecordingChannelType. */ | ||
public final class RecordingChannelType extends ExpandableStringEnum<RecordingChannelType> { | ||
/** Static value mixed for RecordingChannelType. */ | ||
public static final RecordingChannelType MIXED = fromString("mixed"); | ||
|
||
/** Static value unmixed for RecordingChannelType. */ | ||
public static final RecordingChannelType UNMIXED = fromString("unmixed"); | ||
|
||
/** | ||
* Creates or finds a RecordingChannelType from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding RecordingChannelType. | ||
*/ | ||
@JsonCreator | ||
public static RecordingChannelType fromString(String name) { | ||
return fromString(name, RecordingChannelType.class); | ||
} | ||
|
||
/** @return known RecordingChannelType values. */ | ||
public static Collection<RecordingChannelType> values() { | ||
return values(RecordingChannelType.class); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ava/com/azure/communication/callingserver/implementation/models/RecordingContentType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for RecordingContentType. */ | ||
public final class RecordingContentType extends ExpandableStringEnum<RecordingContentType> { | ||
/** Static value audio for RecordingContentType. */ | ||
public static final RecordingContentType AUDIO = fromString("audio"); | ||
|
||
/** Static value audioVideo for RecordingContentType. */ | ||
public static final RecordingContentType AUDIO_VIDEO = fromString("audioVideo"); | ||
|
||
/** | ||
* Creates or finds a RecordingContentType from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding RecordingContentType. | ||
*/ | ||
@JsonCreator | ||
public static RecordingContentType fromString(String name) { | ||
return fromString(name, RecordingContentType.class); | ||
} | ||
|
||
/** @return known RecordingContentType values. */ | ||
public static Collection<RecordingContentType> values() { | ||
return values(RecordingContentType.class); | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...java/com/azure/communication/callingserver/implementation/models/RecordingFormatType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.callingserver.implementation.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for RecordingFormatType. */ | ||
public final class RecordingFormatType extends ExpandableStringEnum<RecordingFormatType> { | ||
/** Static value wav for RecordingFormatType. */ | ||
public static final RecordingFormatType WAV = fromString("wav"); | ||
|
||
/** Static value mp3 for RecordingFormatType. */ | ||
public static final RecordingFormatType MP3 = fromString("mp3"); | ||
|
||
/** Static value mp4 for RecordingFormatType. */ | ||
public static final RecordingFormatType MP4 = fromString("mp4"); | ||
|
||
/** | ||
* Creates or finds a RecordingFormatType from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding RecordingFormatType. | ||
*/ | ||
@JsonCreator | ||
public static RecordingFormatType fromString(String name) { | ||
return fromString(name, RecordingFormatType.class); | ||
} | ||
|
||
/** @return known RecordingFormatType values. */ | ||
public static Collection<RecordingFormatType> values() { | ||
return values(RecordingFormatType.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.