Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fix circular dependency issue breaking build
Gabe Kangasf51aede9070b
diff --git a/web/components/admin/TextField.tsx b/web/components/admin/TextField.tsxindex db772f318e..a971574fc9 100644--- a/web/components/admin/TextField.tsx+++ b/web/components/admin/TextField.tsx@@ -2,7 +2,6 @@ import React, { FC, useEffect, useState } from 'react';import classNames from 'classnames';import { Input, Form, InputNumber, Button } from 'antd';import { FieldUpdaterFunc } from '../../types/config-section';-// import InfoTip from '../info-tip';import { StatusState } from '../../utils/input-statuses';import { FormStatusIndicator } from './FormStatusIndicator';import { PASSWORD_COMPLEXITY_RULES, REGEX_PASSWORD } from '../../utils/config-constants';diff --git a/web/utils/config-constants.tsx b/web/utils/config-constants.tsxindex 6835326d58..d48ecae180 100644--- a/web/utils/config-constants.tsx+++ b/web/utils/config-constants.tsx@@ -1,7 +1,6 @@// DEFAULT VALUESimport { fetchData, SERVER_CONFIG_UPDATE_URL } from './apis';import { ApiPostArgs, VideoVariant, SocialHandle } from '../types/config-section';-import { TEXTFIELD_TYPE_URL } from '../components/admin/TextField';import { DEFAULT_TEXTFIELD_URL_PATTERN } from './urls';export const TEXT_MAXLENGTH = 255;@@ -49,6 +48,8 @@ export const API_FEDERATION_GOLIVE_MESSAGE = '/federation/livemessage';export const API_FEDERATION_SHOW_ENGAGEMENT = '/federation/showengagement';export const API_FEDERATION_BLOCKED_DOMAINS = '/federation/blockdomains';+const TEXTFIELD_TYPE_URL = 'url';+export async function postConfigUpdateToAPI(args: ApiPostArgs) {const { apiPath, data, onSuccess, onError } = args;const result = await fetchData(`${SERVER_CONFIG_UPDATE_URL}${apiPath}`, {