trickle ice trickle ice
play

TRICKLE ICE TRICKLE ICE draft-ietf-mmusic-trickle-ice Emil Ivov, - PDF document

TRICKLE ICE TRICKLE ICE draft-ietf-mmusic-trickle-ice Emil Ivov, Eric Rescorla, Justin Uberti 90% draft-ietf-mmusic-trickle-ice-sip Emil Ivov, Enrico Marocco, Christer Holmberg 90% draft-ivov-disspatch-sdpfrag-03 Emil Ivov, Adam Roach, Anyone


  1. TRICKLE ICE

  2. TRICKLE ICE draft-ietf-mmusic-trickle-ice Emil Ivov, Eric Rescorla, Justin Uberti 90% draft-ietf-mmusic-trickle-ice-sip Emil Ivov, Enrico Marocco, Christer Holmberg 90% draft-ivov-disspatch-sdpfrag-03 Emil Ivov, Adam Roach, Anyone Else? 30%

  3. Reminder: Vanilla ICE STUN Server Alice Bob STUN Server disco o ff er and candidates disco answer and candidates … connectivity checks … Vanilla ICE as per RFC 5245 3/35

  4. Reminder: Vanilla ICE vs Trickle ICE STUN Server Bob STUN Server STUN Server STUN Server Alice Alice Bob O/A with host or no cands disco disco disco o ff er and … candidates more cands & conn checks … disco answer and candidates … connectivity checks … Vanilla ICE as per RFC 5245 Trickle ICE 4/35

  5. STUN Server STUN Server STUN Server STUN Server Alice Bob Alice Bob O/A with host or no cands disco disco disco o ff er and … candidates more cands & conn checks … disco answer and candidates … connectivity checks … Vanilla ICE as per RFC 5245 Trickle ICE

  6. draft-ietf-mmusic-trickle-ice Emil Ivov, Eric Rescorla, Justin Uberti 90%

  7. there was this one issue: v=0 concerns that … c=IN IP6 :: multiple 9s a=ice-options:trickle a=ice-pwd:asd88fgpdd7 a=ice-ufrag:8hhY may anger m=audio 9 RTP/AVP 0 96 a=rtpmap:0 PCMU/8000 a=rtpmap:96 opus/48000/2 bundle/jsep m=audio 9 RTP/AVP 0 97 a=rtpmap:0 PCMU/8000 a=rtpmap:97 opus/48000/2 m=video 9 RTP/AVP 0 98 a=rtpmap:98 VP8/90000 m=video 9 RTP/AVP 0 99 a=rtpmap:99 VP8/90000

  8. there was this one issue: v=0 concerns that … c=IN IP6 :: multiple 9s a=ice-options:trickle a=ice-pwd:asd88fgpdd7 a=ice-ufrag:8hhY may anger m=audio 9 RTP/AVP 0 96 a=rtpmap:0 PCMU/8000 a=rtpmap:96 opus/48000/2 bundle/jsep m=audio 9 RTP/AVP 0 97 a=rtpmap:0 PCMU/8000 a=rtpmap:97 opus/48000/2 resolved in m=video 9 RTP/AVP 0 98 a=rtpmap:98 VP8/90000 m=video 9 RTP/AVP 0 99 bundle/jsep a=rtpmap:99 VP8/90000

  9. draft-ietf-mmusic-trickle-ice Emil Ivov, Eric Rescorla, Justin Uberti 90% THERE HAVE BEEN NO CHANGES SINCE LAST TIME (IETF89) BUT THE DOCUMENT IS PRETTY MUCH READY FOR WORKING GROUP LAST CALL, SO PLEASE HAVE A READ

  10. draft- ietf -mmusic-trickle-ice-sip Emil Ivov, Enrico Marocco, Christer Holmberg 90% draft-ivov-disspatch-sdpfrag-03 Emil Ivov, Adam Roach, Anyone Else? 30%

  11. Δ s since individual-01 this is the boring part

  12. added protocol overview and rationale +-------------------------------+ +-------------------------------+ | Alice +--------------+ | | +--------------+ Bob | | | Offer/Answer | | | | Offer/Answer | | | +-------+ | Module | | | | Module | +-------+ | | | ICE | +--------------+ | | +--------------+ | ICE | | | | Agent | | | | | | Agent | | | +-------+ | | | | +-------+ | +-------------------------------+ +-------------------------------+ | | | | | | INVITE (Offer) | | | |--------------------->| | | | 183 (Answer) | | | |<---------------------| | | | | | | | | SIP INFO (more candidates) | |----------------------------------------------------->| | SIP INFO (more candidates) | |<-----------------------------------------------------| | | | STUN Binding Requests/Responses | |----------------------------------------------------->| | STUN Binding Requests/Responses | |<-----------------------------------------------------| | | | | | | | | 5245 SIP re-INVITE | | | |--------------------->| | | | 200 OK | | | |<---------------------| | 12/35

  13. asserting o ff er/answer delivery and state Alice Bob Alice Bob | | | | | INVITE | | INVITE (Offer) | |------------------------>| |------------------------>| | 183 (Offer) | | 183 (Answer) | |<------------------------| |<------------------------| | PRACK (Answer) | | | |------------------------>| +----------------------+ | | | |Alice: I know Bob can| | | +----------------------+ |trickle and I know his| | | |Bob: I know Alice can| |dialog is in the early| | | |trickle and I know her| |state. Send INFO! | | | |dialog is in the early| +----------------------+ | | |state. Send INFO! | | | | +----------------------+ | INFO/OK (SRFLX Cand.) | | | |------------------------>| | INFO/OK (SRFLX Cand.) | | | |<------------------------| | | 13/35

  14. o ff er/answer and working around the PRACK Alice Bob Alice Bob | | | | | INVITE (Offer) | | INVITE (Offer) | |------------------------>| |------------------------>| | 183 (Answer) | | 183 (Answer) | |<------------------------| |<------------------------| | | | INFO/OK (SRFLX Cand.) | |------------------------>| | +----------------------+ | |Bob: I don't know if | | | | +----------------------+ | |Alice got my 183 or if| | |her dialog is already | | |Bob: Now I know Alice| | |in the early state. | | | is ready. Send INFO! | | | Can I send INFO??? | | +----------------------+ | +----------------------+ | INFO/OK (SRFLX Cand.) | | | |<------------------------| | | 14/35

  15. 5 other ways trickle ICE makes the world a better place 1. Candidates are sent incrementally. In addition to the newly discovered candidates, every INFO message contains all local candidates an agent has previously sent. This allows misordered/lost INFOs to not be a problem. 15/35

  16. 5 other ways trickle ICE makes the world a better place 1. Candidates are sent incrementally. In addition to the newly discovered candidates, every INFO message contains all local candidates an agent has previously sent. This allows misordered/lost INFOs to not be a problem. 2. INFO requests must always carry the a=ice-ufrag and a=ice-pwd attributes (as either session or media-level attributes) so that the requests can be matched to a specific ICE generation (i.e., or an offer/answer negotiation). a=ice-pwd:asd88fgpdd777uzjYhagZg a=ice-ufrag:8hhY a=mid:1 a=candidate:1 1 UDP 1658497328 192.168.100.33 5000 typ host a=candidate:2 1 UDP 1658497328 96.1.2.3 5000 typ srflx a=mid:2 a=candidate:2 1 UDP 1658497328 96.1.2.3 5002 typ srflx a=end-of-candidates 16/35

  17. 5 other ways trickle ICE makes the world a better place 1. Candidates are sent incrementally. In addition to the newly discovered candidates, every INFO message contains all local candidates an agent has previously sent. This allows misordered/lost INFOs to not be a problem. 2. INFO requests must always carry the a=ice-ufrag and a=ice-pwd attributes (as either session or media-level attributes) so that the requests can be matched to a specific ICE generation (i.e., or an offer/answer negotiation). 3. SIP User Agents may be configured to force use of full trickle where maintainers expect all endpoints to support it. This would likely be the case for WebRTC environments. 4. Support for trickle ICE may also be dynamically discover with RFC 3840 but *only if* GRUU is also supported (otherwise there is no way to guarantee that the endpoint responding to caps query will be the same as the one that will get a subsequent INVITE 5. For those with an aversion to the above discovery hacks, trickle ICE for SIP can also be used in half trickle mode where the offerer starts with a regular ICE offer and, if the answerer can trickle, it just does. 17/35

  18. new suggestion courtesy of Thomas Stach. thanks! this is the fun part!

  19. typical tricle flow Alice Bob TURN Server TURN Server INVITE (Offer) disco 183 (Answer) 183 (Answer) disco … PRACK / INFO (more cands / end-of-candidates) more candidates & conn checks 200 OK (Answer from 183) / ACK 5245 SIP re-INVITE / 200 OK / ACK media 19/35

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend