Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

[EX-563] Remove useWebRTC hook #65

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1410,4 +1410,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 8daa796ed34dbeeeb2b648d198968b27b4c2ae8d

COCOAPODS: 1.13.0
COCOAPODS: 1.14.3
7 changes: 0 additions & 7 deletions src/__mocks__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ const emptyPromise = async (): Promise<void> => {
});
};

export const useWebRTC = () => {
return {
connect: emptyPromise,
disconnect: emptyPromise,
error: null,
};
};
export const useEndpoints = () => [];
export const setTargetTrackEncoding = emptyPromise;
export const useCamera = () => {
Expand Down
157 changes: 0 additions & 157 deletions src/hooks/useWebRTC.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export { useEndpoints } from './hooks/useEndpoints';
export { useMicrophone } from './hooks/useMicrophone';
export { useRTCStatistics } from './hooks/useRTCStatistics';
export { useScreencast } from './hooks/useScreencast';
export { useWebRTC } from './hooks/useWebRTC';

export {
updateAudioTrackMetadata,
Expand Down
Loading