"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useLiveStream = exports.LiveStreamContext = void 0;
const react_1 = require("react");
exports.LiveStreamContext = (0, react_1.createContext)({});
/**
 * Let's only export the `useLiveStream` hook instead of the context.
 * We only want to use the hook directly and never the context component.
 */
function useLiveStream() {
    return (0, react_1.useContext)(exports.LiveStreamContext);
}
exports.useLiveStream = useLiveStream;
