Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/hash
This commit is contained in:
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@@ -18,6 +18,10 @@ jobs:
|
||||
contents: write # required to upload release asset
|
||||
packages: write
|
||||
steps:
|
||||
- name: Get current time
|
||||
id: current-time
|
||||
run: echo "unix_time=$(date +'%s')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Check it out
|
||||
uses: actions/checkout@v2
|
||||
|
||||
@@ -65,6 +69,7 @@ jobs:
|
||||
type=sha,format=short,event=branch
|
||||
type=semver,pattern={{version}}
|
||||
type=raw,value=latest-ci,enable={{is_default_branch}}
|
||||
type=raw,value=latest-ci_${{steps.current-time.outputs.unix_time}},enable={{is_default_branch}}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6
|
||||
|
||||
@@ -218,7 +218,7 @@ export const ClientProvider: FC<Props> = ({ children }) => {
|
||||
});
|
||||
} else {
|
||||
clearSession();
|
||||
setInitClientState(undefined);
|
||||
setInitClientState(null);
|
||||
}
|
||||
},
|
||||
[initClientState?.client]
|
||||
@@ -233,7 +233,7 @@ export const ClientProvider: FC<Props> = ({ children }) => {
|
||||
await client.logout(true);
|
||||
await client.clearStores();
|
||||
clearSession();
|
||||
setInitClientState(undefined);
|
||||
setInitClientState(null);
|
||||
history.push("/");
|
||||
PosthogAnalytics.instance.setRegistrationType(RegistrationType.Guest);
|
||||
}, [history, initClientState?.client]);
|
||||
|
||||
@@ -73,6 +73,7 @@ export function ErrorView({ error }: ErrorViewProps) {
|
||||
? error.translatedMessage
|
||||
: error.message}
|
||||
</p>
|
||||
<RageshakeButton description={`***Error View***: ${error.message}`} />
|
||||
{location.pathname === "/" ? (
|
||||
<Button
|
||||
size="lg"
|
||||
|
||||
@@ -139,7 +139,7 @@ export function GroupCallView({
|
||||
}
|
||||
|
||||
if (videoInput === null) {
|
||||
latestMuteStates.current!.video.setEnabled?.(true);
|
||||
latestMuteStates.current!.video.setEnabled?.(false);
|
||||
} else {
|
||||
const deviceId = await findDeviceByName(
|
||||
videoInput,
|
||||
|
||||
@@ -54,7 +54,7 @@ export function useSubmitRageshake(): {
|
||||
|
||||
// The value of the context is the whole tuple returned from setState,
|
||||
// so we just want the current state.
|
||||
const [inspectorState] = useContext(InspectorContext);
|
||||
const [inspectorState] = useContext(InspectorContext) ?? [];
|
||||
|
||||
const [{ sending, sent, error }, setState] = useState<{
|
||||
sending: boolean;
|
||||
|
||||
@@ -165,6 +165,7 @@ export const widget: WidgetHelpers | null = (() => {
|
||||
// element-web to use waitForIFrameLoad=false. Once that change has rolled out,
|
||||
// we can just start the client after we've fetched the config.
|
||||
livekitServiceURL: undefined,
|
||||
useLivekitForGroupCalls: true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user