Code Monkey home page Code Monkey logo

communication-services-java-quickstarts's Introduction

Azure Communication Services Web (Java) SDK

Azure Communication Services enable developers to add communication capabilities to their applications.

Prerequisites

Quickstarts

  1. Create and manage access tokens

  2. Set up and manage access tokens for Teams users

  3. Add Chat to your app

  4. Send an SMS message

  5. Create and manage access tokens

  6. Get started with Rooms

communication-services-java-quickstarts's People

Contributors

aikobb avatar allchiang-msft avatar arizavala2 avatar carlosalm-msft avatar cochi2 avatar ddematheu2 avatar elavarasidc avatar ericasp16 avatar jannovak-msft avatar kagbakpem avatar lei-msft avatar microsoft-github-operations[bot] avatar microsoftopensource avatar mikehang-msft avatar minnieliu avatar minwoolee-msft avatar moirf avatar mrayyan avatar natekimball-msft avatar nikuklic avatar radubulboaca avatar ravithanneeru avatar shirleyqin-msft avatar tinaharter avatar v-vdharmaraj avatar williamzhao87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

communication-services-java-quickstarts's Issues

Typescript/JavaScript version of ServerRecording

I am working on NodeJS back end for generating token/identity. I was planning to add recording feature but i found documentation of server recording in C# and Java. Can you guide me when this feature sdk will be released in Typescript/JavaScript?

Is it possible to add inline image?

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

none

Any log messages given by the failure

none

Expected/desired behavior

For my case, I want to send an email with header/footer, both are inline images, I did not find any api to support it, is it possible to do so?

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

any

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Too many retries error when trying to start a recording

This issue is for a: (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Using the sample app, I set the ConnectionString in config.properties and tried to start a recording. It always fails with the error "Retry attempts have been exhausted"

I know the connection string is fine and the passed in serverCallId is valid because if I try to start a recording after the meeting is ended, I get a different error.

Here is the section of code where the failure occurring in the last line:

serverCallLocator = new ServerCallLocator(serverCallId);

StartRecordingOptions recordingOptions = new StartRecordingOptions(serverCallLocator);
recordingOptions.setRecordingContent(RecordingContent.AUDIO_VIDEO);
recordingOptions.setRecordingChannel(RecordingChannel.MIXED);
recordingOptions.setRecordingFormat(RecordingFormat.MP4);

logger.log(Level.INFO, "Getting call recording") ;
CallRecording callRecording = this.callAutomationClient.getCallRecording() ;
logger.log(Level.INFO, "Starting recording") ;
Response<RecordingStateResult> response = callRecording.startRecordingWithResponse(recordingOptions, null);

Any log messages given by the failure

Here is the error and exception:

2023-01-13 11:40:08.275  INFO 14195 --- [r-http-kqueue-1] com.azure.core.http.policy.RetryPolicy   : {"az.sdk.message":"Retry attempts have been exhausted.","tryCount":3}
com.azure.communication.callautomation.models.CallingServerErrorException: Status code 500, "{"error":{"code":"9999","message":"Unknown internal server error."}}"
	at com.azure.communication.callautomation.models.CallingServerErrorException$1.create(CallingServerErrorException.java:65)

Expected/desired behavior

The recording should start without any error

OS and Version?

Mac OS X 12.6.2

Versions

1.0.0-beta.1. but I also built 1.0.0-beta.2 from the GitHub as of today and that fails too.

Mention any other details that might be useful

mvn compile Error-Could not find artifact com.azure:azure-communication-common:jar:1.1.0-beta.1 in maven-cognitiveservices-speech

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

git clone
cd ${ workplace}/communication-services-java-quickstarts/OutboundCallReminder/pom.xml dirdirectory
mv compile
then
compile error
ERROR] Failed to execute goal on project outboundcallreminder: Could not resolve dependencies for project com.communication.outboundcallreminder:outboundcallreminder:jar:1.0-SNAPSHOT: Could not find artifact com.azure:azure-communication-common:jar:1.1.0-beta.1 in maven-cognitiveservices-speech

Any log messages given by the failure

Downloading from ossrh: https://oss.sonatype.org/content/repositories/snapshots/com/azure/azure-communication-common/1.1.0-beta.1/azure-communication-common-1.1.0-beta.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:46 min
[INFO] Finished at: 2022-06-07T11:27:01+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project outboundcallreminder: Could not resolve dependencies for project com.communication.outboundcallreminder:outboundcallreminder:jar:1.0-SNAPSHOT: Could not find artifact com.azure:azure-communication-common:jar:1.1.0-beta.1 in maven-cognitiveservices-speech (https://csspeechstorage.blob.core.windows.net/maven/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Expected/desired behavior

How can l fix it?
please help me, thx!

OS and Version?

macOS (Monterey)

Versions

12.0.1

Mention any other details that might be useful

Jdk, Maven installer
475 brew install --cask microsoft-openjdk
483 java -version
~$ mvn -version
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /usr/local/Cellar/maven/3.8.3/libexec
Java version: 17.0.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/17.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "12.0.1", arch: "x86_64", family: "mac"
485 cd "$(brew --repo)"
486 git remote set-url origin https://github.com/Homebrew/brew.git
487 cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
488 git remote set-url origin https://github.com/Homebrew/homebrew-core.git
489 brew install maven
~$ mvn -version
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /usr/local/Cellar/maven/3.8.3/libexec
Java version: 17.0.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/17.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "12.0.1", arch: "x86_64", family: "mac"


Thanks! We'll be in touch soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.