Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.49 KB

frontend.md

File metadata and controls

45 lines (30 loc) · 1.49 KB

Frontend thoughts

Limit rerender by not using state changes in higher components, triggering subsequent rerender of whole tree

how to display video [streamingmethods]

SSE events go into event queue and are dealt with in batches -> every 50ms -> no smooth update possible

on requestanimationframe to make updates smoother

antd to make styling easier tailwind as alternative

perhaps interesting https://stackoverflow.com/questions/29487978/how-to-embed-h264-video-file-in-html-webpage-using-video-tags/29489356

synchronize video and grpahs ? if possible how

perhaps what kind of player?

graphs

react stuff [react]

extension janus makes problems -> when janus.js defaultExtension checks in init for

event.data.type == 'janusGotScreen' && cache[event.data.id]

this test fails with type beeing undefined when another application sends messages that are not in the expected format. This test is more stable and does not error if a unknown message is recieved.

event.data?.type && event.data.type == 'janusGotScreen' && cache[event.data.id]

in line 72 and 84 of janus.js

uplot has a problem in 1.2.1 when no y-scale and no initial values for the data is used. something about wsc.range not defined. Initialize with a value and it works probably solved in 1.2.2