RE: pausing and resuming recording

It’s certainly simpler for the recording doc to assume that pause and resume are on the MediaStreams/Tracks themselves.   However,  I’m sure that people will ask for the ability to pause the recording without pausing the stream.  One use case would involve a PeerConnection.  You are talking to someone and recording the conversation.  You reach a point where you’re going to give them your credit card info or some other sensitive information.  You want to keep talking but pause the recording so that it doesn’t capture the sensitive information.  (This sort of use case is very common in call centers.)

You can presumably handle this case by cloning the MediaStream and using one copy for the PeerConnection and the other for recording, but for most people it will seem simpler to have a single MediaStream and then pause recording on it.


-          Jim

From: rocallahan@gmail.com [mailto:rocallahan@gmail.com] On Behalf Of Robert O'Callahan
Sent: Thursday, December 13, 2012 11:51 PM
To: Jim Barnett
Cc: public-media-capture@w3.org
Subject: Re: pausing and resuming recording

On Fri, Dec 14, 2012 at 8:43 AM, Jim Barnett <Jim.Barnett@genesyslab.com<mailto:Jim.Barnett@genesyslab.com>> wrote:
It makes sense to add pause and resume functionality to recording.  The question is what the exact semantics should be.  First of all, we currently say that it a Track is muted, the record function should fill in with silence or black frames.  (I think that this would be necessary so that playback could be synchronized).

Now, if the entire record() operation is paused, I assume that it would simply stop gathering data while it is paused.  (So that if you pause and resume recording, there will be a sudden skip during the playback.)

I don't think this functionality should be in the recorder. Instead I think we should be able to pause and resume MediaStreams themselves. Then we can do things like have a media element which is playing a MediaStream apply its pause/resume controls directly to the MediaStream.
However, I can imagine cases where someone might want to pause recording a specific track, without muting the underlying track (for example, the user would still be speaking, but it would be left out of the recording).

I don't understand this scenario. Can you explain it in more detail?

Rob
--
Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Instead, whoever wants to become great among you must be your servant, and whoever wants to be first must be your slave — just as the Son of Man did not come to be served, but to serve, and to give his life as a ransom for many.” [Matthew 20:25-28]

Received on Friday, 14 December 2012 14:15:07 UTC