Git Product home page Git Product logo

Comments (6)

alvestrand avatar alvestrand commented on July 22, 2024

From https://tools.ietf.org/html/rfc5928#section-3 it seems that a TURN client-server link can indeed resolve to any protocol (if unspecified), so you can't tell from the URI scheme, which was my first thought.

I'm not clear on when in the process of resolving a candidate this field can be populated - can you help in describing that?

from webrtc-stats.

fippo avatar fippo commented on July 22, 2024

this would basically have to expose the local type preference (which is priority >> 24) and then turn that into the transport protocol using a browser-specific mapping.

But wasn't the URL the candidate was gathered from for exactly that purpose? I agree though that this is a more direct solution.

from webrtc-stats.

alvestrand avatar alvestrand commented on July 22, 2024

It turns out a turn url without a transport modifier can end up using any protocol depending on dns config and local capabilities so no, in general you cannot know from the url. Complex stuff!

from webrtc-stats.

fippo avatar fippo commented on July 22, 2024

pinging @jan-ivar -- iirc you have a mozlocaltransport already?

from webrtc-stats.

jan-ivar avatar jan-ivar commented on July 22, 2024

Yes we have mozLocalTransport. You can see it in a dump here.

I found this old comment on it.

from webrtc-stats.

taylor-b avatar taylor-b commented on July 22, 2024

@alvestrand

I'm not clear on when in the process of resolving a candidate this field can be populated - can you help in describing that?

Well, it needs to happen before the candidate is allocated ("gathered"), so there's never a situation where it could be unknown at the time of appearing in a stats report.

Of course, this field would only be present for local candidates, not remote candidates.

from webrtc-stats.

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.