Giter Site home page Giter Site logo

deeparsdk / vonage-ios-objc Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 4.0 5.11 MB

Video call using Vonage SDK with face masks provided by DeepAR SDK

Home Page: https://developer.deepar.ai

License: MIT License

Ruby 0.58% Objective-C 99.42%
augmented-reality face-filters objective-c deepar vonage tokbox videocall

vonage-ios-objc's Introduction

Vonage Video & DeepAR iOS SDK Sample

This sample application demonstrates how to use the DeepAR SDK to add face filters and masks to your video call using the Vonage Video(formerly OpenTok) iOS SDK.

To run the sample:

  1. Sign up at DeepAR and create a project.
  2. Copy the license key and paste it to ViewController.m (instead of your_license_key_here string)
  3. Download the DeepAR SDK from https://developer.deepar.ai and copy the DeepAR.framework into vonage-ios-objc folder
  4. Run pod install
  5. Sign up on https://www.vonage.com/communications-apis/video and either create a new project or use an existing project. create a project
  6. Go to your project page and scroll down to the Project Tools section. From there, you can generate a session ID and token manually. Use the project’s API key along with the session ID and token you generated.
  7. To quickly test the demo go to https://tokbox.com/developer/tools/playground/ on another device (e.g. desktop) to create a conversation room where you can see the feed from test app:
    • On the playground choose "Create new session"
    • Enter your API key
    • Choose latest JS SDK and leave other options unchanged
    • Click "Create" and on the next screen select Connect
    • Now in your session playground screen select "Publish stream" and "Continue" in the next dialog (you don't need to set any options)
    • Now you should be able to view the stream from your device where you created the Playground session and if you run the example iOS app the app should connect once you click Start call (and give all required permissions to the app, like microphone)

vonage-ios-objc's People

Contributors

luka-m avatar msach22 avatar sikter avatar

Watchers

 avatar  avatar

vonage-ios-objc's Issues

Use different format type

Hi!
I use different video calls library that expects to receive CVImageBuffer in one of these formats:
kCVPixelFormatType_420YpCbCr8BiPlanarFullRange or
kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange.

Is it possible to receive sample buffers in one of them in DeepAr delegate's method func frameAvailable(_ sampleBuffer: CMSampleBuffer!) and how can I set it up?

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.