GithubHelp home page GithubHelp logo

Comments (5)

lminiero avatar lminiero commented on May 30, 2024

mid corresponds to a media stream, not a participant. Your publisher is sending both audio and video, so you get two different mids. Maybe you're confused with msid. That said, please post questions like this on the group, we only use GitHub for code issues.

from janus-gateway.

lminiero avatar lminiero commented on May 30, 2024

@atoppi made me notice that you may be referring to the fact both are video streams, and that both refer to the same source, that is feed_mid: "0". In theory, this can happen if:

  1. the publisher is sending video only
  2. you subscribed to that publisher once
  3. you subscribe to that publisher again

In that case, it would be normal for you go get the same feed twice. If not, there may be a bug. Make sure (via debugging the client side) that you're not unknowingly sending the same subscribe request twice (e.g., once when doing join, and once now via subscribe). As such, please provide the full API sequence, and possibly the SDPs involved (ideally as a gist or pastebin link, not inline here).

from janus-gateway.

SakibFarhad avatar SakibFarhad commented on May 30, 2024

Yes, both are video streams. We don't use audio of videoroom, for audio we use audiobridge.
We are collecting the debug log for both server and client.

from janus-gateway.

SakibFarhad avatar SakibFarhad commented on May 30, 2024

Here is the gist URL
providing both server and client log.

from janus-gateway.

lminiero avatar lminiero commented on May 30, 2024

Your log demonstrates what I thought: you're subscribing to the same user twice yourself. Before calling subscribe for ID 7628034449938680, you also used switch for the same feed. As such, it's a problem in your client side login, not Janus. Closing.

from janus-gateway.

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.