Coder Social home page Coder Social logo

Comments (6)

fippo avatar fippo commented on May 22, 2024

writing up the plan for it...

  1. get the peerconnections .localDescription.sdp
  2. note the audio/video ssrcs
  3. replace sendrecv with recvonly
  4. setlocaldescription
  5. update our presence in sld.jingle
  6. take .remoteDescription.sdp
  7. setremotedescription (oh, with a=sendrecv is is interesting... probably replace sendrecv with a=sendonly there)

from jitsi-meet.

fippo avatar fippo commented on May 22, 2024

ok, doing it as setLocalDescription-setRemoteDescription caused a role change. This apparently triggered a bug so now I'm always doing it the other way round, i.e. setRemoteDescription-createAnswer-mangledirection-setLocalDescription...

from jitsi-meet.

emcho avatar emcho commented on May 22, 2024

Just chatted with @fippo . This is essentially done except for two different cases:

  1. calling it before we enter a session (in which case we simply need to remember a state and apply it later)
  2. Act properly if this happens during ice negotiation. This would be trickier.

from jitsi-meet.

fippo avatar fippo commented on May 22, 2024

I think we would solve (1) differently, because applying it to the intial offer is easier than modifying the session mid-call
For (2) it seems this should actually be integrated into "modifySources" long-term which deals with the API brokenness... err... joy already. For now, we might just copy the strategy from there though.

What is missing is signalling. It seems SSRCs are retained, so we probably just need to add a mute-flag in the element.

from jitsi-meet.

fippo avatar fippo commented on May 22, 2024

reoping, not quite done.

  1. signalling
  2. hooking it up with the mute button

from jitsi-meet.

emcho avatar emcho commented on May 22, 2024

Good job @fippo !

from jitsi-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.