Skip to content

Commit

Permalink
move camera feed specific hooks to CameraFeed dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Aug 28, 2024
1 parent 0fba23a commit 550d710
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Components/CameraFeed/CameraFeedOld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { CameraPTZ, getCameraPTZ } from "../../Common/constants.js";
import {

Check failure on line 10 in src/Components/CameraFeed/CameraFeedOld.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎··StreamStatus,⏎··useMSEMediaPlayer,⏎` with `·StreamStatus,·useMSEMediaPlayer·`
StreamStatus,
useMSEMediaPlayer,
} from "../../Common/hooks/useMSEplayer.js";
import { useFeedPTZ } from "../../Common/hooks/useFeedPTZ.js";
} from "./useMSEplayer.js";
import { useFeedPTZ } from "./useFeedPTZ.js";
import * as Notification from "../../Utils/Notifications.js";
import { AxiosError } from "axios";
import { BedSelect } from "../Common/BedSelect.js";
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Components/CameraFeed/usePlayer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MutableRefObject, useCallback, useState } from "react";
import { IOptions, useMSEMediaPlayer } from "../../Common/hooks/useMSEplayer";
import { IOptions, useMSEMediaPlayer } from "./useMSEplayer";

export type StreamStatus = "playing" | "stop" | "loading" | "offline";

Expand Down

0 comments on commit 550d710

Please sign in to comment.