Re: [rtcweb] Payload Types assignments was Re: SV: [mmusic] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11

Ted Hardie <ted.ietf@gmail.com> Thu, 10 October 2013 16:30 UTC

Return-Path: <ted.ietf@gmail.com>
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 DCB1C21E8117 for <rtcweb@ietfa.amsl.com>; Thu, 10 Oct 2013 09:30:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 O7dGAZJMk3j1 for <rtcweb@ietfa.amsl.com>; Thu, 10 Oct 2013 09:30:53 -0700 (PDT)
Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id C5E0F21E8090 for <rtcweb@ietf.org>; Thu, 10 Oct 2013 09:30:53 -0700 (PDT)
Received: by mail-ie0-f172.google.com with SMTP id x13so5735925ief.17 for <rtcweb@ietf.org>; Thu, 10 Oct 2013 09:30:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1aQiclDb7yKo3n5WxJD4uZL1hDIMZVfrBNC7+wUSsDo=; b=l9z5KEvfnIiej3/0QLqOlnF0sOcHfC+1cH1MmGCaJ3zhPBeTwFQchf99PUqaDt+Y6B aOIO5jlHzcyAsFNNuhYvthjTofxo7mRhT+k+Kmz7Ycrk0njxB3LytPmgaTo4DvZUoCwr //kGTSjzEwmL6US4FVLDS2kePs7rgDeiZy/TXtFPv2qNIqxgQpLw6FBL7vwgmh/c4Jha VcHWKcyH+kL7S9kCoPasB55ctUyCtV7VSFfjfRobz5BGsDohYccAUdXqoGElr0TlMXZN 9s3zuI+emhX9ptL9iwFZxJXpT18/HdkshEXY+NDUL40VgU+STiWFE7wgQKR3LnQXtkoa 0Wyg==
MIME-Version: 1.0
X-Received: by 10.50.9.72 with SMTP id x8mr7205239iga.19.1381422653124; Thu, 10 Oct 2013 09:30:53 -0700 (PDT)
Received: by 10.42.29.202 with HTTP; Thu, 10 Oct 2013 09:30:53 -0700 (PDT)
In-Reply-To: <AAE428925197FE46A5F94ED6643478FEAD1BDC6F0B@HE111644.EMEA1.CDS.T-INTERNAL.COM>
References: <C5E08FE080ACFD4DAE31E4BDBF944EB11667BBA0@xmb-aln-x02.cisco.com> <5238446D.8050700@ericsson.com> <9F33F40F6F2CD847824537F3C4E37DDF17BCF581@MCHP04MSX.global-ad.net> <524AB730.7040809@ericsson.com> <525272E8.5050300@ericsson.com> <5253E5EB.8030608@alvestrand.no> <AAE428925197FE46A5F94ED6643478FEAD1BDC6F0B@HE111644.EMEA1.CDS.T-INTERNAL.COM>
Date: Thu, 10 Oct 2013 09:30:53 -0700
Message-ID: <CA+9kkMDo2zu12qLfEeSC2YFaEeK-LbZ4JTDJiG8zfktBb-iB2A@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: BeckW@telekom.de
Content-Type: multipart/alternative; boundary="001a11c2fdc4863c1704e865861c"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Payload Types assignments was Re: SV: [mmusic] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11
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: Thu, 10 Oct 2013 16:30:55 -0000

On Thu, Oct 10, 2013 at 8:02 AM, <BeckW@telekom.de> wrote:

> The basic question seems to be: how can the web server or JS client learn
> about local policy enforcement elements in the user's network and access
> them to allocate bandwidth, setup priorisation etc?
>
>
So, I'm a little confused about why that is the basic question.  If the
prioritization is done by something like a diffserv code point, it seems
like the question is how the flow signals its classification, rather than
to whom it signals that .  I would presume that the networks which honor
such markings would be constructed such that some conversant network
element is on path.  What it is and where it is kind of aren't the JS app
or browser's issue.

What am I missing?

Ted



> The ALTO WG had a very similar problem and proposed DHCP after DNS experts
> dismissed a discovery mechanism based on reverse DNS lookups.
>
> The classical solution: avoid the problem by having a webrtc server in
> your local network which does policy enforcement/QoS priorisation etc, and
> interconnects to some other webrtc server with a standardized protocol like
> SIP or XMPP. Popular in RTCWEB, less popular elsewhere..
>
> The DHCP way: let the browser learn about the policy enforcement elements
> through DHCP, it may communicate them to the server. This has some
> problems. There are no widely adopted DHCP APIs, and the policy enforcement
> elements may be unwilling to let some random web server access them.
>
> DNS magic: derive the address of your local policy enforcement element by
> manipulating the result of a reverse DNS lookup of the global IP address.
>
> Manual configuration: Solves only the problem of missing DHCP APIs and
> introduces the usability nightmare we know too well from SIP clients.
>
> 3rd party auth: the user authenticates with a local idP, which not only
> carries the user's name but also the local policy enforcement urls as
> attributes. A web server can use the 3rd party auth token to access the
> local network elements. Haven't thought this through yet.
>
>
> Wolfgang Beck
>
> -----Ursprüngliche Nachricht-----
> Von: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] Im Auftrag
> von Harald Alvestrand
> Gesendet: Dienstag, 8. Oktober 2013 13:01
> An: rtcweb@ietf.org
> Betreff: Re: [rtcweb] Payload Types assignments was Re: SV: [mmusic] WGLC
> of draft-ietf-rtcweb-use-cases-and-requirements-11
>
> On 10/08/2013 09:17 AM, Karl Stahl wrote:
> > Hej Magnus,
> >
> >> Also, are you really interested in knowing that it is VP9 vs H.264,
> >> isn't
> > the questions this is video of this priority that is important?
> >> I think you need to more carefully consider what are the goals you
> >> try to
> > achieve them.
> >
> > Actually, my concern is to get an idea of the maximum bandwidth that
> > could be required for a WebRTC (ICE) setup media flow. Both voice and
> > video should be prioritized over data (their individual priority is of
> > less importance as long as there is sufficient bandwidth for both).
>
> You don't know that without knowing what the application is for.
> In, for instance, a shooter game with voice backchannels, the movement and
> event information (data) is MORE time sensitive than the voice data.
>
> >
> > With diffserv you don't need to know the bandwidth requirement, but
> > with RSVP reservation (like in cable and mobile networks) you need to
> > know how much to reserve. Voice is like 100's kbit/s, video VP8 or
> > H.264 is like 3,5 mbps.
>
> Again, without knowing the application, you don't know that.
> The application could decide to use QCIF or HD, and the bandwidth
> variation of screencast (semi-static with sudden, large changes) is
> completely different from that of a talking head, which is again completely
> different from a high-movement scene.
>
> >
> > To add to the complication of codec variants, the video codecs in
> > question for WebRTC have variable bandwidth, and when there is a poor
> > connection we see Chrome reducing the video window size to reduce the
> bandwidth used...
> >
> > I think the payload type field at best can reflect a maximum bandwidth
> > to initially reserve bandwidth for, and thereafter make new
> > reservations if the bandwidth changes during the call. So could we
> > change RTP to show maximum bandwidth instead of payload type in that
> > field outside the encrypted payload :) ... Or maybe that is not a joke?
>
> I think these ruminations only lead to one conclusion:
>
> You can't tell what the needed bandwidth is up front without asking the
> application.
> You can't tell what the right priority ranking is without asking the
> application.
>
> If you need to know the bandwidth or the priority up front, the
> application has to tell you. Anything else is pure heuristics.
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>