Skip to content

Commit

Permalink
api: don't export dictionary-like objects which browsers don't export
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Oct 13, 2022
1 parent 04c845f commit 21cf2a7
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ import permissions from './Permissions';
import RTCErrorEvent from './RTCErrorEvent';
import RTCIceCandidate from './RTCIceCandidate';
import RTCPeerConnection from './RTCPeerConnection';
import RTCRtcpParameters from './RTCRtcpParameters';
import RTCRtpCapabilities from './RTCRtpCapabilities';
import RTCRtpCodecCapability from './RTCRtpCodecCapability';
import RTCRtpCodecParameters from './RTCRtpCodecParameters';
import RTCRtpEncodingParameters from './RTCRtpEncodingParameters';
import RTCRtpHeaderExtension from './RTCRtpHeaderExtension';
import RTCRtpParameters from './RTCRtpParameters';
import RTCRtpReceiveParameters from './RTCRtpReceiveParameters';
import RTCRtpReceiver from './RTCRtpReceiver';
import RTCRtpSendParameters from './RTCRtpSendParameters';
import RTCRtpSender from './RTCRtpSender';
import RTCRtpTransceiver from './RTCRtpTransceiver';
import RTCSessionDescription from './RTCSessionDescription';
Expand All @@ -35,15 +26,6 @@ export {
RTCRtpReceiver,
RTCRtpSender,
RTCErrorEvent,
RTCRtpCapabilities,
RTCRtpCodecCapability,
RTCRtpCodecParameters,
RTCRtpEncodingParameters,
RTCRtpParameters,
RTCRtpSendParameters,
RTCRtpReceiveParameters,
RTCRtcpParameters,
RTCRtpHeaderExtension,
MediaStream,
MediaStreamTrack,
mediaDevices,
Expand Down Expand Up @@ -78,13 +60,4 @@ function registerGlobals(): void {
global.RTCRtpReceiver = RTCRtpReceiver;
global.RTCRtpSender = RTCRtpSender;
global.RTCErrorEvent = RTCErrorEvent;
global.RTCRtpCapabilities = RTCRtpCapabilities;
global.RTCRtpCodecCapability = RTCRtpCodecCapability;
global.RTCRtpCodecParameters = RTCRtpCodecParameters;
global.RTCRtpEncodingParameters = RTCRtpEncodingParameters;
global.RTCRtpParameters = RTCRtpParameters;
global.RTCRtpSendParameters = RTCRtpSendParameters;
global.RTCRtpReceiverParameters = RTCRtpReceiveParameters;
global.RTCRtcpParameters = RTCRtcpParameters;
global.RTCRtpHeaderExtension = RTCRtpHeaderExtension;
}

0 comments on commit 21cf2a7

Please sign in to comment.