mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
refactor(voice): separate Realtime state and resource owners
This commit is contained in:
1 parent
cd22ca3559
commit
cc9a080f2d
22 files changed
+4194
-2803
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import { readFileSync } from 'node:fs';
|
||||
|
||||
/** Read voice implementations alongside their compatibility/composition surface. */
|
||||
export function readRealtimeSource() {
|
||||
return [
|
||||
'realtimeConnection',
|
||||
'realtimeCost',
|
||||
'realtimeDiagnostics',
|
||||
'realtimeInput',
|
||||
'realtimeInputPolicy',
|
||||
'realtimePreferences',
|
||||
'realtimeProtocol',
|
||||
'realtimeRadio',
|
||||
'realtimeTurns',
|
||||
'realtimeViewport',
|
||||
'realtimeFacade',
|
||||
'realtimeController',
|
||||
]
|
||||
.map((name) =>
|
||||
readFileSync(new URL(`../voice/${name}.js`, import.meta.url), 'utf8'),
|
||||
)
|
||||
.join('\n');
|
||||
}
|
||||
Reference in new issue
Block a user