File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ interface CollaborationConfigParams {
19
19
}
20
20
21
21
interface CollaborationConfig {
22
- signaling : string [ ] ;
22
+ signalingUrl : string [ ] ;
23
23
user : UserProfile ;
24
24
authToken : string ;
25
25
refreshAuthToken : ( ) => Promise < string > ;
@@ -113,7 +113,7 @@ export const getCollaborationConfig = async ({
113
113
} ;
114
114
115
115
return {
116
- signaling : [ getSignalingUrlFromProviderUrl ( provider_url ) ] ,
116
+ signalingUrl : [ getSignalingUrlFromProviderUrl ( provider_url ) ] ,
117
117
user : userProfile ,
118
118
authToken : accessToken ,
119
119
refreshAuthToken : refreshToken ,
@@ -143,7 +143,7 @@ const subscribeToRoomActivity = async (
143
143
} ) ;
144
144
145
145
// Create the websocket connection with proper headers
146
- const ws = new WebSocket ( config . signaling [ 0 ] , [ 'auth' , config . authToken ] ) ;
146
+ const ws = new WebSocket ( config . signalingUrl [ 0 ] , [ 'auth' , config . authToken ] ) ;
147
147
wsRef . current = ws ;
148
148
149
149
ws . addEventListener ( 'open' , ( ) => {
You can’t perform that action at this time.
0 commit comments