elemental2.dom.RTCRtpParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jacline-elemental2-dom Show documentation
Show all versions of jacline-elemental2-dom Show documentation
Thin Java abstractions for the standard built-in objects for
Javascript.
The newest version!
package elemental2.dom;
import jsinterop.annotations.JsProperty;
import elemental2.dom.RTCRtpCodecParameters;
import elemental2.dom.RTCRtcpParameters;
import jsinterop.base.Js;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
import elemental2.dom.RTCRtpHeaderExtensionParameters;
import jsinterop.base.JsPropertyMap;
import elemental2.core.JsArray;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public interface RTCRtpParameters{
@JsOverlay
static RTCRtpParameters create(){
return Js.uncheckedCast(JsPropertyMap.of());
}
@JsProperty
JsArray getCodecs();
@JsProperty
JsArray getHeaderExtensions();
@JsProperty
RTCRtcpParameters getRtcp();
@JsProperty
void setCodecs(JsArray codecs);
@JsOverlay
default void setCodecs(RTCRtpCodecParameters[] codecs){
setCodecs(Js.>uncheckedCast(codecs));
}
@JsProperty
void setHeaderExtensions(JsArray headerExtensions);
@JsOverlay
default void setHeaderExtensions(RTCRtpHeaderExtensionParameters[] headerExtensions){
setHeaderExtensions(Js.>uncheckedCast(headerExtensions));
}
@JsProperty
void setRtcp(RTCRtcpParameters rtcp);
}