Giter Site home page Giter Site logo

Comments (3)

stephenlb avatar stephenlb commented on May 30, 2024

Hi Martin! currently a way does not exist. You need to make a new phone
instance.
On Nov 28, 2015 7:54 AM, "Martin" [email protected] wrote:

Hi, is there a way to change the media in the phone without instantiating
a new PHONE instance?
Something like:

var phone = PHONE({number: "1234", media: { audio : true, video : false }});
phone.dial("567");
phone.media({ audio : true, video : true })


Reply to this email directly or view it on GitHub
#14.

from webrtc-sdk.

martinbomio avatar martinbomio commented on May 30, 2024

Thanks Stephen! Do you think this is doable? If so, I can try to implement it. Not sure if it's possible to change the stream in the peer connection. I see it is added this way:

            // Add Local Media Streams Audio Video Mic Camera
            talk.pc.addStream(mystream);

from webrtc-sdk.

stephenlb avatar stephenlb commented on May 30, 2024

Hi Martin, I am not totally sure if that will do the trick.

On Sun, Nov 29, 2015 at 12:45 PM, Martin [email protected] wrote:

Thanks Stephen! Do you think this is doable? If so, I can try to implement
it. Not sure if it's possible to change the stream in the peer connection.
I see it is added this way:

        // Add Local Media Streams Audio Video Mic Camera
        talk.pc.addStream(mystream);


Reply to this email directly or view it on GitHub
#14 (comment)
.

Cheers!
Stephen Blum - CTO
http://twitter.com/PubNub
https://github.com/pubnub/pubnub-api - GitHub
https://help.pubnub.com/ - Help Desk
www.pubnub.com
+1-425-830-6711

from webrtc-sdk.

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.