trate: 100000 / 2,
              scaleResolutionDownBy: 2,
            },
            {
              rid: "low",
              maxBitrate: 100000 / 4,
              scaleResolutionDownBy: 4,
            },
          ];
          transceiver.sender.setParameters(params);

          const answer = await peer.createAnswer();
          await peer.setLocalDescription(answer);
        };

        React.useEffect(() => {
          main();
        }, []);

        return (
          <div>
            answer
      