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

refactor: added code for joining livekit room for listeners #731

Merged
merged 1 commit into from
Sep 25, 2023
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
6 changes: 5 additions & 1 deletion packages/uiweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@livekit/components-react": "^1.2.2",
"@livekit/components-styles": "^1.0.6",
"@livepeer/react": "^2.6.0",
"@pushprotocol/socket": "^0.5.0",
"@unstoppabledomains/resolution": "^8.5.0",
Expand All @@ -14,10 +16,12 @@
"font-awesome": "^4.7.0",
"gif-picker-react": "^1.1.0",
"html-react-parser": "^1.4.13",
"livekit-client": "^1.13.3",
"moment": "^2.29.4",
"react-icons": "^4.10.1",
"react-toastify": "^9.1.3",
"react-twitter-embed": "^4.0.4"
"react-twitter-embed": "^4.0.4",
"uuid": "^9.0.1"
},
"peerDependencies": {
"@pushprotocol/restapi": "^1.2.15",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import React, { useEffect, useState, useContext } from 'react';
import React, { useEffect, useState, useContext, useMemo } from 'react';
import styled, { ThemeProvider } from 'styled-components';
import { Player } from '@livepeer/react';
import * as PushAPI from '@pushprotocol/restapi';
import { SpaceDTO } from '@pushprotocol/restapi';

// livekit imports
import { LiveKitRoom, RoomAudioRenderer } from '@livekit/components-react';
import { Room } from 'livekit-client';

import { LiveSpaceProfileContainer } from './LiveSpaceProfileContainer';
import { SpaceMembersSectionModal } from './SpaceMembersSectionModal';

Expand All @@ -12,7 +16,7 @@ import { ThemeContext } from '../theme/ThemeProvider';

import CircularProgressSpinner from '../../loader/loader';

import { Button, Image, Item, Text } from '../../../config';
import { Button, Image, Item, LIVEKIT_SERVER_URL, Text } from '../../../config';
import MicOnIcon from '../../../icons/micon.svg';
import MicEngagedIcon from '../../../icons/MicEngage.svg';
import MuteIcon from '../../../icons/Muted.svg';
Expand All @@ -21,6 +25,7 @@ import MembersIcon from '../../../icons/Members.svg';
import { useSpaceData } from '../../../hooks';
import { SpaceStatus } from './WidgetContent';
import { pCAIP10ToWallet } from '../../../helpers';
import { getLivekitRoomToken } from '../../../services';

interface LiveWidgetContentProps {
spaceData?: SpaceDTO;
Expand All @@ -41,6 +46,7 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({
const [isRequestedForMic, setIsRequestedForMic] = useState(false);

const [promotedListener, setPromotedListener] = useState('');
const [livekitToken, setLivekitToken] = useState(null);

const theme = useContext(ThemeContext);

Expand All @@ -63,6 +69,15 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({
await spacesObjectRef?.current?.enableAudio?.({ state: !isMicOn });
};

useEffect(() => {
(async function () {
if(isListener && spaceData?.spaceId) {
const livekitToken = await getLivekitRoomToken({ userType: "receiver", roomId: spaceData?.spaceId });
setLivekitToken(livekitToken.data);
}
})();
}, [isListener, spaceData]);

useEffect(() => {
if (!spaceObjectData?.connectionData?.local?.stream || !isRequestedForMic)
return;
Expand Down Expand Up @@ -204,6 +219,8 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({
setPlayBackUrl(spaceObjectData?.meta);
}, [spaceObjectData?.meta]);

const livekitRoom = useMemo(() => new Room(), []);

return (
<ThemeProvider theme={theme}>
<Item
Expand Down Expand Up @@ -423,6 +440,15 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({
<Player title="spaceAudio" playbackId={playBackUrl} autoPlay />
</PeerPlayerDiv>
)}
{isListener && !isHost && livekitToken && (
<LiveKitRoom
serverUrl={LIVEKIT_SERVER_URL}
token={livekitToken}
room={livekitRoom}
>
<RoomAudioRenderer />
</LiveKitRoom>
)}
</Item>
) : (
<Button
Expand Down
6 changes: 5 additions & 1 deletion packages/uiweb/src/lib/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@ export const requestLimit = 10;
export const notificationLimit = 5;

export const FILE_ICON = (extension: string) =>
`https://cdn.jsdelivr.net/gh/napthedev/file-icons/file/${extension}.svg`;
`https://cdn.jsdelivr.net/gh/napthedev/file-icons/file/${extension}.svg`;

// Livekit Server URLs
export const LIVEKIT_SERVER_URL = "";
export const LIVEKIT_TOKEN_GENERATOR_SERVER_URL = "";
23 changes: 23 additions & 0 deletions packages/uiweb/src/lib/services/getLivekitRoomToken.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import axios from "axios"
import { v4 as uuidv4 } from "uuid";

import { LIVEKIT_TOKEN_GENERATOR_SERVER_URL } from "../config";

export interface IGetLivekitRoomProps {
userType: "sender" | "receiver";
roomId: string;
}

export const getLivekitRoomToken = async ({ userType, roomId }: IGetLivekitRoomProps) => {
console.log("🚀 ~ file: getToken.js:5 ~ getToken ~ roomId:", roomId)
if (userType !== "sender" && userType !== "receiver") {
throw new Error("Invalid userType. Use 'sender' or 'receiver'.");
}

// generate a unique uuid
const identity = uuidv4();

const url = `${LIVEKIT_TOKEN_GENERATOR_SERVER_URL}/token?userType=${userType}&userName=${identity}&roomId=${roomId}`;

return await axios.get(url);
};
1 change: 1 addition & 0 deletions packages/uiweb/src/lib/services/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { getLivekitRoomToken } from "./getLivekitRoomToken";
140 changes: 140 additions & 0 deletions packages/uiweb/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
dependencies:
regenerator-runtime "^0.13.11"

"@bufbuild/protobuf@^1.3.0":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.3.1.tgz#c4de66bacbe7ac97fe054e68314aeba6f45177f9"
integrity sha512-BUyJWutgP2S8K/1NphOJokuwDckXS4qI2T1pGZAlkFdZchWae3jm6fCdkcGbLlM1QLOcNFFePd+7Feo4BYGrJQ==

"@ethersproject/abi@^5.0.1":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz"
Expand Down Expand Up @@ -193,6 +198,21 @@
dependencies:
"@floating-ui/utils" "^0.1.1"

"@floating-ui/core@^1.4.2":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.0.tgz#5c05c60d5ae2d05101c3021c1a2a350ddc027f8c"
integrity sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==
dependencies:
"@floating-ui/utils" "^0.1.3"

"@floating-ui/dom@^1.1.0":
version "1.5.3"
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa"
integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==
dependencies:
"@floating-ui/core" "^1.4.2"
"@floating-ui/utils" "^0.1.3"

"@floating-ui/dom@^1.3.0":
version "1.5.1"
resolved "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.5.1.tgz"
Expand All @@ -213,6 +233,37 @@
resolved "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.1.tgz"
integrity sha512-m0G6wlnhm/AX0H12IOWtK8gASEMffnX08RtKkCgTdHb9JpHKGloI7icFfLg9ZmQeavcvR0PKmzxClyuFPSjKWw==

"@floating-ui/utils@^0.1.3":
version "0.1.4"
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.4.tgz#19654d1026cc410975d46445180e70a5089b3e7d"
integrity sha512-qprfWkn82Iw821mcKofJ5Pk9wgioHicxcQMxx+5zt5GSKoqdWvgG5AxVmpmUUjzTLPVSH5auBrhI93Deayn/DA==

"@livekit/[email protected]":
version "0.7.0"
resolved "https://registry.yarnpkg.com/@livekit/components-core/-/components-core-0.7.0.tgz#1283a34753c8f1bb805b987684a3e29d1bc2eb39"
integrity sha512-KwzqnW8V9G+4fXc4gOxpXqQFLpL/kFBn82sYO10zHjHfNKSw4pRj1sDLTWc5UF22W2Z461/bqMtB+3WGB/3Dtg==
dependencies:
"@floating-ui/dom" "^1.1.0"
email-regex "^5.0.0"
global-tld-list "^0.0.1139"
loglevel "^1.8.1"
rxjs "^7.8.0"

"@livekit/components-react@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@livekit/components-react/-/components-react-1.2.2.tgz#202083f70d5fb5512077fd145e81232116601e0a"
integrity sha512-0ds0A/XUUG9zarAZdlUdOEJsKKVp7kwFS+wFBXgJ2KcQwNJVCZh+NY780QP4r9E8R+knRJy/kkmEGYcCxvrgWA==
dependencies:
"@livekit/components-core" "0.7.0"
"@react-hook/latest" "^1.0.3"
clsx "^2.0.0"
usehooks-ts "^2.9.1"

"@livekit/components-styles@^1.0.6":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@livekit/components-styles/-/components-styles-1.0.6.tgz#2649c61a631efff37eb2326e100e34a84e597d71"
integrity sha512-/toY2NFJCU0NdeP9AB+CWW9kPf8gdpndIoR0hYTKjDb8pHPdXDu5NE7XyO8qKIeV4biRFGsQ9+C3giPNgYm9TA==

"@livepeer/core-react@^1.8.0":
version "1.8.0"
resolved "https://registry.npmjs.org/@livepeer/core-react/-/core-react-1.8.0.tgz"
Expand Down Expand Up @@ -539,6 +590,11 @@
dependencies:
"@babel/runtime" "^7.13.10"

"@react-hook/latest@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@react-hook/latest/-/latest-1.0.3.tgz#c2d1d0b0af8b69ec6e2b3a2412ba0768ac82db80"
integrity sha512-dy6duzl+JnAZcDbNTfmaP3xHiKtbXYOaz3G51MGVljh548Y8MWzTr+PHLOfvpypEVW9zwvl+VyKjbWKEVbV1Rg==

"@socket.io/component-emitter@~3.1.0":
version "3.1.0"
resolved "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz"
Expand Down Expand Up @@ -652,6 +708,11 @@ clsx@^1.1.1, clsx@^1.2.1:
resolved "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz"
integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==

clsx@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b"
integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==

combine-errors@^3.0.3:
version "3.0.3"
resolved "https://registry.npmjs.org/combine-errors/-/combine-errors-3.0.3.tgz"
Expand Down Expand Up @@ -751,6 +812,11 @@ [email protected], elliptic@^6.5.4:
minimalistic-assert "^1.0.1"
minimalistic-crypto-utils "^1.0.1"

email-regex@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/email-regex/-/email-regex-5.0.0.tgz#c8b1f4c7f251929b53586a7a3891da09c8dea26d"
integrity sha512-he76Cm8JFxb6OGQHabLBPdsiStgPmJeAEhctmw0uhonUh1pCBsHpI6/rB62s2GNzjBb0YlhIcF/1l9Lp5AfH0Q==

emoji-picker-react@^4.4.9:
version "4.4.10"
resolved "https://registry.npmjs.org/emoji-picker-react/-/emoji-picker-react-4.4.10.tgz"
Expand Down Expand Up @@ -784,6 +850,11 @@ entities@^3.0.1:
resolved "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz"
integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==

events@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==

font-awesome@^4.7.0:
version "4.7.0"
resolved "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz"
Expand All @@ -799,6 +870,11 @@ gif-picker-react@^1.1.0:
resolved "https://registry.npmjs.org/gif-picker-react/-/gif-picker-react-1.3.0.tgz"
integrity sha512-IYDmx9iEouC84JCrOt/HSaiRgHD8o7/catZCspUVpNEXoIunq7CF65JcmyTyoPkVJZcQz0ofjU5Gp5C2bqwOlQ==

global-tld-list@^0.0.1139:
version "0.0.1139"
resolved "https://registry.yarnpkg.com/global-tld-list/-/global-tld-list-0.0.1139.tgz#70400a3f3ccac1a19a8184274a1b117bc8a27969"
integrity sha512-TCWjAwHPzFV6zbQ5jnJvJTctesHGJr9BppxivRuIxTiIFUzaxy1F0674cxjoJecW5s8V32Q5i35dBFqvAy7eGQ==

graceful-fs@^4.2.4:
version "4.2.11"
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz"
Expand Down Expand Up @@ -891,6 +967,19 @@ [email protected]:
resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==

livekit-client@^1.13.3:
version "1.13.4"
resolved "https://registry.yarnpkg.com/livekit-client/-/livekit-client-1.13.4.tgz#af20a338334d6c9e3c81e7c9641222d95a532b75"
integrity sha512-7Ef80q7aWkgkFWfWBd+gv2AcUrubpt+oXYk+tXSWVkTXoPpm6xqrMPu3TNYKIzXQWt8IEbyPQLLVsCZpR7RBTg==
dependencies:
"@bufbuild/protobuf" "^1.3.0"
events "^3.3.0"
loglevel "^1.8.0"
sdp-transform "^2.14.1"
ts-debounce "^4.0.0"
typed-emitter "^2.1.0"
webrtc-adapter "^8.1.1"

[email protected]:
version "2.8.0"
resolved "https://registry.npmjs.org/livepeer/-/livepeer-2.8.0.tgz"
Expand Down Expand Up @@ -955,6 +1044,11 @@ [email protected]:
lodash._baseiteratee "~4.7.0"
lodash._baseuniq "~4.6.0"

loglevel@^1.8.0, loglevel@^1.8.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4"
integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==

loose-envify@^1.0.0:
version "1.4.0"
resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz"
Expand Down Expand Up @@ -1080,11 +1174,28 @@ retry@^0.12.0:
resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz"
integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==

rxjs@^7.5.2, rxjs@^7.8.0:
version "7.8.1"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543"
integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==
dependencies:
tslib "^2.1.0"

scriptjs@^2.5.9:
version "2.5.9"
resolved "https://registry.npmjs.org/scriptjs/-/scriptjs-2.5.9.tgz"
integrity sha512-qGVDoreyYiP1pkQnbnFAUIS5AjenNwwQBdl7zeos9etl+hYKWahjRTfzAZZYBv5xNHx7vNKCmaLDQZ6Fr2AEXg==

sdp-transform@^2.14.1:
version "2.14.1"
resolved "https://registry.yarnpkg.com/sdp-transform/-/sdp-transform-2.14.1.tgz#2bb443583d478dee217df4caa284c46b870d5827"
integrity sha512-RjZyX3nVwJyCuTo5tGPx+PZWkDMCg7oOLpSlhjDdZfwUoNqG1mM8nyj31IGHyaPWXhjbP7cdK3qZ2bmkJ1GzRw==

sdp@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/sdp/-/sdp-3.2.0.tgz#8961420552b36663b4d13ddba6f478d1461896a5"
integrity sha512-d7wDPgDV3DDiqulJjKiV2865wKsJ34YI+NDREbm+FySq6WuKOikwyNQcm+doLAZ1O6ltdO0SeKle2xMpN3Brgw==

signal-exit@^3.0.2:
version "3.0.7"
resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz"
Expand Down Expand Up @@ -1132,6 +1243,11 @@ tr46@~0.0.3:
resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz"
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==

ts-debounce@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/ts-debounce/-/ts-debounce-4.0.0.tgz#33440ef64fab53793c3d546a8ca6ae539ec15841"
integrity sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg==

tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.0:
version "2.5.0"
resolved "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz"
Expand All @@ -1150,6 +1266,13 @@ tus-js-client@^3.1.0:
proper-lockfile "^4.1.2"
url-parse "^1.5.7"

typed-emitter@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/typed-emitter/-/typed-emitter-2.1.0.tgz#ca78e3d8ef1476f228f548d62e04e3d4d3fd77fb"
integrity sha512-g/KzbYKbH5C2vPkaXGu8DJlHrGKHLsM25Zg9WuC9pMGfuvT+X25tZQWo5fK1BjBm8+UrVE9LDCvaY0CQk+fXDA==
optionalDependencies:
rxjs "^7.5.2"

url-parse@^1.5.7:
version "1.5.10"
resolved "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz"
Expand Down Expand Up @@ -1178,11 +1301,28 @@ [email protected], use-sync-external-store@^1.2.0:
resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz"
integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==

usehooks-ts@^2.9.1:
version "2.9.1"
resolved "https://registry.yarnpkg.com/usehooks-ts/-/usehooks-ts-2.9.1.tgz#953d3284851ffd097432379e271ce046a8180b37"
integrity sha512-2FAuSIGHlY+apM9FVlj8/oNhd+1y+Uwv5QNkMQz1oSfdHk4PXo1qoCw9I5M7j0vpH8CSWFJwXbVPeYDjLCx9PA==

uuid@^9.0.1:
version "9.0.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30"
integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==

webidl-conversions@^3.0.0:
version "3.0.1"
resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz"
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==

webrtc-adapter@^8.1.1:
version "8.2.3"
resolved "https://registry.yarnpkg.com/webrtc-adapter/-/webrtc-adapter-8.2.3.tgz#85e5e52ea68e808be8d6db85e338aa5c95e80022"
integrity sha512-gnmRz++suzmvxtp3ehQts6s2JtAGPuDPjA1F3a9ckNpG1kYdYuHWYpazoAnL9FS5/B21tKlhkorbdCXat0+4xQ==
dependencies:
sdp "^3.2.0"

whatwg-url@^5.0.0:
version "5.0.0"
resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz"
Expand Down