import VideoStreamIdSet from '../videostreamidset/VideoStreamIdSet' ; import VideoStreamIndex from '../videostreamindex/VideoStreamIndex' ; /**
 * [[TransceiverController]] provides an interface for managing transceivers
 * associated with peer connection.
 */ export default interface TransceiverController { /**
     * Sets the peer connection.
     */ setPeer ( peer ) : void ; /**
     * Resets the transceiver controller states.
     */ reset ( ) : void ; /**
     * Indicates whether the transceiver is used.
     */ useTransceivers ( ) : boolean ; /**
     *  Indicates if there is a video input attached
     */ hasVideoInput ( ) : boolean ; /**
     * Returns whether the track is a video track.
     */ trackIsVideoInput ( track ) : boolean ; /**
     * Creates audio and video transceivers.
     */ setupLocalTransceivers ( ) : void ; /**
     * Sets the audio track.
     */ setAudioInput ( track ) : Promise < void > ; /**
     * Replaces [[MediaStreamTrack]] on audio transceiver of sendrecv direction.
     */ replaceAudioTrack ( track ) : Promise < boolean > ; /**
     * Sets the video track.
     */ setVideoInput ( track ) : Promise < void > ; /**
     * Updates video transceivers.
     */ updateVideoTransceivers ( videoStreamIndex , videosToReceive ) : number [ ] ; /**
     * Get the associated MID for a given stream ID, either set via `updateVideoTranceivers`
     * or overriden through `setStreamIdForMid`.
     */ getMidForStreamId ? ( streamId ) : string | undefined ; /**
     * Override or set an internal mapping of stream ID to MID.
     */ setStreamIdForMid ? ( mid , streamId ) : void ; /**
     * Sets video sending bitrate in Kilo-bit-per-second
     */ setVideoSendingBitrateKbps ( bitrateKbps ) : void ; /**
     * Returns the [[RTCRtpTransceiver]] for audio
     */ localAudioTransceiver ( ) : RTCRtpTransceiver ; /**
     * Returns the [[RTCRtpTransceiver]] for local camera
     */ localVideoTransceiver ( ) : RTCRtpTransceiver ; param { Map < string , RTCRtpEncodingParameters > } params setEncodingParameters ( params ) : void ; }