Skip to content

Commit

Permalink
remove old manager
Browse files Browse the repository at this point in the history
  • Loading branch information
czerwiukk committed Aug 12, 2024
1 parent 2515e5a commit 08353c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 154 deletions.
154 changes: 0 additions & 154 deletions packages/react-client/src/screenShareManager.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/react-client/src/screenShareTrackManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const getTracks = (stream: MediaStream): { video: MediaStreamTrack; audio: Media
};

export const useScreenShare = <PeerMetadata, TrackMetadata>(
// these arguments will be removed after we get rid of create() fn, we will just use the context
[state, setState]: [ScreenshareState, React.Dispatch<React.SetStateAction<ScreenshareState>>],
tsClient: FishjamClient<PeerMetadata, TrackMetadata>,
) => {
Expand Down

0 comments on commit 08353c5

Please sign in to comment.