Handle stopping screensharing from native UI
This commit is contained in:
parent
85cf445924
commit
fc7eba772c
2 changed files with 28 additions and 8 deletions
|
@ -14,6 +14,7 @@ import type {
|
|||
ActiveCallStateType,
|
||||
} from '../ducks/calling';
|
||||
import { getIncomingCall as getIncomingCallHelper } from '../ducks/callingHelpers';
|
||||
import type { PresentedSource } from '../../types/Calling';
|
||||
import { CallMode } from '../../types/CallDisposition';
|
||||
import type { CallLinkType } from '../../types/CallLink';
|
||||
import { getUserACI } from './user';
|
||||
|
@ -166,3 +167,9 @@ export const areAnyCallsActiveOrRinging = createSelector(
|
|||
getIncomingCall,
|
||||
(activeCall, incomingCall): boolean => Boolean(activeCall || incomingCall)
|
||||
);
|
||||
|
||||
export const getPresentingSource = createSelector(
|
||||
getActiveCallState,
|
||||
(activeCallState): PresentedSource | undefined =>
|
||||
activeCallState?.presentingSource
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue