.
This commit is contained in:
@@ -15,7 +15,7 @@ interface WebRTCState {
|
||||
createOffer: (localStream: MediaStream) => Promise<void>;
|
||||
}
|
||||
|
||||
export const useWebRTCStore = create<WebRTCState>()((set, get) => {
|
||||
export const useWebRTCStore = create<WebRTCState>()((set) => {
|
||||
const client = new WebRTCClient(
|
||||
VOICE_GATEWAY_URL,
|
||||
(state) => set({ status: state }),
|
||||
|
||||
Reference in New Issue
Block a user