We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55bfa56 commit ef0fed7Copy full SHA for ef0fed7
packages/react/src/hooks/useTrack.ts
@@ -2,7 +2,10 @@
2
// import { useTrackRefBySourceOrName } from './useTrackRefBySourceOrName';
3
// import { useEnsureParticipant } from '../context';
4
5
-// function useTrack<TrackSource extends Track.Source>(source: TrackSource, participant?: Participant) {
+/**
6
+ * TODO decide whether we want to expose this
7
+ */
8
+// function useTrack(source: Track.Source, participant?: Participant) {
9
// const p = useEnsureParticipant(participant);
10
// return useTrackRefBySourceOrName({ source, participant: p });
11
// }
0 commit comments