Giter VIP home page Giter VIP logo

Comments (10)

martinthomson avatar martinthomson commented on September 18, 2024

Discussed in DC: chicken chicken chicken

Harald is being assigned this particular task. He will produce text regarding the generation of and adherence to some image size preferences.

from jsep.

juberti avatar juberti commented on September 18, 2024

From #30:

IETF 92: add a=imageattr:X recv that contains the decoder limits, minimaxed with an app-specified receive limit (possibly multiple of these if there are multiple codecs with different limits).

Open question: how does the offerer set receive limits other than decoder limits? This again does suggest that RtpReceiver might need to be created at an earlier stage than ontrack.

from jsep.

martinthomson avatar martinthomson commented on September 18, 2024

At the answerer, there is always the possibility of setting (mandatory) constraints on the MediaStreamTrack instances. The offerer would have to redo offer/answer to do this though. Mucking with RTCRtpReceiver is another way to achieve the same end, with the same limitation.

We should definitely pick just one option, and probably pick something in the W3C. JSEP only has to explain that there is nothing offer/answer can do to allow the answerer this control.

from jsep.

juberti avatar juberti commented on September 18, 2024

Well, I wonder if we should generate the RtpReceiver when the offerer's track is added. We wouldn't fire ontrack in that case, but you could get the receiver and frob it before calling createoffer.

from jsep.

martinthomson avatar martinthomson commented on September 18, 2024

That's not a bad idea: you do know what RTCRtpReceiver instances are potentially present once you have called setLocalDescription. That's a pretty significant change to the API though (even if it is just a matter of surfacing a new event).

from jsep.

juberti avatar juberti commented on September 18, 2024

We could just not surface an event; the only implication would be that rtpreceivers could exist before getting ontrack, which would be a non-issue i think. Some spec tweaking needed, but no app changes needed.

from jsep.

martinthomson avatar martinthomson commented on September 18, 2024

Yeah, but handling the case where the peer chooses not to send is awkward: the receiver for a rejected media section would have to silently disappear also.

from jsep.

juberti avatar juberti commented on September 18, 2024

Not necessarily; it could just become dormant.
Agree that we would have to figure out the details, but I think it would be workable.

from jsep.

fluffy avatar fluffy commented on September 18, 2024

If you go back to the WebRTC meeting in seattle / china - being able to do this was one of the key motiviations for creating the doohicky objects

from jsep.

juberti avatar juberti commented on September 18, 2024

I don't think this was an explicit design goal, but we have bumped into this a couple times now and if we can deal with it without wrecking the design I think it will help us solve this and future problems.

from jsep.

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.