@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="RTCRtpStreamStats")
public interface RTCRtpStreamStats
extends RTCStats
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCRtpStreamStats.Builder
The RTCRtpStreamStats dictionary is returned by the RTCPeerConnection.getStats(), RTCRtpSender.getStats(), and RTCRtpReceiver.getStats() methods to provide detailed statistics about WebRTC connectivity.
|
| Modifier and Type | Method and Description |
|---|---|
double |
averageRTCPInterval() |
java.lang.String |
codecId()
The RTCRtpStreamStats dictionary's codecId property is a string which uniquely identifies the object that was inspected to produce the data in the RTCCodecStats for the RTP stream.
|
static RTCRtpStreamStats.Builder |
create(java.lang.String id,
double timestamp,
java.lang.String type,
java.lang.String kind,
int ssrc) |
java.lang.String |
kind()
The kind property of the RTCRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media.
|
java.lang.String |
mediaType() |
void |
setAverageRTCPInterval(double averageRTCPInterval) |
void |
setCodecId(java.lang.String codecId)
The RTCRtpStreamStats dictionary's codecId property is a string which uniquely identifies the object that was inspected to produce the data in the RTCCodecStats for the RTP stream.
|
void |
setKind(java.lang.String kind)
The kind property of the RTCRtpStreamStats dictionary is a string indicating whether the described RTP stream contains audio or video media.
|
void |
setMediaType(java.lang.String mediaType) |
void |
setSsrc(int ssrc)
The RTCRtpStreamStats dictionary's ssrc property provides the Synchronization Source (SSRC), an integer which uniquely identifies the source of the RTP packets whose statistics are covered by the RTCStatsReport that includes this RTCRtpStreamStats dictionary.
|
void |
setTransportId(java.lang.String transportId)
The RTCRtpStreamStats dictionary's transportId property is a string which uniquely identifies the object from which the statistics contained in the RTCTransportStats properties in the RTCStatsReport.
|
int |
ssrc()
The RTCRtpStreamStats dictionary's ssrc property provides the Synchronization Source (SSRC), an integer which uniquely identifies the source of the RTP packets whose statistics are covered by the RTCStatsReport that includes this RTCRtpStreamStats dictionary.
|
java.lang.String |
transportId()
The RTCRtpStreamStats dictionary's transportId property is a string which uniquely identifies the object from which the statistics contained in the RTCTransportStats properties in the RTCStatsReport.
|
@JsOverlay @Nonnull static RTCRtpStreamStats.Builder create(@Nonnull java.lang.String id, double timestamp, @RTCStatsType @Nonnull java.lang.String type, @Nonnull java.lang.String kind, int ssrc)
@JsProperty(name="codecId") java.lang.String codecId()
@JsProperty
void setCodecId(@Nonnull
java.lang.String codecId)
@JsProperty(name="kind") @Nonnull java.lang.String kind()
@JsProperty
void setKind(@Nonnull
java.lang.String kind)
@JsProperty(name="ssrc") int ssrc()
@JsProperty void setSsrc(int ssrc)
@JsProperty(name="transportId") java.lang.String transportId()
@JsProperty
void setTransportId(@Nonnull
java.lang.String transportId)
@JsProperty(name="averageRTCPInterval") double averageRTCPInterval()
@JsProperty void setAverageRTCPInterval(double averageRTCPInterval)
@JsProperty(name="mediaType") java.lang.String mediaType()
@JsProperty
void setMediaType(@Nonnull
java.lang.String mediaType)