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