Re: [rtcweb] Separating stream manipulation from the SDP loudness (Re: Proposed Plan for Usage of SDP and RTP)

Suhas Nandakumar <suhasietf@gmail.com> Sun, 10 March 2013 22:59 UTC

Return-Path: <suhasietf@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 4333521F8706 for <rtcweb@ietfa.amsl.com>; Sun, 10 Mar 2013 15:59:09 -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=[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 lVpmb+ZxN5oR for <rtcweb@ietfa.amsl.com>; Sun, 10 Mar 2013 15:59:08 -0700 (PDT)
Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 2CDF121F86FB for <rtcweb@ietf.org>; Sun, 10 Mar 2013 15:59:08 -0700 (PDT)
Received: by mail-wi0-f170.google.com with SMTP id hm11so658971wib.5 for <rtcweb@ietf.org>; Sun, 10 Mar 2013 15:59:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=hLiO1aZ3pXzf87AjKHYO4DuI8xeEqhSle6dRF4Myx7o=; b=CKlfALNSUJOeyPCTTAUCmBBIsdNlxznbP/pJqPBRUfbbRLV3wj3hOrQj1QOn+VMMwp MhMvoIaeH8bkJnE1ZwPFEznHg92sqaFCfDIKEUaPxrbeuRDFq24UC694EImbbU7/rPm/ zjzJzB3G759GHJCxRFTxnZgf8iQvtmxgETFSNzBvVponePdMC/69/c2+KcaTxe6Eo96q Ag4SQI1QQQJXmuFDCRFpF1M5Vi1FjJLlay4DP+ZkMW+0rdlIBFNgW/ZnZRIwsU9dQ7sX Y3dNEWnQ1wGL/yiccYiR1P8puBS8I3jISoNBZ4u/0h/8TIHMtpxd1hH56GU6PJRoD/+x m6DA==
MIME-Version: 1.0
X-Received: by 10.180.98.232 with SMTP id el8mr9089802wib.22.1362956347347; Sun, 10 Mar 2013 15:59:07 -0700 (PDT)
Received: by 10.194.44.99 with HTTP; Sun, 10 Mar 2013 15:59:07 -0700 (PDT)
In-Reply-To: <CAHp8n2n8xMEYMLKNbRT73=SSvJ9ku8b_KKL+AqJyx9F0R8_GqQ@mail.gmail.com>
References: <CD5D3F35.B22B%robin@hookflash.com> <B9549E2E-6E68-4F34-A9C0-1F050285A70A@acmepacket.com> <CABkgnnXCio-Dw7dN5yfSjeRf3wG2oWow_M2mU-Y49TedSAPQmg@mail.gmail.com> <CAHBDyN6CFTix3W9qWgC1T0O36t4SajL3hMXaHOdkat-p5TY_xA@mail.gmail.com> <CABcZeBMLdEkFZq5rMOY0texKb4DtFQ-O86JkC17kJihxv6Dj8w@mail.gmail.com> <CAHBDyN6mM-rT315uSbeTQfKuCiVwsEDhi7Q6DEbt8pjiJ_4i6g@mail.gmail.com> <CAHp8n2nz=NZb=UaevUSS7GRSBpvn-v9_=QHz6iddnZzyx5-TSQ@mail.gmail.com> <CAJrXDUETwfY7ZvaXO_1Bq8gs8pOTgALQE8FiimrUX7sfuEpDsw@mail.gmail.com> <CAHp8n2kcEHcz11LOYYMZ3-nv2PYQKu=z6M=dsQ_H5JuR8ND7hQ@mail.gmail.com> <513B5D98.2070601@alvestrand.no> <CAHp8n2n8xMEYMLKNbRT73=SSvJ9ku8b_KKL+AqJyx9F0R8_GqQ@mail.gmail.com>
Date: Sun, 10 Mar 2013 15:59:07 -0700
Message-ID: <CAMRcRGSat2FM7KMZiJnB634zKXyM0s0uAgVeRqbBjHkFzpcBFw@mail.gmail.com>
From: Suhas Nandakumar <suhasietf@gmail.com>
To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Content-Type: multipart/alternative; boundary="f46d0442885eed9c9d04d79a00fb"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Separating stream manipulation from the SDP loudness (Re: Proposed Plan for Usage of SDP and RTP)
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, 10 Mar 2013 22:59:09 -0000

I agree .,. JS developer need not have to touch SDP unless it is required ,
which I feel might be needed for few special scenarios.
Constraints, Medie Stream Apis, media capture Apis and Peer Connection Apis
should be able to support majority of use cases without JS developer
needing to manipulate SDP directly.

2 cents

Cheers
Suhas

On Sunday, March 10, 2013, Silvia Pfeiffer wrote:

> On Sun, Mar 10, 2013 at 3:04 AM, Harald Alvestrand <harald@alvestrand.no<javascript:_e({}, 'cvml', 'harald@alvestrand.no');>
> > wrote:
>
>> As usual, I'm trying to use subject line change in order to achieve some
>> separation of concerns...
>>
>> On 03/07/2013 10:22 PM, Silvia Pfeiffer wrote:
>>
>>> Agreed, but it's also not sufficient. SDP is not "programmer friendly"
>>> enough because it has too many details that are protocol-details only and
>>> it's too hard to see the semantic bits in SDP and ignore the rest.
>>>
>>> For example: the programmer wants to say - I want to get this video
>>> resolution, this audio bitrate & channels, I want to use this camera and
>>> this microphone for this call. Having to manipulate SDP directly for this
>>> is a programmer's nightmare.
>>>
>>
>> I think we've been over exactly those pieces, and our current proposed
>> solution is called the Media Stream API and the constraints mechanism - and
>> they have exactly nothing to do with SDP, or even with PeerConnection.
>>
>> I don't think we've got it to be "unproblematic" yet, but also, I don't
>> think SDP, JSON or even the offer-answer model is either the problem or the
>> solution on this set of functionalities.
>>
>
> TBH I just hadn't seen
> https://dvcs.w3.org/hg/dap/raw-file/tip/media-stream-capture/proposals/SettingsAPI_proposal_v6.html. Is it implemented anywhere yet?
>
> Now that I've looked at it, I wonder how that interacts with the SDP
> created through createOffer(). If indeed the JS programmer never has to
> touch the SDP, I don't see a need to expose it in the API at all, i.e.
> setLocalDescription() should not be necessary.
>
> Silvia.
>
>