// Metro module 12850 (f12851). import ChannelRTCStore from "../../calls/ChannelRTCStore"; import ApplicationStreamingStore from "../../../stores/ApplicationStreamingStore"; import { useStateFromStores } from "../../../_bundle/Module589"; export default function useSelectedActiveStream(c20252_0) { return useStateFromStores([ChannelRTCStore, ApplicationStreamingStore], () => { const selectedParticipantId = ChannelRTCStore.getSelectedParticipantId(c20252_0.id); return selectedParticipantId != null ? ApplicationStreamingStore.getActiveStreamForStreamKey(selectedParticipantId) : null; }); };