test
This commit is contained in:
parent
337e96cdb9
commit
a18c11746c
@ -39,6 +39,7 @@ $(function() {
|
||||
});
|
||||
|
||||
call.on('stream', function(str) {
|
||||
window.stream = str;
|
||||
if(!str.getVideoTracks().length) {
|
||||
$('.remote p').removeClass('hidden');
|
||||
}
|
||||
@ -131,6 +132,7 @@ $(function() {
|
||||
call.answer(stream);
|
||||
|
||||
call.on('stream', function(str) {
|
||||
window.stream = str;
|
||||
$('.remote video').prop('src', window.URL.createObjectURL(str));
|
||||
$('.remote video')[0].play();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user