Re: [MMUSIC] Application to Network Communication

"Pal Martinsen (palmarti)" <> Fri, 28 June 2013 07:13 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 35FC921F9DB9 for <>; Fri, 28 Jun 2013 00:13:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -6.76
X-Spam-Status: No, score=-6.76 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id XCn4Le7T2JVQ for <>; Fri, 28 Jun 2013 00:13:28 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id A6B8A21F9D91 for <>; Fri, 28 Jun 2013 00:13:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=4636; q=dns/txt; s=iport; t=1372403606; x=1373613206; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=KXOnw9RLfh31cexi3wroqZ11w1EdxUTlPGBkzXsrOTo=; b=dNlYSUPUA/ShCqiDuBsooRdzQovoPEovj/Spa29/DMQqLnSge8zr7gDg moFBIyoEyb2V08Oxfjz1ZWRxdiXoq8gFv4YqsVogFK9Q8nS1Zab1fxpIg 9IvOXaNbzPUF2+IFJ5u74tgKAU8g2xwN1ffl0zARaN6CQ7Tl7dkS0xAEC 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="4.87,957,1363132800"; d="scan'208";a="228486292"
Received: from ([]) by with ESMTP; 28 Jun 2013 07:13:26 +0000
Received: from ( []) by (8.14.5/8.14.5) with ESMTP id r5S7DQCn022304 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 28 Jun 2013 07:13:26 GMT
Received: from ([]) by ([]) with mapi id 14.02.0318.004; Fri, 28 Jun 2013 02:13:25 -0500
From: "Pal Martinsen (palmarti)" <>
To: Christer Holmberg <>
Thread-Topic: Application to Network Communication
Thread-Index: AQHOcxFK/cjz0kpmD0WIIaQKdosnb5lJTrRAgAG89AA=
Date: Fri, 28 Jun 2013 07:13:25 +0000
Message-ID: <>
References: <> <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: mmusic <>
Subject: Re: [MMUSIC] Application to Network Communication
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 28 Jun 2013 07:13:39 -0000

On Jun 27, 2013, at 11:42 AM, Christer Holmberg <> wrote:

> Hi,
> I am not really sure what you mean by "how network should treat different streams".
> What kind of network entities are you referring to, and what kind of treatment?

Routers, switches, firewalls, NATs, ALGs, SBCs, B2Bs. And a few acronyms I probably don´t know exist. In short any device in the network that rightfully or not is or inserts itself in the media path. 

The name of the draft that currently is being drafted is MALICE (Metadata Attribute signaLing with ICE). The basic idea is to signal a set of descriptive metadata attributes in some of the STUN messages that are sent when an agent does ICE. The way STUN is crafted makes it easy for network entities to distinguish the STUN metadata packets and act on the information. 

One of the short term use cases this can solve is the problem where DSCP markings can be lost when the packet crosses administrative domains. If metadata is sent in-band with STUN it can for instance describe this stream as video. If SRTP is in use it would be hard/impossible for any network entity to know that the stream is video without this in-band metadata. So if network A and B want to treat video differently by having their own DSCP markings they can now do this. 

MALICE tries to just be a framework for sending the metadata, thus enabling application to network communication. It also tries to describe how routers can add useful information to the metadata packets, and how that information can be sent back to the application without relying on address spoofing or opening up for multiplying attacks. This opens up for network to application communication. Like ECN, but more descriptive and it works on more platforms. (I am no expert n the area, but I am under the impression that it is difficult to get the complete IP header up to the application on some platforms)
This can be used in a multitude of ways; Optimising the ICE path selection based on actual network feedback, making it easier for video application to choose the correct starting bandwidth, can enable better down/and up speeding of video streams. Hopefully there are a lot of other use cases as well. 

I don´t expect this to be an easy problem to solve. So for now I think the big question is:
"Is it worthwile trying to come up with machanisms that enable better application to/from network communication?"


> Regards,
> Christer
> -----Original Message-----
> From: [] On Behalf Of Pal Martinsen (palmarti)
> Sent: 27. kesäkuuta 2013 11:36
> To: mmusic
> Subject: [MMUSIC] Application to Network Communication
> Hi All,
> We see a need for better application to network communication to convey how the network should/could treat the different streams described in the medalines of the SDP. This is especially important as video codecs have become very elastic regarding network bandwidth. It would be useful for the network to know the nature regarding the usage of the video stream. The network could treat the stream very differently whatever it is realtime video requiring low latency and high bandwidth or is it a more static presentation flow carrying a slideshow. Getting information from the network to the application can also prove to be useful.
> Todays existing solutions can be difficult to implement on some devices as the information is carried in the IP header or the markings in the packets is ignored across administrative domains. Other solution treats the network as a black box and tries to fix problems when they are discovered. Both the network and the application would benefit if information regarding things that is about to happen as opposed to just happened could be conveyed.
> We are considering extending ICE connectivity checks and keepalives (STUN) to provide this communication from the endpoint to the network and from the network to the endpoint.
> Are other folks seeing this problem as well, or are existing techniques and throwing bandwidth at the problem sufficient today and sufficient tomorrow?
> Any comments, feedback and ideas are very welcome.
> Regards
> Pål-Erik Martinsen
> _______________________________________________
> mmusic mailing list