Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
06f22eb
ga5 changes
v-dharmarajv May 9, 2025
f5cebcd
ga5 api changes
v-dharmarajv May 13, 2025
a7a071d
Made GA5 changes and recorded the live tests. (#45409)
v-pivamshi May 20, 2025
4c30693
Addressing arb comments
v-dharmarajv May 21, 2025
cf508ed
Added the parser for the dtmf data. (#45347)
v-pivamshi May 21, 2025
6300665
updating the white space difference
v-dharmarajv May 21, 2025
a34f372
addressing the arb comments
v-dharmarajv May 21, 2025
3beae7c
GA5 Javadoc Issues (#45432)
v-saasomani May 21, 2025
47bb9e9
Re-recorded tests and fixed linting issues (unused imports). (#45448)
v-saasomani May 22, 2025
99dccc2
updating java missing fields
v-dharmarajv May 22, 2025
0baee07
Merge branch 'callautomation/release/ga5' of https://github.com/Azure…
v-dharmarajv May 22, 2025
50ad4c7
lint errors
v-dharmarajv May 22, 2025
6fafaf3
moving transport url
v-dharmarajv May 23, 2025
0b8acfa
Addressing the ARB Comments
v-dharmarajv May 27, 2025
2fe8f65
addressing the arb comments
v-dharmarajv May 27, 2025
b83c48e
addressing all arb comments
v-dharmarajv May 27, 2025
e5964c9
merge from main
v-dharmarajv May 27, 2025
1a568e4
updating the transcription and media streaming options
v-dharmarajv May 28, 2025
2a11acf
Fixed Javadoc issues + updated ga5 version. (#45496)
v-saasomani May 28, 2025
0722329
Fixing the lint errors
v-dharmarajv May 28, 2025
f0b6caa
fixing the lint error
v-dharmarajv May 28, 2025
f2faa81
updating the changelog
v-dharmarajv May 30, 2025
c8f0c56
merge from main
v-dharmarajv Jun 3, 2025
2e374f3
Updating the changelog and release date
v-dharmarajv Jun 4, 2025
d1a04d5
changing the release date
v-dharmarajv Jun 5, 2025
b1b754d
Increment package versions for communication/azure-communication-call…
azure-sdk Jun 16, 2025
cbc7241
Resolving the conflicts and merging from main
v-dharmarajv Jun 30, 2025
3ff7870
taking the main changes for the dependancy package updates
v-dharmarajv Jun 30, 2025
801001f
dependancy package updates
v-dharmarajv Jun 30, 2025
999d294
updating the identity package
v-dharmarajv Jun 30, 2025
a9b3ffb
updating the cutomization for the getparticipant
v-dharmarajv Jul 1, 2025
09fe53b
version number update
v-dharmarajv Jul 7, 2025
8b4c32d
running latest autorest
v-dharmarajv Jul 7, 2025
7082219
merging from main
v-dharmarajv Jul 7, 2025
59c9ca4
version update
v-dharmarajv Jul 7, 2025
66b9748
updating readme version
v-dharmarajv Jul 7, 2025
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
Prev Previous commit
Next Next commit
Addressing the ARB Comments
  • Loading branch information
v-dharmarajv committed May 27, 2025
commit 0b8acfaba98d8e9e4252e06715243cac27eeee8d
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
import com.azure.communication.callautomation.implementation.converters.AudioDataConverter;
import com.azure.communication.callautomation.models.AudioData;
import com.azure.core.util.BinaryData;
import com.azure.core.util.logging.ClientLogger;

/**
* Helper class to access private values of {@link AudioData} across package boundaries.
*/
public final class AudioDataContructorProxy {
private static final ClientLogger LOGGER = new ClientLogger(AudioDataContructorProxy.class);

private static AudioDataContructorProxyAccessor accessor;

private AudioDataContructorProxy() {
Expand Down Expand Up @@ -60,7 +63,11 @@ public static AudioData create(AudioDataConverter internalResponse) {
// application accesses AudioData which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new AudioData();
try {
Class.forName(AudioData.class.getName(), true, AudioDataContructorProxyAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand All @@ -78,7 +85,11 @@ public static AudioData create(BinaryData data) {
// application accesses AudioData which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new AudioData();
try {
Class.forName(AudioData.class.getName(), true, AudioDataContructorProxyAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

import com.azure.communication.callautomation.implementation.converters.AudioMetadataConverter;
import com.azure.communication.callautomation.models.AudioMetadata;
import com.azure.core.util.logging.ClientLogger;

/**
* Helper class to access private values of {@link AudioMetaData} across package boundaries.
*/
public final class AudioMetadataContructorProxy {
private static final ClientLogger LOGGER = new ClientLogger(AudioMetadataContructorProxy.class);
private static AudioMetadataContructorProxyAccessor accessor;

private AudioMetadataContructorProxy() {
Expand Down Expand Up @@ -51,7 +53,12 @@ public static AudioMetadata create(AudioMetadataConverter internalResponse) {
// application accesses AudioMetadata which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new AudioMetadata();
try {
Class.forName(AudioMetadata.class.getName(), true,
AudioMetadataContructorProxyAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

import com.azure.communication.callautomation.implementation.models.MediaStreamingSubscriptionInternal;
import com.azure.communication.callautomation.models.MediaStreamingSubscription;
import com.azure.core.util.logging.ClientLogger;

/**
* Helper class to access private values of {@link MediaStreamingSubscriptionInternal} across package boundaries.
*/
public final class MediaStreamingSubscriptionConstructorProxy {
private static final ClientLogger LOGGER = new ClientLogger(MediaStreamingSubscriptionConstructorProxy.class);
private static MediaStreamingSubscriptionConstructorAccessor accessor;

private MediaStreamingSubscriptionConstructorProxy() {
Expand Down Expand Up @@ -51,7 +53,12 @@ public static MediaStreamingSubscription create(MediaStreamingSubscriptionIntern
// application accesses MediaStreamingSubscription which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new MediaStreamingSubscription();
try {
Class.forName(MediaStreamingSubscription.class.getName(), true,
MediaStreamingSubscriptionConstructorAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

import com.azure.communication.callautomation.implementation.converters.TranscriptionDataConverter;
import com.azure.communication.callautomation.models.TranscriptionData;
import com.azure.core.util.logging.ClientLogger;

/**
* Helper class to access private values of {@link TranscriptionData} across package boundaries.
*/
public final class TranscriptionDataContructorProxy {
private static final ClientLogger LOGGER = new ClientLogger(TranscriptionDataContructorProxy.class);
private static TranscriptionDataContructorProxyAccessor accessor;

private TranscriptionDataContructorProxy() {
Expand Down Expand Up @@ -51,7 +53,12 @@ public static TranscriptionData create(TranscriptionDataConverter internalRespon
// application accesses AudioData which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new TranscriptionData();
try {
Class.forName(TranscriptionData.class.getName(), true,
TranscriptionDataContructorProxyAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

import com.azure.communication.callautomation.implementation.converters.TranscriptionMetadataConverter;
import com.azure.communication.callautomation.models.TranscriptionMetadata;
import com.azure.core.util.logging.ClientLogger;

/**
* Helper class to access private values of {@link TranscriptionMetadata} across package boundaries.
*/
public final class TranscriptionMetadataContructorProxy {
private static final ClientLogger LOGGER = new ClientLogger(TranscriptionMetadataContructorProxy.class);
private static TranscriptionMetadataContructorProxyAccessor accessor;

private TranscriptionMetadataContructorProxy() {
Expand Down Expand Up @@ -51,7 +53,12 @@ public static TranscriptionMetadata create(TranscriptionMetadataConverter intern
// application accesses TranscriptionMetadata which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new TranscriptionMetadata();
try {
Class.forName(TranscriptionMetadata.class.getName(), true,
TranscriptionMetadataContructorProxyAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

import com.azure.communication.callautomation.implementation.models.TranscriptionSubscriptionInternal;
import com.azure.communication.callautomation.models.TranscriptionSubscription;
import com.azure.core.util.logging.ClientLogger;

/**
* Helper class to access private values of {@link TranscriptionSubscriptionInternal} across package boundaries.
*/
public final class TranscriptionSubscriptionConstructorProxy {
private static final ClientLogger LOGGER = new ClientLogger(TranscriptionSubscriptionConstructorProxy.class);
private static TranscriptionSubscriptionConstructorAccessor accessor;

private TranscriptionSubscriptionConstructorProxy() {
Expand Down Expand Up @@ -51,7 +53,12 @@ public static TranscriptionSubscription create(TranscriptionSubscriptionInternal
// application accesses TranscriptionSubscription which triggers the accessor to be configured. So, if the accessor
// is null this effectively pokes the class to set up the accessor.
if (accessor == null) {
new TranscriptionSubscription();
try {
Class.forName(TranscriptionSubscription.class.getName(), true,
TranscriptionSubscriptionConstructorAccessor.class.getClassLoader());
} catch (ClassNotFoundException e) {
throw LOGGER.logExceptionAsError(new RuntimeException(e));
}
}

assert accessor != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,6 @@ public AudioData create(BinaryData data) {
this.silent = internalData.isSilent();
}

/**
* The constructor
*/
public AudioData() {
super(StreamingDataKind.AUDIO_DATA);
this.data = null;
this.timestamp = null;
this.participant = null;
this.silent = false;
}

/**
* The constructor
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,6 @@ public AudioMetadata create(AudioMetadataConverter internalData) {
this.channels = convertToChannelsEnum(internalData.getChannels());
}

/**
* Creats the audiometadata instance
*/
public AudioMetadata() {
super(StreamingDataKind.AUDIO_METADATA);
this.mediaSubscriptionId = null;
this.encoding = null;
this.sampleRate = null;
this.channels = null;
}

/**
* A unique identifier for the media subscription.
* Get the mediaSubscriptionId property.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public MediaStreamingSubscription create(MediaStreamingSubscriptionInternal inte
/**
* Creates an instance of MediaStreamingSubscription class.
*/
public MediaStreamingSubscription() {
MediaStreamingSubscription() {
id = null;
state = null;
subscribedContentTypes = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,6 @@ protected TranscriptionData(TranscriptionDataConverter internalData) {
this.resultState = convertToResultStatusEnum(internalData.getResultStatus());
}

/**
* Create instance of transcription data
*/
public TranscriptionData() {
super(StreamingDataKind.TRANSCRIPTION_DATA);
this.text = null;
this.format = null;
this.confidence = null;
this.offset = null;
this.duration = null;
this.words = null;
this.participant = null;
this.resultState = null;
}

private TranscriptionResultState convertToResultStatusEnum(String resultStatus) {
if ("Intermediate".equalsIgnoreCase(resultStatus)) {
return TranscriptionResultState.INTERMEDIATE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,6 @@ public TranscriptionMetadata create(TranscriptionMetadataConverter internalData)
this.speechRecognitionModelEndpointId = internalData.getSpeechRecognitionModelEndpointId();
}

/**
* Creates an instance of TranscriptionMetadata class.
*/
public TranscriptionMetadata() {
super(StreamingDataKind.TRANSCRIPTION_METADATA);
this.transcriptionSubscriptionId = null;
this.locale = null;
this.callConnectionId = null;
this.correlationId = null;
this.speechRecognitionModelEndpointId = null;
}

/**
* Get the transcriptionSubscriptionId property.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public TranscriptionSubscription create(TranscriptionSubscriptionInternal intern
/**
* Creates an instance of TranscriptionSubscriptionInternal class.
*/
public TranscriptionSubscription() {
TranscriptionSubscription() {
id = null;
state = null;
subscribedResultStates = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public String getOperationCallbackUrl() {
* @param operationCallbackUrl the operationCallbackUrl value to set.
* @return the UnholdRequest object itself.
*/
public UnholdOptions setOperationCallbackUri(String operationCallbackUrl) {
public UnholdOptions setOperationCallbackUrl(String operationCallbackUrl) {
this.operationCallbackUrl = operationCallbackUrl;
return this;
}
Expand Down