Fix video stream lost issue when the remote side refreshes the page

Fix issue #296 
It does not cause miniVideo to stop.

On Tue, Dec 16, 2014 at 6:02 PM, Justin Uberti <notifications@github.com>
wrote:
>
> In samples/web/content/apprtc/js/main.js
> <https://github.com/GoogleChrome/webrtc/pull/304#discussion-diff-21948355>
> :
>
> >      miniVideo.src = '';
> >      remoteVideo.src = '';
> >    }, 800);
> > +
> > +  // Set localVideo.src now so that the local stream won't be lost if the call
> > +  // is restarted before the timeout.
> > +  localVideo.src = miniVideo.src;
>
> Does this cause miniVideo to stop? Or can multiple tags play out the same
> stream? I forget how this works.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleChrome/webrtc/pull/304/files#r21948355>.
>


-- 
Jiayang Liu