1 / 4

candidate warm up

candidate warm up. Problems. Pre-allocating candidates can speed up setup times However, it’s impossible to know how many candidates are needed until you have all streams and maybe an offer The specification defines one thing, implementations do another. Resolution.

effie
Télécharger la présentation

candidate warm up

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. candidate warm up

  2. Problems • Pre-allocating candidates can speed up setup times • However, it’s impossible to know how many candidates are needed until you have all streams and maybe an offer • The specification defines one thing, implementations do another

  3. Resolution • “candidatePoolSize” setting/constraint • Can be set in constructor or updateIce() • Non negative integer value, default zero • Causes the browser to allocate candidates • “icecandidate” events are generated as normal • Effective prior to setLocalDescription • After setLocalDescriptionis called, candidatePoolSize is ignored • Actual number of candidates is determined by the local description

  4. Remaining Items • What to do about ICE state? • Proposal: icestate can be “starting” state during this time • !: the spec described a “new” state in Section 4.3.1, which is not described in the enumeration • Editors to add to spec • Change step 1 for the RTCPeerConnection constructor • Add to the description for updateIce • Add definition of the constraint

More Related