Re: [rtcweb] More Comments on draft-ietf-rtcweb-use-cases-and-requirements-07

"Hutton, Andrew" <andrew.hutton@siemens-enterprise.com> Thu, 14 June 2012 09:15 UTC

Return-Path: <andrew.hutton@siemens-enterprise.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 B1DE021F8679 for <rtcweb@ietfa.amsl.com>; Thu, 14 Jun 2012 02:15:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_41=0.6]
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 iHE+vluBn4Wg for <rtcweb@ietfa.amsl.com>; Thu, 14 Jun 2012 02:15:18 -0700 (PDT)
Received: from senmx12-mx.siemens-enterprise.com (senmx12-mx.siemens-enterprise.com [62.134.46.10]) by ietfa.amsl.com (Postfix) with ESMTP id 518F421F866D for <rtcweb@ietf.org>; Thu, 14 Jun 2012 02:15:14 -0700 (PDT)
Received: from MCHP02HTC.global-ad.net (unknown [172.29.42.235]) by senmx12-mx.siemens-enterprise.com (Server) with ESMTP id 58A8423F05CC; Thu, 14 Jun 2012 11:15:13 +0200 (CEST)
Received: from MCHP04MSX.global-ad.net ([169.254.1.34]) by MCHP02HTC.global-ad.net ([172.29.42.235]) with mapi id 14.01.0339.001; Thu, 14 Jun 2012 11:15:13 +0200
From: "Hutton, Andrew" <andrew.hutton@siemens-enterprise.com>
To: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] More Comments on draft-ietf-rtcweb-use-cases-and-requirements-07
Thread-Index: AQHNSWmbwzWI1XkOqEqOJplhksUi75b5fbVw
Date: Thu, 14 Jun 2012 09:15:12 +0000
Message-ID: <9F33F40F6F2CD847824537F3C4E37DDF02594D@MCHP04MSX.global-ad.net>
References: <5A2F246E-9D77-4B72-B3F1-681B00FA99FD@cisco.com> <F3D4ABD6AB47084B84337CF4F3446A464B2F11B52E@ESESSCMS0362.eemea.ericsson.se> <AAB6A6B6-BEC7-436C-B1EB-2C117596C7C6@cisco.com> <F3D4ABD6AB47084B84337CF4F3446A464B2F2631AC@ESESSCMS0362.eemea.ericsson.se> <9F33F40F6F2CD847824537F3C4E37DDF021B53@MCHP04MSX.global-ad.net> <CA+9kkMCL1k3x2hYi632nDU2g6CtOq3O7risDi38+7FTeWkxcGA@mail.gmail.com> <9F33F40F6F2CD847824537F3C4E37DDF0223ED@MCHP04MSX.global-ad.net> <4FD89773.3090506@ericsson.com>
In-Reply-To: <4FD89773.3090506@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.27.249.76]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [rtcweb] More Comments on draft-ietf-rtcweb-use-cases-and-requirements-07
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, 14 Jun 2012 09:15:18 -0000

On 13 June 2012 15:37 Stefan Hakansson wrote:

> 
> This is my personal understanding:
> 
> - the API (and this part has been there for a long time) allows the
> application to disable/enable individual tracks of MediaStreams
> - So say you have a MediaStream (one audio track, one video track in
> this example) that is rendered using a video element; disabling audio
> would lead to silence, disabling video to that the video stops
> - The question is: what should happen if the MediaStream is connected
> to
> a PeerConnection and sent to a peer?
> - using recvonly does not seem appropriate as that would stop all
> ssrc:s
> belonging to the same m-line - and the app only disabled one
> - one option could be to simply stop sending the RTP packets for this
> track. I don't know how reliable that would be.

In the case of outgoing media then I think mute should simply disconnect the source (e.g. microphone) and there is no impact on RTP other than depending on the codec silence will be transmitted or SID frame etc. There is also no impact on RTCP which continues.

This is different to setting the direction to be recvonly which would completely stop the outgoing RTP packets and would normally be signaled to the remote party. This should of course be achieved using setLocalDescription.


> - I think there has been proposals signaling this in SDP or in RTCP,
> but
> I don't think there was ever any conclusion

If we are talking about a local mute then I don't see any need to signal this but again this is different to changing the direction attribute in SDP.

> 
> For the other part, muting incoming media, this is simple: the app (at
> receiving browser) could just disable the tracks it wants in the
> incoming MediaStreams. A related question is if this should be signaled
> back to the sender (so it could stop sending). This is essentially a
> question of efficiency/optimization, and nothing stops the app from
> signaling that now using an app specific protocol (perhaps carried over
> the data channel), but perhaps this should be brought into SDP or RTCP.
> 

If the application wants to ask the remote party to pause sending of RTP then it should surely do this in SDP by setting the direction attribute appropriately (i.e. sendonly or inactive).

Regards
Andy