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
moving transport url
  • Loading branch information
v-dharmarajv committed May 23, 2025
commit 6fafaf3e9b37ee2a1d4fc0f8412e4e555a2b44aa
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ private CreateCallRequestInternal getCreateCallRequestInternal(CreateGroupCallOp
.setEnableBidirectional(mediaStreamingOptions.isEnableBidirectional())
.setAudioFormat(AudioFormatInternal.fromString(mediaStreamingOptions.getAudioFormat() != null
? mediaStreamingOptions.getAudioFormat().toString()
: null));
: null))
.setEnableDtmfTones(mediaStreamingOptions.isEnableDtmfTones());
}

private TranscriptionOptionsInternal getTranscriptionOptionsInternal(TranscriptionOptions transcriptionOptions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public final class MediaStreamingOptions {
/*
* Transport URL for media streaming
*/
private final String transportUrl;
private String transportUrl;

/*
* The type of transport to be used for media streaming, eg. Websocket
Expand Down Expand Up @@ -53,14 +53,22 @@ public final class MediaStreamingOptions {
* @param transportUrl - The Transport URL
* @param audioChannelType - Audio Channel Type
*/
public MediaStreamingOptions(String transportUrl, MediaStreamingAudioChannel audioChannelType) {
this.transportUrl = transportUrl;
public MediaStreamingOptions(MediaStreamingAudioChannel audioChannelType, StreamingTransport transportType) {
this.transportType = StreamingTransport.WEBSOCKET;
this.contentType = MediaStreamingContentType.AUDIO;
this.audioChannelType = audioChannelType;
this.startMediaStreaming = false;
}

/**
* Creates a new instance of TranscriptionOptions with default transportType as WEBSOCKET.
* @param transportUrl - The Transport URL
* @param locale - Locale
*/
public MediaStreamingOptions(MediaStreamingAudioChannel audioChannelType) {
this(audioChannelType, StreamingTransport.WEBSOCKET);
}

/**
* Get the transportUrl property: Transport URL for media streaming.
*
Expand All @@ -70,6 +78,17 @@ public String getTransportUrl() {
return this.transportUrl;
}

/**
* Set the transportUrl property: Transport URL for media streaming.
*
* @param transportUrl the transportUrl value to set.
* @return the MediaStreamingOptions object itself.
*/
public MediaStreamingOptions setTransportUrl(String transportUrl) {
this.transportUrl = transportUrl;
return this;
}

/**
* Get the transportType property: The type of tranport to be used for media streaming, eg. Websocket.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
/** The TranscriptionOptions model. */
@Fluent
public final class TranscriptionOptions {
/*
* Transport URL for live transcription
*/
private final String transportUrl;

/*
* The type of transport to be used for live transcription, eg. Websocket
*/
Expand All @@ -38,18 +33,31 @@ public final class TranscriptionOptions {
*/
private Boolean enableIntermediateResults;

/*
* Transport URL for live transcription
*/
private String transportUrl;

/**
* Creates a new instance of MediaStreamingConfiguration
* @param transportUrl - The Transport URL
* Creates a new instance of TranscriptionOptions
* @param locale - Locale
* @param transportType - The type of transport to be used for live transcription
*/
public TranscriptionOptions(String transportUrl, String locale) {
this.transportUrl = transportUrl;
this.transportType = StreamingTransport.WEBSOCKET;
public TranscriptionOptions(String locale, StreamingTransport transportType) {
this.transportType = transportType;
this.locale = locale;
this.startTranscription = false;
}

/**
* Creates a new instance of TranscriptionOptions with default transportType as WEBSOCKET.
* @param transportUrl - The Transport URL
* @param locale - Locale
*/
public TranscriptionOptions(String locale) {
this(locale, StreamingTransport.WEBSOCKET);
}

/**
* Get the transportUrl property: Transport URL for live transcription.
*
Expand All @@ -59,6 +67,17 @@ public String getTransportUrl() {
return this.transportUrl;
}

/**
* Set the transportUrl property: Transport URL for live transcription.
*
* @param transportUrl the transportUrl value to set.
* @return the TranscriptionOptions object itself.
*/
public TranscriptionOptions setTransportUrl(String transportUrl) {
this.transportUrl = transportUrl;
return this;
}

/**
* Get the transportType property: The type of transport to be used for live transcription, eg. Websocket.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public class CallAutomationUnitTestBase {
static final String BOT_APP_ID = "botAppId";

static final MediaStreamingOptions MEDIA_STREAMING_CONFIGURATION
= new MediaStreamingOptions("https://websocket.url.com", MediaStreamingAudioChannel.MIXED)
= new MediaStreamingOptions(MediaStreamingAudioChannel.MIXED).setTransportUrl("https://websocket.url.com")
.setStartMediaStreaming(true);

static final TranscriptionOptions TRANSCRIPTION_CONFIGURATION
= new TranscriptionOptions("https://websocket.url.com", "en-US").setStartTranscription(true);
= new TranscriptionOptions("en-US").setTransportUrl("https://websocket.url.com").setStartTranscription(true);

public static String generateDownloadResult(String content) {
return content;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public void createVOIPCallAndMediaStreamingTest(HttpClient httpClient) {
// create options
List<CommunicationIdentifier> targets = new ArrayList<>(Collections.singletonList(target));
MediaStreamingOptions mediaStreamingOptions
= new MediaStreamingOptions(TRANSPORT_URL, MediaStreamingAudioChannel.MIXED);
= new MediaStreamingOptions(MediaStreamingAudioChannel.MIXED).setTransportUrl(TRANSPORT_URL);
CreateGroupCallOptions createCallOptions
= new CreateGroupCallOptions(targets, DISPATCHER_CALLBACK + String.format("?q=%s", uniqueId));

Expand Down Expand Up @@ -537,7 +537,8 @@ public void createVOIPCallAndTranscriptionTest(HttpClient httpClient) {

// create a call
List<CommunicationIdentifier> targets = new ArrayList<>(Collections.singletonList(target));
TranscriptionOptions transcriptionOptions = new TranscriptionOptions(TRANSPORT_URL, "en-US");
TranscriptionOptions transcriptionOptions
= new TranscriptionOptions("en-US").setTransportUrl(TRANSPORT_URL);
CreateGroupCallOptions createCallOptions
= new CreateGroupCallOptions(targets, DISPATCHER_CALLBACK + String.format("?q=%s", uniqueId));
createCallOptions.setTranscriptionOptions(transcriptionOptions);
Expand Down