public interface PeerConnection00 extends EventTarget
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE |
static int |
CLOSED |
static int |
ICE_CHECKING |
static int |
ICE_CLOSED |
static int |
ICE_COMPLETED |
static int |
ICE_CONNECTED |
static int |
ICE_FAILED |
static int |
ICE_GATHERING |
static int |
ICE_WAITING |
static int |
NEW |
static int |
OPENING |
static int |
SDP_ANSWER |
static int |
SDP_OFFER |
static int |
SDP_PRANSWER |
static final int ACTIVE
static final int CLOSED
static final int ICE_CHECKING
static final int ICE_CLOSED
static final int ICE_COMPLETED
static final int ICE_CONNECTED
static final int ICE_FAILED
static final int ICE_GATHERING
static final int ICE_WAITING
static final int NEW
static final int OPENING
static final int SDP_ANSWER
static final int SDP_OFFER
static final int SDP_PRANSWER
int getIceState()
SessionDescription getLocalDescription()
MediaStreamList getLocalStreams()
EventListener getOnaddstream()
void setOnaddstream(EventListener arg)
EventListener getOnconnecting()
void setOnconnecting(EventListener arg)
EventListener getOnopen()
void setOnopen(EventListener arg)
EventListener getOnremovestream()
void setOnremovestream(EventListener arg)
EventListener getOnstatechange()
void setOnstatechange(EventListener arg)
int getReadyState()
SessionDescription getRemoteDescription()
MediaStreamList getRemoteStreams()
EventRemover addEventListener(String type, EventListener listener)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
EventRemover addEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
void addStream(MediaStream stream)
void addStream(MediaStream stream, Mappable mediaStreamHints)
void close()
SessionDescription createAnswer(String offer)
SessionDescription createAnswer(String offer, Mappable mediaHints)
SessionDescription createOffer()
SessionDescription createOffer(Mappable mediaHints)
boolean dispatchEvent(Event event)
EventTarget
EventTarget
.dispatchEvent
in interface EventTarget
void processIceMessage(IceCandidate candidate)
void removeEventListener(String type, EventListener listener)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void removeEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void removeStream(MediaStream stream)
void startIce()
void startIce(Mappable iceOptions)
Copyright © 2018. All rights reserved.