Git Product home page Git Product logo

demo-click2call's People

Contributors

dylan-chopra avatar somemothersson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-click2call's Issues

supportWebRTC property is false in iOS Safari

Hi Telnyx Devs,

Thank you for this awesome tool that helps great in initiating calls from the browser.
I did use this repo to build my first app with Telnyx and the calling feature worked great.

The problem(Only in phones [Android or iOS]):
By default, if any bluetooth or speaker device is not connected to the phone, the call's audio output is routed to the device's speaker (not the earpiece) which was not expected by me. So I then searched in the docs and learnt about the '.getAudioOutDevices()' which gave me the list of audio-out devices that are available and then I can use '.setAudioOutDevice(deviceId)' to set the device to the call.

This solution worked in Android phone(I was able to get the list and set a device to the call) but not in iPhone. Your documentation says that in iOS, Safari is the only browser that supports both Audio and video, but in iOS Safari, I was not able to get the list of audio-out devices.

image

When I checked if the browser supports Telnyx webRTC (supportWebRTC) property, I was shocked to see the property was false in iOS Safari (Even the latest 17.1).

Am I missing anything? Or is iOS Safari not supported?

image

But even in iOS Safari, I am able to make call successfully but with the problem of not being able to route the call's audio to earpiece.

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.