Merge branch 'srcobj'
commit
27d2be9318
|
|
@ -35,7 +35,7 @@ function pageReady() {
|
|||
|
||||
function getUserMediaSuccess(stream) {
|
||||
localStream = stream;
|
||||
localVideo.src = window.URL.createObjectURL(stream);
|
||||
localVideo.srcObject = stream;
|
||||
}
|
||||
|
||||
function start(isCaller) {
|
||||
|
|
@ -85,7 +85,7 @@ function createdDescription(description) {
|
|||
|
||||
function gotRemoteStream(event) {
|
||||
console.log('got remote stream');
|
||||
remoteVideo.src = window.URL.createObjectURL(event.stream);
|
||||
remoteVideo.srcObject = event.stream;
|
||||
}
|
||||
|
||||
function errorHandler(error) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue