W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2014

Re: <video> pause vs MediaStreamTrack.enabled

From: Justin Uberti <juberti@google.com>
Date: Mon, 28 Apr 2014 13:13:09 -0700
Message-ID: <CAOJ7v-1LL25zrg6nujuZ55MPxU-7a-mSn4hhy9x9Fs9j=n8vSg@mail.gmail.com>
To: cowwoc <cowwoc@bbs.darktech.org>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
The previous consensus was that MST.enabled = false sends silence
audio/black video. It does not stop packet transmission, although packets
are now devoid of meaningful data.

I would expect that video.pause() simply stops playout, and has no effect
on the network.


On Mon, Apr 28, 2014 at 12:23 PM, cowwoc <cowwoc@bbs.darktech.org> wrote:

> Hi,
>
> What's the difference between pausing a <video> and invoking
> MediaStreamTrack.enabled = false?
>
> I read that in the former case, the audio gets paused too whereas in the
> latter case it does not but what are the other differences?
> In both cases, does the network streaming actually stop? Or is streaming
> still taking place but not being rendered?
>
> The specification document doesn't seem to address this.
>
> Thanks,
> Gili
>
>
Received on Monday, 28 April 2014 20:13:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:38 UTC