Re: [rtcweb] Media forking solution for SIP interoperability (without a media gateway)

Iñaki Baz Castillo <ibc@aliax.net> Sun, 30 October 2011 20:32 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30DC421F8B78 for <rtcweb@ietfa.amsl.com>; Sun, 30 Oct 2011 13:32:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.645
X-Spam-Level:
X-Spam-Status: No, score=-2.645 tagged_above=-999 required=5 tests=[AWL=0.032, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yui3uP5ywuj1 for <rtcweb@ietfa.amsl.com>; Sun, 30 Oct 2011 13:32:44 -0700 (PDT)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 7EC8421F8B73 for <rtcweb@ietf.org>; Sun, 30 Oct 2011 13:32:44 -0700 (PDT)
Received: by vcbfo1 with SMTP id fo1so5279218vcb.31 for <rtcweb@ietf.org>; Sun, 30 Oct 2011 13:32:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.7.12 with SMTP id b12mr2060058vcb.23.1320006763891; Sun, 30 Oct 2011 13:32:43 -0700 (PDT)
Received: by 10.220.184.6 with HTTP; Sun, 30 Oct 2011 13:32:43 -0700 (PDT)
In-Reply-To: <7F2072F1E0DE894DA4B517B93C6A058522357895FC@ESESSCMS0356.eemea.ericsson.se>
References: <CALiegfkikmpi55ePUo=AQCQvorv4_6v2ByTCdL=V_=umcCEpUA@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852235717390@ESESSCMS0356.eemea.ericsson.se> <CALiegf=t=9YSbZ1fmCQs0BrV79TPAkXB5XEsONRA4KP_um4DtA@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A058522357895FA@ESESSCMS0356.eemea.ericsson.se> <CALiegfnDsP8Y19tUKifdG8vJ552ivY+1f6+e8JEQCyrFoZF9KQ@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A058522357895FC@ESESSCMS0356.eemea.ericsson.se>
Date: Sun, 30 Oct 2011 21:32:43 +0100
Message-ID: <CALiegfmwF+O49HVNjKFfJ30hZx4Sfvv55FaN6Y4PnN3x8dv1QA@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Media forking solution for SIP interoperability (without a media gateway)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Oct 2011 20:32:45 -0000

2011/10/30 Christer Holmberg <christer.holmberg@ericsson.com>:
>>> Ok, small correction: you are not allowed to send a new offer before
>>> you have received the previous answer in a reliably sent response :)
>>
>> Ok, PRACK (RFC 3262) dates from 2002, so just add "Require: 100rel" in the INVITE and you are done. Of course, if
>> the remote SIP peer does not implement PRACK I am sure it won't implement ICE and SRTP, so interoperability with a WebRTC client is not possible anyway.
>
> Dude, where were you when they wrote RFC 5245? The reason they specified the re-transmission of un-reliable 18x responses was so that ICE entities would NOT have to support PRACK :)

Sure, but WebRTC is not SIP and must not be designed just in order to
interoperate with SIP.


> Having said that, *today* PRACK support may be more common (75%, according to the SIPit report) than back in those days, and if in addition SRTP mandates PRACK support there might not be a real-life problem.

Oh, I didn't know that SRTP mandates PRACK, then we are done :)



>> Anyhow, let's remember that the purpose of WebRTC is not the interoperability with old SIP phones which
>> implement nothing but plain SIP and plain RTP.
>
> I agreed.
>
> And, my main concern is not whether endpoints will support PRACK, but having to send new offers just because of forking.

Of course I prefer not having to use that but, should WebRTC modify
PeerConnection specs just for allowing SIP media forking?



>> So I don't expect that WebRTC will allow reusing the same local candidates in a new PeerConnection just to allow SIP media forking.
>
> Well, that's what we have to figure out.

I would also like to know what non-SIP folks think about this.


> And, just for the record: based on what do you make that assumption?

Ok: in order to allow SIP media forking, WebRTC should allow reusing
the same local candidates in a new PeerConnection (or making a single
PeerConnection capable of sending and receiving RTP to/from more than
a single remote peer).

Remember that WebRTC does not mandate a protocol in-the-wire, so a
developer could make a new/custom protocol in which for each "early
response containing media" it creates a new PeerConnection. However
that does not fit well with SIP. But this is just a SIP issue, not a
WebRTC issue.

Should PeerConnection become more complex just for those willing to
implement SIP (or something that can be mapped to SIP) in WebRTC and
interoperate with SIP?

I insist: this limitation *just* affects to SIP (due to SIP nature in
which a UAC MUST be able to send/receive RTP to different peers using
the same local address). Any other protocol implemented on top of
WebRTC could avoid this limitation with a proper design. So should
WebRTC be conditionated by SIP protocol requirements? I don't think
so, regardless the number of SIP folks participating in this WG (I
still think WebRTC is something for the Web).

So this is the reason of my assumption.


Regards.


-- 
Iñaki Baz Castillo
<ibc@aliax.net>