Compare commits
No commits in common. "c92dff9bfe9f34299f40a8aea2a02c782ecec843" and "1edbcb217952294c54214742dd4d2f870e9d20cd" have entirely different histories.
c92dff9bfe
...
1edbcb2179
@ -20543,26 +20543,6 @@ const getLocalStream = () => {
|
||||
hd : { width: { ideal: 1280 }, height: { ideal: 720 } }
|
||||
}
|
||||
})
|
||||
|
||||
navigator.permissions.query(
|
||||
// { name: 'camera' }
|
||||
{ name: 'microphone' }
|
||||
// { name: 'geolocation' }
|
||||
// { name: 'notifications' }
|
||||
// { name: 'midi', sysex: false }
|
||||
// { name: 'midi', sysex: true }
|
||||
// { name: 'push', userVisibleOnly: true }
|
||||
// { name: 'push' } // without userVisibleOnly isn't supported in chrome M45, yet
|
||||
).then(function(permissionStatus){
|
||||
|
||||
console.log('navigator.permissions', permissionStatus.state); // granted, denied, prompt
|
||||
|
||||
permissionStatus.onchange = function(){
|
||||
console.log("Permission changed to " + this.state);
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
// navigator.mediaDevices.getUserMedia({
|
||||
// audio: false,
|
||||
// video: {
|
||||
@ -20873,7 +20853,6 @@ const closeCall = () => {
|
||||
resetCallSettings()
|
||||
}
|
||||
|
||||
|
||||
btnLocalVideo.addEventListener('click', getLocalStream)
|
||||
btnRecvSendTransport.addEventListener('click', goConnect)
|
||||
btnCloseCall.addEventListener('click', closeCall)
|
||||
|
@ -185,26 +185,6 @@ const getLocalStream = () => {
|
||||
hd : { width: { ideal: 1280 }, height: { ideal: 720 } }
|
||||
}
|
||||
})
|
||||
|
||||
navigator.permissions.query(
|
||||
// { name: 'camera' }
|
||||
{ name: 'microphone' }
|
||||
// { name: 'geolocation' }
|
||||
// { name: 'notifications' }
|
||||
// { name: 'midi', sysex: false }
|
||||
// { name: 'midi', sysex: true }
|
||||
// { name: 'push', userVisibleOnly: true }
|
||||
// { name: 'push' } // without userVisibleOnly isn't supported in chrome M45, yet
|
||||
).then(function(permissionStatus){
|
||||
|
||||
console.log('navigator.permissions', permissionStatus.state); // granted, denied, prompt
|
||||
|
||||
permissionStatus.onchange = function(){
|
||||
console.log("Permission changed to " + this.state);
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
// navigator.mediaDevices.getUserMedia({
|
||||
// audio: false,
|
||||
// video: {
|
||||
@ -515,7 +495,6 @@ const closeCall = () => {
|
||||
resetCallSettings()
|
||||
}
|
||||
|
||||
|
||||
btnLocalVideo.addEventListener('click', getLocalStream)
|
||||
btnRecvSendTransport.addEventListener('click', goConnect)
|
||||
btnCloseCall.addEventListener('click', closeCall)
|
Loading…
x
Reference in New Issue
Block a user