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

José Luis Millán <jmillan@aliax.net> Tue, 02 July 2013 16:30 UTC

Return-Path: <jmillan@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 6C13421F9C3E for <rtcweb@ietfa.amsl.com>; Tue, 2 Jul 2013 09:30:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.151
X-Spam-Level:
X-Spam-Status: No, score=-2.151 tagged_above=-999 required=5 tests=[AWL=-0.075, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, 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 0ltMf2DeigMi for <rtcweb@ietfa.amsl.com>; Tue, 2 Jul 2013 09:30:17 -0700 (PDT)
Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by ietfa.amsl.com (Postfix) with ESMTP id 1F66021F92B7 for <rtcweb@ietf.org>; Tue, 2 Jul 2013 09:30:17 -0700 (PDT)
Received: by mail-ve0-f173.google.com with SMTP id jw11so5049031veb.32 for <rtcweb@ietf.org>; Tue, 02 Jul 2013 09:30:16 -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:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=P34pnMtEV/laWE3QJBsyjv0A4816jR5BwYEFlmwY26k=; b=Mu7emHChDnZgVxQyXd2IdfBb0dhEqBVF8Y2HXD4+z/OYpEw5y+ydzIgr57Je5ovd+B 6BZflstTJznGCvR1rSrTgVdPu7Lg2Qkmr8ZmSyTV2b5pKizs2BlBKplhI0joKNHAziRM MvLi1faBw9WoemEZJaSO/Mhidc6vLFhrH0qU8TT43GmboyN4ThsxnGVyI3kJ4GXyfhXL KT2pocPbP/qPvpyAbK2norAS1NUAHcWK2+8mB+jnga/l/OhcfnD+vJp0uQpmvNDcEquW r3vUnRrn73zNnUt29cbjWRvv9EpdgLjIfg6+vq92/c1oRe+gk9itqs6M01T14o44hzS4 ubGg==
MIME-Version: 1.0
X-Received: by 10.220.5.137 with SMTP id 9mr11504258vcv.58.1372782616626; Tue, 02 Jul 2013 09:30:16 -0700 (PDT)
Received: by 10.220.49.138 with HTTP; Tue, 2 Jul 2013 09:30:16 -0700 (PDT)
In-Reply-To: <51D2FC3C.8090609@telecomitalia.it>
References: <CABw3bnOp1jY6-ziR-PFG4-fRTT5zQ5ebQkmp5PhzeS1ew=h98g@mail.gmail.com> <51D2FC3C.8090609@telecomitalia.it>
Date: Tue, 02 Jul 2013 18:30:16 +0200
Message-ID: <CABw3bnPUTTknKyXvT9SE9fzn1FAiJaZdJf_Yv_3kY002jRcWUA@mail.gmail.com>
From: José Luis Millán <jmillan@aliax.net>
To: Enrico Marocco <enrico.marocco@telecomitalia.it>
Content-Type: multipart/alternative; boundary="001a11c3e45237d28104e089dcd8"
X-Gm-Message-State: ALoCoQmItDtYwnztPx9prtZfESpP7LwT5u29IcHodsOtr5vkAPFpJzV69K5AKkbHbTJcOrxR12pe
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: Tue, 02 Jul 2013 16:30:21 -0000

Thanks Enrico,

Yes, you are right. I was missing a detail.

Now imagine you are not using your own wire protocol but a standard one,
where accepting the request doesn't imply accepting or rejecting the SDP
offer, since SDP has its own methods to accept or reject the call as
commented before.

A --{"action":"CALL","sdp":"v=0..."}-> B
B --{"action":"ACCEPT CALL","sdp":"v=0..."}-> A

A --{"action":"CALL","sdp":"v=0..."}-> B
B --{"action":"ACCEPT CALL","sdp":"v=0\r\nm=video 0..."}-> A



2013/7/2 Enrico Marocco <enrico.marocco@telecomitalia.it>

> On 7/2/13 6:04 PM, José Luis Millán wrote:
> > Hi,
> >
> > Please, let me know how this normal use case could be solved with the
> > current API.
>
> Just off the top of my head:
>
> Audio-only call establishment:
>
> A --{"action":"CALL","sdp":"v=0..."}-> B
> B --{"action":"ACCEPT CALL","sdp":"v=0..."}-> A
>
> Rejected audio+video upgrade proposal:
>
> A --{"action":"UPGRADE","sdp":"v=0..."}-> B
> B --{"action":"REJECT UPGRADE"}-> A
>
> Alice rolls back and removes local video display.
>
> I may be missing something, but doesn't look like rocket science to me...
>
> Enrico
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>


-- 
José Luis Millán