[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: alternate RTP profiles in SDP offer/answer
- To: "'Joerg Ott'" <jo@xxxxxxxxxxxxx>, "'Randell Jesup'" <rjesup@xxxxxxxxx>
- Subject: RE: alternate RTP profiles in SDP offer/answer
- From: "Dan Wing" <dwing@xxxxxxxxx>
- Date: Tue, 7 Nov 2006 16:32:16 -0800
- Authentication-results: sj-dkim-7.cisco.com; header.From=dwing@xxxxxxxxx; dkim=pass ( sig from cisco.com verified; );
- Cc: "'Desineni, Harikishan'" <hdesinen@xxxxxxxxxxxx>, "'Francois Audet'" <audet@xxxxxxxxxx>, <mmusic@xxxxxxxx>, "'Joerg Ott'" <jo@xxxxxxx>, <carrara@xxxxxx>, "'Flemming Andreasen'" <fandreas@xxxxxxxxx>, "'Hadriel Kaplan'" <HKaplan@xxxxxxxxxxxxxx>, <ietf-rtpsec@xxxxxxx>, "'Leung, Nikolai'" <nleung@xxxxxxxxxxxx>, "'Ludwin, Albert'" <aludwin@xxxxxxxxxxxx>, "'Srinivasamurthy, Naveen'" <naveens@xxxxxxxxxxxx>, "'Jayaram, Ranjith'" <rjayaram@xxxxxxxxxxxx>
- Dkim-signature: a=rsa-sha1; q=dns; l=3530; t=1162945960; x=1163809960; c=relaxed/simple; s=sjdkim7002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dwing@xxxxxxxxx; z=From:=22Dan=20Wing=22=20<dwing@xxxxxxxxx> |Subject:RE=3A=20alternate=20RTP=20profiles=20in=20SDP=20offer/answer; X=v=3Dcisco.com=3B=20h=3D2RoD1c0r/wUQSJGoxCviAgiR1+k=3D; b=CV14J3+wBzOvIefkVR9BeD789NitTNI8cHdxetWE5ug9CA0zdDkv3IsIhBwMvQrjEEVcZTM9 hdne4Lr0uL0rLOHFdoshNPxSJ32fdmhFijEzS/4ovKO3g6rZuRxwpPCP;
- In-reply-to: <454D1F4E.2040705@xxxxxxxxxxxxx>
- Keywords: direct-to-dwing
- List-archive: <http://www.imc.org/ietf-rtpsec/mail-archive/>
- List-id: <ietf-rtpsec.imc.org>
- List-unsubscribe: <mailto:ietf-rtpsec-request@imc.org?body=unsubscribe>
- Sender: owner-ietf-rtpsec@xxxxxxxxxxxx
- Thread-index: AccAZ0ahFMgvmjilQya4aCvGuPDX/ACX33Ig
Joerg Ott wrote:
> > There's an SDP parser (and application) that understands
> > and handles RFC 3388?
> > 1/2 :-) Seriously, I'm sure there are some, and I'm also
> > pretty darn certain
> > they're rare. I'd love it if I was wrong.
>
> :-)
>
> (acutally, I think this is the right starting point)
>
> Well, looking at what we currently have, let me try some
> constructive discussion here (yes, we have a potential issue
> here in terms of inconsistency; but, hey, we have had those
> before and I believe they are much more "potential" than many
> others).
...
> So, we have 9 permutations of who can call whom
...
> 3. UA_G -> UA_P: If UA_G includes a grouped description
> UA_P will not understand it and interpret the m=
> lines independently. This is plain RFC 3388 without
> any overloading of any sort. Since UA_P does not
> understand the secure alternative, it will simply
> reject it.
Agreed.
But this does require obtaining a UDP port for every RTP profile in the
offer, which adds to ICE processing and adds another NAT pinhole for every
RTP profile that is negotiated. I don't know how grouping would work with
ICE's current architecture.
We need the ability to select RTP profiles independant of selecting
transport address.
> UA_G -> UA_S: In this case, UA_S may get confused
> because it receives a secure and an insecure m= description
> (not using the same port number because UA_G will be aware
> and not do this).
>
> If UA_S accepts both (would probably be the first IP phone
> to accept two audio streams at least I have seen),
The problem is more nuanced if an offerer wants best-effort SRTP. Near as I
can tell, RFC3388 implies that the offerer's first grouped media line is the
offerer's most-preferred media line in that group (but I can't see where it
outright states this (*)).
Let's assume that we required SAVP-capable endpoints to support RFC3388bis
(as you described later; see below). An offerer that wants best-effort SRTP
is still in a dilemma: should SAVP or AVP appear first in the SDP? In
order to get SRTP with an SRTP-capable UA_G, the offerer needs to place SAVP
first; but in order to get RTP with a UA_P, the offerer will place AVP
first.
(*) The identification-tag might be able to express this in
RFC3388bis; in RFC3388, however, the value of the
identification-tag appears to only provide a label. I
don't find text in RFC3388 that says that a media
stream with "1" is more-preferred than a media stream
with "2". RFC3388bis could fix this.
...
> I hope I did not miss too much but I guess you will tell me :-)
> It's only meant as a starting point to get some systematic
> approach into the whole discussion.
Thanks for the detailed email. It helped me grasp the situation.
I sincerely believe we need the ability to use the same transport address
for different RTP profiles. To do this with grouping, we would have to
revise RFC3388 to allow port overloading; let's call that RFC3388bis, whose
only change would be to eliminate RFC3388's prohibition of port overloading.
If we created RFC3388bis, we could mandate that RFC3388bis be used to
negotiate RTP profiles. But that still won't get non-RFC3388bis-aware
endpoints to know what they're supposed to do when they see port-overloaded
media lines. I suppose we could declare them to be broken. But that's a
lot of endpoints.
-d