import { WebRtcPeerConfiguration } from './WebRtcPeer'; import { WebRtcPeer } from './WebRtcPeer'; export declare class WebRtcPeerLEGACY extends WebRtcPeer { protected configuration: WebRtcPeerConfiguration; constructor(configuration: WebRtcPeerConfiguration); /** * Function that creates an offer, sets it as local description and returns the offer param * to send to OpenVidu Server (will be the remote description of other peer) */ generateOffer(): Promise; /** * Function invoked when a SDP answer is received. Final step in SDP negotiation, the peer * just needs to set the answer as its remote description */ processAnswer(sdpAnswer: string, needsTimeoutOnProcessAnswer: boolean): Promise; /** * @hidden */ private setRemoteDescriptionLEGACY; } export declare class WebRtcPeerRecvonlyLEGACY extends WebRtcPeerLEGACY { constructor(configuration: WebRtcPeerConfiguration); } export declare class WebRtcPeerSendonlyLEGACY extends WebRtcPeerLEGACY { constructor(configuration: WebRtcPeerConfiguration); } export declare class WebRtcPeerSendrecvLEGACY extends WebRtcPeerLEGACY { constructor(configuration: WebRtcPeerConfiguration); }