From ac01fdba1c172b1fe7384aa3dc809087efdd2be7 Mon Sep 17 00:00:00 2001 From: Micheline Wu <69046953+michelinewu@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:16:16 -0500 Subject: [PATCH 1/6] Revert "New RTMP target. (#5275)" This reverts commit b14a44888434344ea876f5cdb663cf80519f6cd0. --- app/app-services.ts | 3 - app/components-react/root/LiveDock.tsx | 35 +---- .../root/ShareStreamLink.m.less | 5 - .../shared/PlatformLogo.m.less | 8 -- app/components-react/shared/PlatformLogo.tsx | 1 - app/components-react/sidebar/NavTools.m.less | 4 - app/components-react/sidebar/NavTools.tsx | 3 +- .../sidebar/PlatformIndicator.m.less | 2 +- .../sidebar/PlatformIndicator.tsx | 3 +- .../windows/MultistreamChatInfo.tsx | 6 - .../windows/go-live/PlatformSettings.tsx | 2 - .../go-live/platforms/KickEditStreamInfo.tsx | 65 --------- .../platforms/PlatformSettingsLayout.tsx | 2 - .../windows/settings/Stream.tsx | 75 ++--------- app/components/shared/PlatformLogo.tsx | 1 - app/i18n/en-US/common.json | 1 - app/i18n/en-US/kick.json | 7 - app/i18n/fallback.ts | 1 - app/services/platforms/index.ts | 11 +- app/services/platforms/kick.ts | 127 ------------------ app/services/restream.ts | 14 +- .../settings/streaming/stream-settings.ts | 2 - app/services/streaming/streaming-api.ts | 3 - app/services/streaming/streaming.ts | 5 - app/services/user/index.ts | 23 ---- app/services/widgets/settings/event-list.ts | 2 +- app/services/widgets/settings/stream-boss.ts | 2 +- app/styles/buttons.less | 11 -- app/styles/colors.less | 1 - app/themes.g.less | 2 - media/images/platforms/kick-logo.png | Bin 683 -> 0 bytes 31 files changed, 20 insertions(+), 407 deletions(-) delete mode 100644 app/components-react/windows/go-live/platforms/KickEditStreamInfo.tsx delete mode 100644 app/i18n/en-US/kick.json delete mode 100644 app/services/platforms/kick.ts delete mode 100644 media/images/platforms/kick-logo.png diff --git a/app/app-services.ts b/app/app-services.ts index df041f8914af..e3513c8c0d2b 100644 --- a/app/app-services.ts +++ b/app/app-services.ts @@ -78,7 +78,6 @@ export { RestreamService } from 'services/restream'; export { TwitterService } from 'services/integrations/twitter'; export { TwitterPlatformService } from 'services/platforms/twitter'; export { InstagramService } from 'services/platforms/instagram'; -export { KickService } from 'services/platforms/kick'; export { UsageStatisticsService } from './services/usage-statistics'; export { GameOverlayService } from 'services/game-overlay'; export { SharedStorageService } from 'services/integrations/shared-storage'; @@ -206,7 +205,6 @@ import { MarkersService } from 'services/markers'; import { SharedStorageService } from 'services/integrations/shared-storage'; import { RealmService } from 'services/realm'; import { InstagramService } from 'services/platforms/instagram'; -import { KickService } from 'services/platforms/kick'; import { TwitchStudioImporterService } from 'services/ts-importer'; import { RemoteControlService } from 'services/api/remote-control-api'; import { UrlService } from 'services/hosts'; @@ -243,7 +241,6 @@ export const AppServices = { TwitchContentClassificationService, TrovoService, InstagramService, - KickService, DismissablesService, HighlighterService, GrowService, diff --git a/app/components-react/root/LiveDock.tsx b/app/components-react/root/LiveDock.tsx index 41da076a33e4..279e28b769c5 100644 --- a/app/components-react/root/LiveDock.tsx +++ b/app/components-react/root/LiveDock.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useMemo, useState } from 'react'; import * as remote from '@electron/remote'; import cx from 'classnames'; import Animation from 'rc-animate'; -import { Button, Menu } from 'antd'; +import { Menu } from 'antd'; import pick from 'lodash/pick'; import { initStore, useController } from 'components-react/hooks/zustand'; import { EStreamingState } from 'services/streaming'; @@ -356,33 +356,6 @@ function LiveDock(p: { onLeft: boolean }) { return <>>; } - const showKickInfo = - visibleChat === 'kick' || (visibleChat === 'default' && primaryChat === 'kick'); - if (showKickInfo) { - return ( -