Re: [rtcweb] Basic scenario 'impossible?' to achieve with the actual API

Iñaki Baz Castillo <ibc@aliax.net> Wed, 03 July 2013 08:59 UTC

Return-Path: <ibc@aliax.net>
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 DF19621F8831 for <rtcweb@ietfa.amsl.com>; Wed, 3 Jul 2013 01:59:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.631
X-Spam-Level:
X-Spam-Status: No, score=-2.631 tagged_above=-999 required=5 tests=[AWL=0.046, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 ISdad1bb728X for <rtcweb@ietfa.amsl.com>; Wed, 3 Jul 2013 01:59:12 -0700 (PDT)
Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by ietfa.amsl.com (Postfix) with ESMTP id BF6D621F9CD1 for <rtcweb@ietf.org>; Wed, 3 Jul 2013 01:59:12 -0700 (PDT)
Received: by mail-pb0-f52.google.com with SMTP id xa12so7099176pbc.11 for <rtcweb@ietf.org>; Wed, 03 Jul 2013 01:59:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=CdwEPd8cm6KPX7PH6mhdoAjRSHdxsoBk7F9kx/r6Cf0=; b=b7As9J1XwZYpKa8crwHfHjgpoIgfp+yjkopXOGGoUldu/dvV0fA7lt8B9ffmAD32zl a9pruGmpSbOiRfoPB2zRjxD61SsCRY+nXOqmxZfUNtnH4RbrgHD6pO+rJPU8VtrAtvqW I0G6yghmC9/mOXx+hEiS1VLJx2CMJRCsKeGnhuLldnUnm8JMLdznoEmRLnKC2QrzYp9Y yDO4wcsz5K7EKNlLTeJPaFskFxrDULD9Fclt0vu0rqoVqHqX9RHcGWC+XRB61mNdBZJH L/IEr/15xneUKzGbUsvFEbwiV0ZmSUqm5IDz647dNOkGejW8rln2C9ec+Y0qznnfNzuC JzqQ==
X-Received: by 10.66.173.201 with SMTP id bm9mr1532459pac.27.1372841952319; Wed, 03 Jul 2013 01:59:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.70.74.6 with HTTP; Wed, 3 Jul 2013 01:58:52 -0700 (PDT)
In-Reply-To: <1447FA0C20ED5147A1AA0EF02890A64B1C30A16F@ESESSMB209.ericsson.se>
References: <CABw3bnOp1jY6-ziR-PFG4-fRTT5zQ5ebQkmp5PhzeS1ew=h98g@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C30A16F@ESESSMB209.ericsson.se>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Wed, 03 Jul 2013 10:58:52 +0200
Message-ID: <CALiegf=_8=ZvBC2RkCs8+n0xvLjC_e_rq8vjWzZ4vJw119+oiw@mail.gmail.com>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmodos/KtJXUmAx/c8uZY6Y8VaUP5CS1nth98vI6f++4l5IN2XzU4pHysZn/I4qFrPU9HRh
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Basic scenario 'impossible?' to achieve with the actual API
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: Wed, 03 Jul 2013 08:59:18 -0000

2013/7/3 Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>:
> One way in this specific case could be that Bob's application (since Bob
> does not want to see Alice) simply does not show the video. Bob's
> application could in addition signal this to Alice's application (in
> some app proprietary way) and Alice's app could remove the video stream
> (or track) from PeerConnection to save bandwidth and processing.

Let me understand it:

So we are forced to use SDP in any WebRTC application but we cannot
use SDP for common features (i.e. detecting that the remote peer has
rejected our new offered stream/track). Thus regardless we use SDP we
cannot do SIP, right? and instead we must use a proprietary signaling
mechanism for those so common features already present in SIP and SDP,
right?

So live with SDP but don't use SDP, am I wrong?

So be free to implement any custom signaling protocol (proprietary
protocol) but not a standard like SIP since SIP's SDP usage cannot be
implemented in WebRTC, right?

Opss, I forgot, I can parse my new generated SDP at JS level (the SDP
with my new video stream/track offer) and then also parse the received
SDP, and detect wheter there is "a=inactive" or "m" line with port 0
to detect that the remote has rejected my stream. Am I really right?

Regards.


--
Iñaki Baz Castillo
<ibc@aliax.net>