Fix video overlays
This commit is contained in:
parent
c166006100
commit
45158bd7d8
@ -27,14 +27,19 @@ activeStore.addListener(render);
|
||||
|
||||
render();
|
||||
|
||||
getUserMedia({ video: true, audio: false })
|
||||
.then(stream => {
|
||||
dispatcher.dispatch({
|
||||
type: 'add-stream',
|
||||
userId: '_me_',
|
||||
stream
|
||||
});
|
||||
});
|
||||
|
||||
socket.once('connect', () => {
|
||||
debug('socket connected');
|
||||
getUserMedia({ video: true, audio: true })
|
||||
.then(stream => {
|
||||
dispatcher.dispatch('add-stream', {
|
||||
userId: '_me_',
|
||||
stream
|
||||
});
|
||||
debug('forwarding stream to handshake');
|
||||
handshake.init(socket, 'test', stream);
|
||||
})
|
||||
|
||||
@ -62,7 +62,7 @@ body {
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
z-index: -1;
|
||||
|
||||
video {
|
||||
pointer: inherit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user