mirror of
https://api.glitch.com/git/yaswvc
synced 2026-01-12 03:18:10 +00:00
⛳️🎀 Checkpoint
./public/main.js:5975361/318
This commit is contained in:
parent
db1970526a
commit
41d233581c
1 changed files with 4 additions and 1 deletions
|
|
@ -130,7 +130,10 @@ var app = new Vue({
|
|||
console.log('Call', call);
|
||||
call.peerConnection.onaddstream = (stream) => {
|
||||
console.log('stream add', stream);
|
||||
// stream.
|
||||
console.log('getRemoteStreams', stream.currentTarget.getRemoteStreams()[0]);
|
||||
stream.currentTarget.getRemoteStreams()[0].ontrack = (a,b) => {
|
||||
console.log('got track', a, b)
|
||||
};
|
||||
};
|
||||
call.peerConnection.onremovestream = (stream) => {
|
||||
console.log('stream remove', stream);
|
||||
|
|
|
|||
Loading…
Reference in a new issue