File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
browser-interface/packages/shared Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,15 @@ export const getCommsRoom = (state: RootCommsState): RoomConnection | undefined
6464 const scene = sceneRoom ?. sendChatMessage ( message )
6565 await Promise . all ( [ island , scene ] )
6666 } ,
67- sendVoiceMessage : async ( message : Voice ) => {
68- // TBD: Feature flag for backwards compatibility
69- await sceneRoom ?. sendVoiceMessage ( message )
67+ sendVoiceMessage : async ( _message : Voice ) => {
68+ debugger
7069 } ,
7170 createVoiceHandler : async ( ) => {
7271 // TBD: Feature flag for backwards compatibility
7372 if ( ! sceneRoom ) debugger
7473 return sceneRoom ! . createVoiceHandler ( )
7574 }
76- } as RoomConnection
75+ } as any as RoomConnection
7776}
7877
7978export function reconnectionState ( state : RootState ) : {
Original file line number Diff line number Diff line change @@ -123,19 +123,6 @@ export class SceneWorker {
123123 metadata : Scene
124124 logger : ILogger
125125
126- // TBD: we add this here or in the comms saga ?
127- public comms : any = {
128- initialize : async ( ) => {
129- console . log ( '[Initialize Comms]: ' , { sceneId : this . loadableScene . id } )
130- } ,
131- pause : ( ) => {
132- console . log ( '[Pause Comms]:' , { sceneId : this . loadableScene . id } )
133- } ,
134- stop : ( ) => {
135- console . log ( '[Remove comms]:' , { sceneId : this . loadableScene . id } )
136- }
137- }
138-
139126 static async createSceneWorker ( loadableScene : Readonly < LoadableScene > , rpcClient : RpcClient ) {
140127 ++ globalSceneNumberCounter
141128 const sceneNumber = globalSceneNumberCounter
You can’t perform that action at this time.
0 commit comments