Re: [rtcweb] how to control which track plays in a video tag

Ami Fischman <fischman@google.com> Wed, 18 September 2013 16:53 UTC

Return-Path: <fischman@google.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 AEC6211E8228 for <rtcweb@ietfa.amsl.com>; Wed, 18 Sep 2013 09:53:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 HLgUgd5PCVXW for <rtcweb@ietfa.amsl.com>; Wed, 18 Sep 2013 09:53:36 -0700 (PDT)
Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 8717811E8241 for <rtcweb@ietf.org>; Wed, 18 Sep 2013 09:53:35 -0700 (PDT)
Received: by mail-wg0-f43.google.com with SMTP id z12so6888671wgg.22 for <rtcweb@ietf.org>; Wed, 18 Sep 2013 09:53:34 -0700 (PDT)
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; bh=tIBAlGcoRJjaGPE/3rwZ2KfrY0d9DKAGsfa8YG6o9Vw=; b=Skgm04sEoKll7HssAy+XzKVKSAqeE83dlBcLEYqNLDO34U7p7TrU4bMZNnUjzawWXj iHfaqSgCbGFCjmZZ6hWhENq1LdGHA1HBMEuaoON2kbaBZYWXTPBe8wr4bZsGOLjNlm3i arOD8TSKoTpxRME48jeBR3tv8L1EFqbO+FcKbdIaxd8tyBJnUzMhO0/ckPpYZyW84x73 bIPlUzSdxmno2hjA5rZNymyF2JYJB7RyMTcxnlt7HTsVIjuzIcItsMAoMo/LtGdY52y1 iBkfHnKGVuXarAf0S0fXkpCPVKaHSAetHkJ3wA6M/W3GAxOFXYVUPSolIRbBPqjra8+W bldw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tIBAlGcoRJjaGPE/3rwZ2KfrY0d9DKAGsfa8YG6o9Vw=; b=T/9R8j8ZFu+6xEkIjYImUTuiSIeg4/wqvgk/cbdUgoNM1cPhCOAuX1XFPzN/m5HpG8 iNswmUW8zQzpopE3U7aG/eHPSmSOqcXKJ1bDqGeMzQ6Hrhe5BtsS88CsBeJKx7xDgeAQ 0SEeB5U/LLRHFTh6l1mw9JhreRVl5zTsfXzzJsAtlv3KqeVdgdk2GeCSnPUm5K3E3dAD Hs7Lb6jl2YjLj7w+EQvTvISaTW/uKSN5yEDfeqfVU1EQ7WDTwPiiFsGtB1hGXJ1cHDYC LfOWLWUUiX7x397Q5wWdT6MvrRLRm98WktvGJAwCutE+NFkVjDm2KZj13KdXx/esZ+YA LxZw==
X-Gm-Message-State: ALoCoQn7v6XUrW5Hr3kOkISR6XzBomvW96/kmKeNoprk7dBfmYZSvYy8pDOpNFDDL7Lp5b4shRxN3+eKwBI28rOC1w3oZIDxhdGpFekHzOveihVFy+y/CLfqi1lpZVNiyFV+dSUXFKux7SIHOCiDmHAMiCtK+k1NSMi5m1s+Moc2FqXBOAQVfX6wQMcR74iKgGb8c27bF2dn
MIME-Version: 1.0
X-Received: by 10.180.206.244 with SMTP id lr20mr7844209wic.45.1379523214528; Wed, 18 Sep 2013 09:53:34 -0700 (PDT)
Received: by 10.194.86.68 with HTTP; Wed, 18 Sep 2013 09:53:34 -0700 (PDT)
In-Reply-To: <C5E08FE080ACFD4DAE31E4BDBF944EB1166B9A34@xmb-aln-x02.cisco.com>
References: <C5E08FE080ACFD4DAE31E4BDBF944EB1166B9A34@xmb-aln-x02.cisco.com>
Date: Wed, 18 Sep 2013 09:53:34 -0700
Message-ID: <CAHuR8a937HZxRYuNgTvHYNVeEXtbTRn_i7wrE6oE_+EXY0jFyQ@mail.gmail.com>
From: Ami Fischman <fischman@google.com>
To: "Cullen Jennings (fluffy)" <fluffy@cisco.com>
Content-Type: multipart/alternative; boundary="001a11c381222964dc04e6ab477f"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] how to control which track plays in a video tag
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, 18 Sep 2013 16:53:36 -0000

On Wed, Sep 18, 2013 at 9:01 AM, Cullen Jennings (fluffy)
<fluffy@cisco.com>wrote:
>
> The issue got raised if there is multiple video tracks in a media stream,
> how do you control which video track gets played in a video stream
>

Set the selected<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-videotrack-selected>attribute
on a
VideoTrack<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#audiotracklist-and-videotracklist-objects>from
HTMLMediaElement.videoTracks<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#media-resources-with-multiple-media-tracks>
?
(though I don't know that it's implemented in any shipping browser today;
e.g. crbug.com/249427)

Cheers,
-a