PeerConnection

extern class js.html.rtc.PeerConnectionextends EventTargetAvailable in js var iceState(default,null) : String var localDescription(default,null) : SessionDescriptionGetter throws DOMException. var localStreams(default,null) : MediaStreamList var onaddstream : EventListener var ondatachannel : EventListener var onicecandidate : EventListener var onicechange : EventListener var onnegotiationneeded : EventListener var onopen : EventListener var onremovestream : EventListener var onstatechange : EventListener var readyState(default,null) : String var remoteDescription(default,null) : SessionDescriptionGetter throws DOMException. var remoteStreams(default,null) : MediaStreamList function new() : Void function addIceCandidate( candidate : IceCandidate ) : Void function addStream( stream : MediaStream, ?mediaConstraints : Dynamic ) : Void function close() : Void function createAnswer( successCallback : SessionDescriptionCallback, failureCallback : ErrorCallback, ?mediaConstraints : Dynamic ) : Void function createDataChannel( label : String, ?options : Dynamic ) : DataChannel function createOffer( successCallback : SessionDescriptionCallback, failureCallback : ErrorCallback, ?mediaConstraints : Dynamic ) : Void function getStats( successCallback : StatsCallback, selector : MediaStreamTrack ) : Void function removeStream( stream : MediaStream ) : Void function setLocalDescription( description : SessionDescription, successCallback : VoidCallback, failureCallback : ErrorCallback ) : Void function setRemoteDescription( description : SessionDescription, successCallback : VoidCallback, failureCallback : ErrorCallback ) : Void function updateIce( ?configuration : Dynamic, ?mediaConstraints : Dynamic ) : Void
version #18095, modified 2013-05-01 11:54:29 by api
0 comment