@fishjam-cloud/react-client 0.26.2 → 0.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,22 +41,22 @@ export function FishjamProvider(props) {
41
41
  });
42
42
  const peerStatus = usePeerStatus(fishjamClientRef.current);
43
43
  const mergedBandwidthLimits = useMemo(() => mergeWithDefaultBandwitdthLimits(props.bandwidthLimits), [props.bandwidthLimits]);
44
- const videoTrackManager = useTrackManager({
44
+ const audioTrackManager = useTrackManager({
45
45
  tsClient: fishjamClientRef.current,
46
46
  peerStatus,
47
- deviceManager: cameraManager,
47
+ deviceManager: microphoneManager,
48
48
  bandwidthLimits: mergedBandwidthLimits,
49
- streamConfig: props.videoConfig,
50
- type: "camera",
49
+ streamConfig: props.audioConfig,
50
+ type: "microphone",
51
51
  logger,
52
52
  });
53
- const audioTrackManager = useTrackManager({
53
+ const videoTrackManager = useTrackManager({
54
54
  tsClient: fishjamClientRef.current,
55
55
  peerStatus,
56
- deviceManager: microphoneManager,
56
+ deviceManager: cameraManager,
57
57
  bandwidthLimits: mergedBandwidthLimits,
58
- streamConfig: props.audioConfig,
59
- type: "microphone",
58
+ streamConfig: props.videoConfig,
59
+ type: "camera",
60
60
  logger,
61
61
  });
62
62
  const screenShareManager = useScreenShareManager({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishjam-cloud/react-client",
3
- "version": "0.26.2",
3
+ "version": "0.26.3",
4
4
  "description": "React client library for Fishjam",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Fishjam Team",
@@ -62,7 +62,7 @@
62
62
  "vitest": "^3.1.1"
63
63
  },
64
64
  "dependencies": {
65
- "@fishjam-cloud/ts-client": "0.26.2",
65
+ "@fishjam-cloud/ts-client": "0.26.3",
66
66
  "events": "3.3.0",
67
67
  "lodash.isequal": "4.5.0"
68
68
  },