Re: [rtcweb] Proposal for a JS API for NoPlan (adding multiple sources without encoding them in SDP)

Robin Raymond <robin@hookflash.com> Sun, 30 June 2013 03:28 UTC

Return-Path: <robin@hookflash.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 EFFA421F8FF8 for <rtcweb@ietfa.amsl.com>; Sat, 29 Jun 2013 20:28:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.198
X-Spam-Level:
X-Spam-Status: No, score=-1.198 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_111=0.6, J_CHICKENPOX_12=0.6, J_CHICKENPOX_15=0.6, J_CHICKENPOX_18=0.6, 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 w+vlfX5xJfRR for <rtcweb@ietfa.amsl.com>; Sat, 29 Jun 2013 20:28:28 -0700 (PDT)
Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) by ietfa.amsl.com (Postfix) with ESMTP id 6A54E21F8C38 for <rtcweb@ietf.org>; Sat, 29 Jun 2013 20:28:28 -0700 (PDT)
Received: by mail-ie0-f178.google.com with SMTP id u16so7142581iet.9 for <rtcweb@ietf.org>; Sat, 29 Jun 2013 20:28:28 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:x-gm-message-state; bh=8s1bok0erTqtx0O65IP/g9yhXJ2QlY3I4DC1BzyprkM=; b=me30zEoG3OTlKXVAxbH2/SY5mLAFmgMh+XMlFwFn2VWpZDPsOiZX+Asi2Mg3lhJdJf enFg4r4lYBwN5300doAuyRSwVfQlnKllrzZgnaj3455X7r86XiYhSq2SZUtu1w28Uwgf ZxyUsbYzIrVtCygU5mrjlwSOlDFYVaSPOzB/RWdeNZaZpNEbvIn7qCR0lMqpMGTVxQp3 h1Agjso5UoXfvMf9FlvftHqCwchC5CDKz6qKO4b+oZGE7ASU8Dg3sUzlunqIrOpXeTTJ Coh3ZLIr57TX6UVR2lQS5CJme+oIKLSWu1ZHKN49X9F2St0ognSLRpjLNmMqoZaSEF4t HkTQ==
X-Received: by 10.50.8.10 with SMTP id n10mr10328437iga.20.1372562907897; Sat, 29 Jun 2013 20:28:27 -0700 (PDT)
Received: from Robins-MacBook-Pro.local (CPE602ad08742f7-CM602ad08742f4.cpe.net.cable.rogers.com. [99.224.116.224]) by mx.google.com with ESMTPSA id p6sm6687161iga.10.2013.06.29.20.28.24 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 29 Jun 2013 20:28:26 -0700 (PDT)
Message-ID: <51CFA5D6.201@hookflash.com>
Date: Sat, 29 Jun 2013 23:28:22 -0400
From: Robin Raymond <robin@hookflash.com>
User-Agent: Postbox 3.0.8 (Macintosh/20130427)
MIME-Version: 1.0
To: "Cullen Jennings (fluffy)" <fluffy@cisco.com>
References: <CAJrXDUHdoxLTsofiwLBdwBNnCCkCBgjSdbmLaXrNEPODMrsSVA@mail.gmail.com> <CAHp8n2m4VwkpbdGE+q73qqij5RDCB4Vb-Ui1LmGSx1zmv8TX2g@mail.gmail.com> <C5E08FE080ACFD4DAE31E4BDBF944EB1135B686C@xmb-aln-x02.cisco.com> <CALiegf=YjQoAen+u-7wZbxK-r=0ChqdtQCJo58aJJvoBPQ5ZXQ@mail.gmail.com> <C5E08FE080ACFD4DAE31E4BDBF944EB1135B7AEE@xmb-aln-x02.cisco.com>
In-Reply-To: <C5E08FE080ACFD4DAE31E4BDBF944EB1135B7AEE@xmb-aln-x02.cisco.com>
Content-Type: multipart/alternative; boundary="------------020001030303080200000705"
X-Gm-Message-State: ALoCoQkty0EZTjOLpkKFREpG0XOkSP2fn2Dp4g46z8St8jqRkOeVRSJ8jFg06B1M7ibX0Hk4JvvC
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Proposal for a JS API for NoPlan (adding multiple sources without encoding them in SDP)
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, 30 Jun 2013 03:28:33 -0000

You mean this HTML 5 video tag, right? This one:

<video  poster="movie.jpg"  controls>
         <source  src="movie.webm"  type='video/webm; codecs="vp8.0, vorbis"'/>
         <source  src="movie.ogg"  type='video/ogg; codecs="theora, vorbis"'/>
         <source  src="movie.mp4"  type='video/mp4; codecs="avc1.4D401E, mp4a.40.2"'/>
         <p>This is fallback content</p>
</video>



Versus this SDP blob that many of us must parse/mangle/generate from our 
code if we want to go beyond a basic demo:

v=0
o=- 3572342242 3 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio data
a=msid-semantic: WMS
m=audio 54680 RTP/SAVPF 111 103 104 0 8 107 106 105 13 126
c=IN IP4 97.213.43.112
a=rtcp:54680 IN IP4 97.213.43.112
a=candidate:4099047770 1 udp 2113937151 192.168.17.159 54680 typ host 
generation 0
a=candidate:4099047770 2 udp 2113937151 192.168.17.159 54680 typ host 
generation 0
a=candidate:1965854185 1 udp 2113937151 192.168.17.214 57626 typ host 
generation 0
a=candidate:1965854185 2 udp 2113937151 192.168.17.214 57626 typ host 
generation 0
a=candidate:954187465 1 udp 1845501695 97.213.43.112 54680 typ srflx 
raddr 192.168.17.159 rport 54680 generation 0
a=candidate:954187465 2 udp 1845501695 97.213.43.112 54680 typ srflx 
raddr 192.168.17.159 rport 54680 generation 0
a=candidate:3114381946 1 udp 1845501695 97.213.43.112 57626 typ srflx 
raddr 192.168.17.214 rport 57626 generation 0
a=candidate:3114381946 2 udp 1845501695 97.213.43.112 57626 typ srflx 
raddr 192.168.17.214 rport 57626 generation 0
a=candidate:3134291370 1 tcp 1509957375 192.168.17.159 49802 typ host 
generation 0
a=candidate:3134291370 2 tcp 1509957375 192.168.17.159 49802 typ host 
generation 0
a=candidate:1001353497 1 tcp 1509957375 192.168.17.214 49803 typ host 
generation 0
a=candidate:1001353497 2 tcp 1509957375 192.168.17.214 49803 typ host 
generation 0
a=ice-ufrag:zFLN0q7y22aeZBhg
a=ice-pwd:KGoEmNSd9a5eRgSa9Whh7qaS
a=ice-options:google-ice
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=recvonly
a=mid:audio
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 
inline:9aibUYmy/+AhPzg3nsbrKO7YFLBs0ekn0h8hTFID
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:107 CN/48000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
m=application 54680 RTP/SAVPF 101
c=IN IP4 97.213.43.112
a=rtcp:54680 IN IP4 97.213.43.112
a=candidate:4099047770 1 udp 2113937151 192.168.17.159 54680 typ host 
generation 0
a=candidate:4099047770 2 udp 2113937151 192.168.17.159 54680 typ host 
generation 0
a=candidate:1965854185 1 udp 2113937151 192.168.17.214 57626 typ host 
generation 0
a=candidate:1965854185 2 udp 2113937151 192.168.17.214 57626 typ host 
generation 0
a=candidate:954187465 1 udp 1845501695 97.213.43.112 54680 typ srflx 
raddr 192.168.17.159 rport 54680 generation 0
a=candidate:954187465 2 udp 1845501695 97.213.43.112 54680 typ srflx 
raddr 192.168.17.159 rport 54680 generation 0
a=candidate:3114381946 1 udp 1845501695 97.213.43.112 57626 typ srflx 
raddr 192.168.17.214 rport 57626 generation 0
a=candidate:3114381946 2 udp 1845501695 97.213.43.112 57626 typ srflx 
raddr 192.168.17.214 rport 57626 generation 0
a=candidate:3134291370 1 tcp 1509957375 192.168.17.159 49802 typ host 
generation 0
a=candidate:3134291370 2 tcp 1509957375 192.168.17.159 49802 typ host 
generation 0
a=candidate:1001353497 1 tcp 1509957375 192.168.17.214 49803 typ host 
generation 0
a=candidate:1001353497 2 tcp 1509957375 192.168.17.214 49803 typ host 
generation 0
a=ice-ufrag:zFLN0q7y22aeZBhg
a=ice-pwd:KGoEmNSd9a5eRgSa9Whh7qaS
a=ice-options:google-ice
a=sendrecv
a=mid:data
b=AS:30
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 
inline:9aibUYmy/+AhPzg3nsbrKO7YFLBs0ekn0h8hTFID
a=rtpmap:101 google-data/90000
a=ssrc:2838167882 cname:X00v2LuQqKzLnkBs
a=ssrc:2838167882 msid:messaging messaging
a=ssrc:2838167882 mslabel:messaging
a=ssrc:2838167882 label:messaging


Please clarify if I misunderstand you.

-Robin


> Cullen Jennings (fluffy) <mailto:fluffy@cisco.com>
> 29 June, 2013 5:10 PM
> On Jun 28, 2013, at 11:23 PM, Iñaki Baz Castillo <ibc@aliax.net>
>
> Uh, the video tag seems pretty popular...
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
> Iñaki Baz Castillo <mailto:ibc@aliax.net>
> 29 June, 2013 2:23 AM
>
> Cullen, do you think that W3C would ever design a JS API that forces 
> the developer to deal with an unmanageable blob string? Can somebody 
> point me to an existing similar "API" in HTML5?
>
> The problem is that telcos are much more used to IETF processes than 
> Web people and hence this WG is dominated by telcos proposing their 
> first API for the W3C, an API to satisfy their existing business model 
> (the webphone).
>
> It is time to leave Web experts to design a really useful API for WebRTC.
>
> --
> Iñaki Baz Castillo
> <ibc@aliax.net <mailto:ibc@aliax.net>>
>
>