Giter Club home page Giter Club logo

Comments (4)

aullman avatar aullman commented on July 18, 2024 1

You might also want to use the custom URL handler in your iOS app so that if you go to example.com/123 on your iOS device it will open up your app automatically. Right now the format is meet://home/{room} https://github.com/aullman/opentok-meet/blob/master/views/roomiOS.ejs#L21

Also, keep in mind that Safari on iOS 11 supports WebRTC so this app works without need to build a custom iOS app.

img_0171

from opentok-meet.

aiham avatar aiham commented on July 18, 2024

Since this is an express app, you can send HTTP requests from the iOS app in the same way the web app does to retrieve the session ID for a particular room name and the corresponding token in JSON format. You can then use this session ID and token to configure the iOS SDK and join the same session as the web user.

from opentok-meet.

masudhossain avatar masudhossain commented on July 18, 2024

@aiham this worked, thanks!!

@aullman i just noticed you guys updated it to work with ios11, and it works great with safari on mobile! Although i did notice that it doesn't work properly when a user puts meet.tokbox.com/something inside another app such as Facebook.

Try going messaging yourself meet.tokbox.com/something on Facebook messenger app, and than clicking on the link and you'll see what i'm referring to. Not sure if this is a restriction done by apps or the code itself.

from opentok-meet.

aiham avatar aiham commented on July 18, 2024

@masudhossain This is probably because WebRTC will not work in an iOS app's WebView, it is only available in the official Safari app at the moment. This is a restriction by Apple. I'm not sure if or when this will change.

from opentok-meet.

Related Issues (20)

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.