简体   繁体   中英

Integrate AWS Chime in Java application

I'm trying to build a Java Spring boot application that is used to Create/Join and chat by using AWS Chime. I've gone through the demo code provided by chime. But is running by node.js . Can anyone help me how to integrate and consume APIS of chime by using mvc.

I am going through the same issue and I have found some very basic first steps.

  1. Go through key concepts https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html

  2. Get "aws-java-sdk-chime" java module from maven repository

  3. Create AmazonChime instance as an entry point to the server side Chime API. The setup is something more generic so you would work similar way with the AWS server SDKs

    AmazonChime chime = AmazonChimeClient.builder()......build();
  4. The java SDK looks generated (at leas partially) from something more generic. But it looks really aligned with this documentation that is not Java specific: https://docs.aws.amazon.com/chime/latest/APIReference/API_Meeting.html You can find API description here with data types and various actions you can perform. The related Java documentation is here https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/chime/AmazonChime.html but the generic above seems to me more readable.

  5. Use AmazonChime instance to create various objects you need (Meeting, Attendee, ..) and serve data from created objects (like media urls, etc..) to client applications.

Hope that it helped a little bit, Lukas

I recently did this in ASP.NET. Basically what I did was got the app running in Node.JS. Then I figured out how to extract the .HTML, .CSS and javascript using Chrome devtools and pasted them into files that I created within my project and it worked.

Now that I have it in a ASP.NET MVC app I am able to take it from there. The main issue now is that the javascript file is huge and hard to work with but I am slowly getting somewhere with it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM