fixes and cleanup
This commit is contained in:
@@ -108,7 +108,6 @@ const dynamicStyle = computed(() => {
|
||||
|
||||
|
||||
function onVideoLoaded(event: Event) {
|
||||
console.log('video loaded', event.target);
|
||||
mediaDimensions.value = {
|
||||
width: video.value!.videoWidth,
|
||||
height: video.value!.videoHeight,
|
||||
|
||||
@@ -13,7 +13,6 @@ import { JsonChannelSymbol, WebRtcChannelSymbol } from '../../model/injectionSym
|
||||
|
||||
const jsonMessages = ref<{source: 'json' | 'webrtc', message: Message}[]>([]);
|
||||
const lastMessages = computed(() => [...jsonMessages.value].reverse().slice(0, 10));
|
||||
console.log(jsonMessages, lastMessages);
|
||||
const channel = inject(JsonChannelSymbol)!;
|
||||
const webRTC = inject(WebRtcChannelSymbol)!;
|
||||
channel.on((message) => {
|
||||
|
||||
Reference in New Issue
Block a user