Public Access
Add taskbar controls and summary oneliner
This commit is contained in:
@@ -82,12 +82,26 @@ public sealed class MeetingRecordingCoordinator
|
||||
currentArtifacts?.TranscriptPath ?? currentSession?.TranscriptPath,
|
||||
currentArtifacts?.MeetingNotePath ?? currentMeetingNote?.Path,
|
||||
currentArtifacts?.AssistantContextPath,
|
||||
currentArtifacts?.SummaryPath);
|
||||
currentArtifacts?.SummaryPath,
|
||||
GetProcessState(currentRun),
|
||||
currentRun?.LaunchProfileName);
|
||||
|
||||
public MeetingSessionArtifacts? CurrentArtifacts => currentArtifacts;
|
||||
|
||||
private bool IsRecording => currentRun is { IsCaptureStopping: false };
|
||||
|
||||
private static RecordingProcessState GetProcessState(RecordingRun? run)
|
||||
{
|
||||
if (run is null)
|
||||
{
|
||||
return RecordingProcessState.Idle;
|
||||
}
|
||||
|
||||
return run.IsCaptureStopping
|
||||
? RecordingProcessState.Summarizing
|
||||
: RecordingProcessState.Recording;
|
||||
}
|
||||
|
||||
public async Task<RecordingStatus> ToggleAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return await ToggleAsync(null, cancellationToken);
|
||||
@@ -1687,4 +1701,13 @@ public sealed record RecordingStatus(
|
||||
string? TranscriptPath,
|
||||
string? MeetingNotePath,
|
||||
string? AssistantContextPath,
|
||||
string? SummaryPath);
|
||||
string? SummaryPath,
|
||||
RecordingProcessState State = RecordingProcessState.Idle,
|
||||
string? LaunchProfile = null);
|
||||
|
||||
public enum RecordingProcessState
|
||||
{
|
||||
Idle,
|
||||
Recording,
|
||||
Summarizing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user