Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed screen_capture to mac_screen_capture type for macOS #4994

Merged
merged 4 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/services/sources/sources-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export type TSourceType =
| 'ndi_source'
| 'openvr_capture'
| 'screen_capture'
| 'mac_screen_capture'
| 'liv_capture'
| 'ovrstream_dc_source'
| 'vlc_source'
Expand Down
8 changes: 8 additions & 0 deletions app/services/sources/sources-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ export const SourceDisplayData = (): { [key: string]: ISourceDisplayData } => ({
icon: 'icon-group',
shortDesc: $t('Capture games and apps'),
},
mac_screen_capture: {
name: $t('macOS Screen Capture'),
description: $t('Capture your game, other applications, or your entire monitor'),
demoFilename: 'window-capture.png',
supportList: [$t('Most games, apps, displays')],
icon: 'icon-group',
shortDesc: $t('Capture games and apps'),
},
liv_capture: {
name: $t('LIV Client Capture'),
description: $t(
Expand Down
2 changes: 2 additions & 0 deletions app/services/sources/sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const macSources: TSourceType[] = [
'display_capture',
'audio_line',
'ndi_source',
'mac_screen_capture',
'vlc_source',
'window_capture',
'syphon-input',
Expand Down Expand Up @@ -583,6 +584,7 @@ export class SourcesService extends StatefulService<ISourcesState> {
{ description: 'NDI Source', value: 'ndi_source' },
{ description: 'OpenVR Capture', value: 'openvr_capture' },
{ description: 'Screen Capture', value: 'screen_capture' },
{ description: 'macOS Screen Capture', value: 'mac_screen_capture' },
{ description: 'LIV Client Capture', value: 'liv_capture' },
{ description: 'OvrStream', value: 'ovrstream_dc_source' },
{ description: 'VLC Source', value: 'vlc_source' },
Expand Down
Loading