Errata

Real-Time Communication with WebRTC

Errata for Real-Time Communication with WebRTC

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 6
4th

hi

Anonymous  Oct 26, 2015 
PDF, ePub, Page 14
Example 2-1 code

This line of code:
<p>With this example, we simply call <code>getUserMedia()</code> and display
the received stream inside an HTML5 <video> element</p>

should be:

<p>With this example, we simply call <code>getUserMedia()</code> and display
the received stream inside an HTML5 video element</p>

(remove the <video> tag and replace it with simple text.)

Csaba Kiss  Oct 14, 2015 
Printed, PDF Page 22
Example 2-4

The 1280x960 resolution did not work in my case. I h ave a Dell XPS13 with a 720p camera. I believe a 1280x720 is a more common resolution.

Also this code did not work for me:
function getMedia(constraints){
if (!!stream) {
video.src = null;
stream.stop();
}
navigator.getUserMedia(constraints, successCallback, errorCallback);
}

I changed stream.stop(); to stream = null;

then it worked. I used Chrome Version 48.0.2534.0 canary (64-bit).

Csaba Kiss  Oct 14, 2015