Skip to content

Commit

Permalink
remove duplicate declaration of StreamStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Sep 18, 2024
1 parent 0575e45 commit fb7951d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Components/CameraFeed/CameraFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { AssetData } from "../Assets/AssetTypes";
import useOperateCamera, { PTZPayload } from "./useOperateCamera";
import { getStreamUrl } from "./utils";
import { classNames, isIOS } from "../../Utils/utils";
import FeedAlert, { FeedAlertState } from "./FeedAlert";
import FeedNetworkSignal, { StreamStatus } from "./FeedNetworkSignal";
import FeedAlert, { FeedAlertState, StreamStatus } from "./FeedAlert";
import FeedNetworkSignal from "./FeedNetworkSignal";
import NoFeedAvailable from "./NoFeedAvailable";
import FeedControls from "./FeedControls";
import FeedWatermark from "./FeedWatermark";
Expand Down
3 changes: 1 addition & 2 deletions src/Components/CameraFeed/FeedNetworkSignal.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { useEffect, useState } from "react";
import { calculateVideoDelay } from "./utils";
import NetworkSignal from "../../CAREUI/display/NetworkSignal";

export type StreamStatus = "playing" | "stop" | "loading" | "offline";
import { StreamStatus } from "./FeedAlert";

interface Props {
playerRef: React.RefObject<HTMLVideoElement>;
Expand Down

0 comments on commit fb7951d

Please sign in to comment.