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.
If you're new to Vonage, you can sign up for a Vonage API account and get some free credit to get you started.
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.
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:
- Open an issue on this repository
- Tweet at us! We're @VonageDev on Twitter
- Or join the Vonage Developer Community Slack
- Check out the Developer Documentation at https://developer.nexmo.com