Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

comment the repeated code #9

Merged
merged 1 commit into from

2 participants

@feiyunruyue

comment "rtc.attachStream(stream, 'you');"

@feiyunruyue feiyunruyue Update example/index.html
comment "rtc.attachStream(stream, 'you');"
3daa35d
@feiyunruyue
document.getElementById('you').src = URL.createObjectURL(stream);//line 157      
rtc.attachStream(stream, 'you');// line 159
  rtc.attachStream = function(stream, domId) {
    document.getElementById(domId).src = URL.createObjectURL(stream);
  };

I think they are repeated.

@dennismartensson dennismartensson merged commit 243c217 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 11, 2013
  1. @feiyunruyue

    Update example/index.html

    feiyunruyue authored
    comment "rtc.attachStream(stream, 'you');"
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  example/index.html
View
2  example/index.html
@@ -156,7 +156,7 @@
rtc.createStream({"video": true, "audio": true}, function(stream) {
document.getElementById('you').src = URL.createObjectURL(stream);
videos.push(document.getElementById('you'));
- rtc.attachStream(stream, 'you');
+ //rtc.attachStream(stream, 'you');
subdivideVideos();
});
}else {
Something went wrong with that request. Please try again.