johanndiedrick / swift-client-sdk-drop-in-audio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Client SDK Drop in Audio Chat

Nexmo is now known as Vonage

This is a Swift project that uses the Client SDK to allow for drop in audio chat rooms. Check out the accompanying blog post for more information.

Welcome to Vonage

If you're new to Vonage, you can sign up for a Vonage API account and get some free credit to get you started.

Running the project

The project uses a REST server, to use the Conversation API to create users and conversations. See the accompanying blog post for more information.

Clone the project to your computer, using the terminal:

git clone git@github.com:nexmo-community/swift-client-sdk-drop-in-audio.git

Install Cocoapods if needed:

sudo gem install cocoapods

Install the Client SDK with Cocoapods:

pod install

Open the project in xcode:

xed .

The project connects to 3 endpoints:

  • /auth (POST):

This returns a JWT to log the Client SDK in.

  • /rooms (GET):

This returns a list of open chat rooms.

  • /rooms (POST):

This allows the app to create a new room.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

About

License:MIT License


Languages

Language:Swift 98.0%Language:Ruby 2.0%