webapi: github.com/gowebapi/webapi/media/webrtc/stats Index | Files

package stats

import "github.com/gowebapi/webapi/media/webrtc/stats"

Package stats contains WebRTC statistic data

Index

Package Files

doc.go stats.go

type AudioHandlerStats Uses

type AudioHandlerStats struct {
    Timestamp            float64
    Type                 webrtc.StatsType
    Id                   string
    TrackIdentifier      string
    RemoteSource         bool
    Ended                bool
    Kind                 string
    Priority             webrtc.PriorityType
    AudioLevel           float64
    TotalAudioEnergy     float64
    VoiceActivityFlag    bool
    TotalSamplesDuration float64
}

dictionary: RTCAudioHandlerStats

func AudioHandlerStatsFromJS Uses

func AudioHandlerStatsFromJS(value js.Wrapper) *AudioHandlerStats

AudioHandlerStatsFromJS is allocating a new AudioHandlerStats object and copy all values from input javascript object

func (*AudioHandlerStats) JSValue Uses

func (_this *AudioHandlerStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type AudioReceiverStats Uses

type AudioReceiverStats struct {
    Timestamp                 float64
    Type                      webrtc.StatsType
    Id                        string
    TrackIdentifier           string
    RemoteSource              bool
    Ended                     bool
    Kind                      string
    Priority                  webrtc.PriorityType
    AudioLevel                float64
    TotalAudioEnergy          float64
    VoiceActivityFlag         bool
    TotalSamplesDuration      float64
    EstimatedPlayoutTimestamp float64
    JitterBufferDelay         float64
    JitterBufferEmittedCount  int
    TotalSamplesReceived      int
    ConcealedSamples          int
    ConcealmentEvents         int
}

dictionary: RTCAudioReceiverStats

func AudioReceiverStatsFromJS Uses

func AudioReceiverStatsFromJS(value js.Wrapper) *AudioReceiverStats

AudioReceiverStatsFromJS is allocating a new AudioReceiverStats object and copy all values from input javascript object

func (*AudioReceiverStats) JSValue Uses

func (_this *AudioReceiverStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type AudioSenderStats Uses

type AudioSenderStats struct {
    Timestamp                 float64
    Type                      webrtc.StatsType
    Id                        string
    TrackIdentifier           string
    RemoteSource              bool
    Ended                     bool
    Kind                      string
    Priority                  webrtc.PriorityType
    AudioLevel                float64
    TotalAudioEnergy          float64
    VoiceActivityFlag         bool
    TotalSamplesDuration      float64
    EchoReturnLoss            float64
    EchoReturnLossEnhancement float64
    TotalSamplesSent          int
}

dictionary: RTCAudioSenderStats

func AudioSenderStatsFromJS Uses

func AudioSenderStatsFromJS(value js.Wrapper) *AudioSenderStats

AudioSenderStatsFromJS is allocating a new AudioSenderStats object and copy all values from input javascript object

func (*AudioSenderStats) JSValue Uses

func (_this *AudioSenderStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type CertificateStats Uses

type CertificateStats struct {
    Timestamp            float64
    Type                 webrtc.StatsType
    Id                   string
    Fingerprint          string
    FingerprintAlgorithm string
    Base64Certificate    string
    IssuerCertificateId  string
}

dictionary: RTCCertificateStats

func CertificateStatsFromJS Uses

func CertificateStatsFromJS(value js.Wrapper) *CertificateStats

CertificateStatsFromJS is allocating a new CertificateStats object and copy all values from input javascript object

func (*CertificateStats) JSValue Uses

func (_this *CertificateStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type CodecStats Uses

type CodecStats struct {
    Timestamp      float64
    Type           webrtc.StatsType
    Id             string
    PayloadType    uint
    CodecType      CodecType
    TransportId    string
    MimeType       string
    ClockRate      uint
    Channels       uint
    SdpFmtpLine    string
    Implementation string
}

dictionary: RTCCodecStats

func CodecStatsFromJS Uses

func CodecStatsFromJS(value js.Wrapper) *CodecStats

CodecStatsFromJS is allocating a new CodecStats object and copy all values from input javascript object

func (*CodecStats) JSValue Uses

func (_this *CodecStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type CodecType Uses

type CodecType int

enum: RTCCodecType

const (
    EncodeRTCCodecType CodecType = iota
    DecodeRTCCodecType
)

func CodecTypeFromJS Uses

func CodecTypeFromJS(value js.Value) CodecType

CodecTypeFromJS is converting a javascript value into a CodecType enum value.

func (*CodecType) JSValue Uses

func (this *CodecType) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (CodecType) Value Uses

func (this CodecType) Value() string

Value is converting this into javascript defined string value

type DataChannelStats Uses

type DataChannelStats struct {
    Timestamp             float64
    Type                  webrtc.StatsType
    Id                    string
    Label                 string
    Protocol              string
    DataChannelIdentifier int
    TransportId           string
    State                 webrtc.DataChannelState
    MessagesSent          uint
    BytesSent             int
    MessagesReceived      uint
    BytesReceived         int
}

dictionary: RTCDataChannelStats

func DataChannelStatsFromJS Uses

func DataChannelStatsFromJS(value js.Wrapper) *DataChannelStats

DataChannelStatsFromJS is allocating a new DataChannelStats object and copy all values from input javascript object

func (*DataChannelStats) JSValue Uses

func (_this *DataChannelStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type IceCandidatePairStats Uses

type IceCandidatePairStats struct {
    Timestamp                   float64
    Type                        webrtc.StatsType
    Id                          string
    TransportId                 string
    LocalCandidateId            string
    RemoteCandidateId           string
    State                       StatsIceCandidatePairState
    Nominated                   bool
    PacketsSent                 uint
    PacketsReceived             uint
    BytesSent                   int
    BytesReceived               int
    LastPacketSentTimestamp     float64
    LastPacketReceivedTimestamp float64
    FirstRequestTimestamp       float64
    LastRequestTimestamp        float64
    LastResponseTimestamp       float64
    TotalRoundTripTime          float64
    CurrentRoundTripTime        float64
    AvailableOutgoingBitrate    float64
    AvailableIncomingBitrate    float64
    CircuitBreakerTriggerCount  uint
    RequestsReceived            int
    RequestsSent                int
    ResponsesReceived           int
    ResponsesSent               int
    RetransmissionsReceived     int
    RetransmissionsSent         int
    ConsentRequestsSent         int
    ConsentExpiredTimestamp     float64
    TotalRtt                    float64
    CurrentRtt                  float64
    Priority                    int
}

dictionary: RTCIceCandidatePairStats

func IceCandidatePairStatsFromJS Uses

func IceCandidatePairStatsFromJS(value js.Wrapper) *IceCandidatePairStats

IceCandidatePairStatsFromJS is allocating a new IceCandidatePairStats object and copy all values from input javascript object

func (*IceCandidatePairStats) JSValue Uses

func (_this *IceCandidatePairStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type IceCandidateStats Uses

type IceCandidateStats struct {
    Timestamp     float64
    Type          webrtc.StatsType
    Id            string
    TransportId   string
    NetworkType   NetworkType
    Address       *string
    Port          int
    Protocol      string
    CandidateType webrtc.IceCandidateType
    Priority      int
    Url           string
    RelayProtocol string
    Deleted       bool
    IsRemote      bool
}

dictionary: RTCIceCandidateStats

func IceCandidateStatsFromJS Uses

func IceCandidateStatsFromJS(value js.Wrapper) *IceCandidateStats

IceCandidateStatsFromJS is allocating a new IceCandidateStats object and copy all values from input javascript object

func (*IceCandidateStats) JSValue Uses

func (_this *IceCandidateStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type InboundRtpStreamStats Uses

type InboundRtpStreamStats struct {
    Timestamp                   float64
    Type                        webrtc.StatsType
    Id                          string
    Ssrc                        uint
    Kind                        string
    TransportId                 string
    CodecId                     string
    FirCount                    uint
    PliCount                    uint
    NackCount                   uint
    SliCount                    uint
    QpSum                       int
    MediaType                   string
    AverageRTCPInterval         float64
    PacketsReceived             uint
    PacketsLost                 int
    Jitter                      float64
    PacketsDiscarded            uint
    PacketsRepaired             uint
    BurstPacketsLost            uint
    BurstPacketsDiscarded       uint
    BurstLossCount              uint
    BurstDiscardCount           uint
    BurstLossRate               float64
    BurstDiscardRate            float64
    GapLossRate                 float64
    GapDiscardRate              float64
    TrackId                     string
    ReceiverId                  string
    RemoteId                    string
    FramesDecoded               uint
    LastPacketReceivedTimestamp float64
    AverageRtcpInterval         float64
    FecPacketsReceived          uint
    BytesReceived               int
    PacketsFailedDecryption     uint
    PacketsDuplicated           uint
}

dictionary: RTCInboundRtpStreamStats

func InboundRtpStreamStatsFromJS Uses

func InboundRtpStreamStatsFromJS(value js.Wrapper) *InboundRtpStreamStats

InboundRtpStreamStatsFromJS is allocating a new InboundRtpStreamStats object and copy all values from input javascript object

func (*InboundRtpStreamStats) JSValue Uses

func (_this *InboundRtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type MediaHandlerStats Uses

type MediaHandlerStats struct {
    Timestamp       float64
    Type            webrtc.StatsType
    Id              string
    TrackIdentifier string
    RemoteSource    bool
    Ended           bool
    Kind            string
    Priority        webrtc.PriorityType
}

dictionary: RTCMediaHandlerStats

func MediaHandlerStatsFromJS Uses

func MediaHandlerStatsFromJS(value js.Wrapper) *MediaHandlerStats

MediaHandlerStatsFromJS is allocating a new MediaHandlerStats object and copy all values from input javascript object

func (*MediaHandlerStats) JSValue Uses

func (_this *MediaHandlerStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type MediaStreamStats Uses

type MediaStreamStats struct {
    Timestamp        float64
    Type             webrtc.StatsType
    Id               string
    StreamIdentifier string
    TrackIds         []string
}

dictionary: RTCMediaStreamStats

func MediaStreamStatsFromJS Uses

func MediaStreamStatsFromJS(value js.Wrapper) *MediaStreamStats

MediaStreamStatsFromJS is allocating a new MediaStreamStats object and copy all values from input javascript object

func (*MediaStreamStats) JSValue Uses

func (_this *MediaStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type NetworkType Uses

type NetworkType int

enum: RTCNetworkType

const (
    BluetoothRTCNetworkType NetworkType = iota
    CellularRTCNetworkType
    EthernetRTCNetworkType
    WifiRTCNetworkType
    WimaxRTCNetworkType
    VpnRTCNetworkType
    UnknownRTCNetworkType
)

func NetworkTypeFromJS Uses

func NetworkTypeFromJS(value js.Value) NetworkType

NetworkTypeFromJS is converting a javascript value into a NetworkType enum value.

func (*NetworkType) JSValue Uses

func (this *NetworkType) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (NetworkType) Value Uses

func (this NetworkType) Value() string

Value is converting this into javascript defined string value

type OutboundRtpStreamStats Uses

type OutboundRtpStreamStats struct {
    Timestamp               float64
    Type                    webrtc.StatsType
    Id                      string
    Ssrc                    uint
    Kind                    string
    TransportId             string
    CodecId                 string
    FirCount                uint
    PliCount                uint
    NackCount               uint
    SliCount                uint
    QpSum                   int
    MediaType               string
    AverageRTCPInterval     float64
    PacketsSent             uint
    PacketsDiscardedOnSend  uint
    FecPacketsSent          uint
    BytesSent               int
    BytesDiscardedOnSend    int
    TrackId                 string
    SenderId                string
    RemoteId                string
    LastPacketSentTimestamp float64
    TargetBitrate           float64
    FramesEncoded           uint
    TotalEncodeTime         float64
    AverageRtcpInterval     float64
    QualityLimitationReason QualityLimitationReason
}

dictionary: RTCOutboundRtpStreamStats

func OutboundRtpStreamStatsFromJS Uses

func OutboundRtpStreamStatsFromJS(value js.Wrapper) *OutboundRtpStreamStats

OutboundRtpStreamStatsFromJS is allocating a new OutboundRtpStreamStats object and copy all values from input javascript object

func (*OutboundRtpStreamStats) JSValue Uses

func (_this *OutboundRtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type PeerConnectionStats Uses

type PeerConnectionStats struct {
    Timestamp             float64
    Type                  webrtc.StatsType
    Id                    string
    DataChannelsOpened    uint
    DataChannelsClosed    uint
    DataChannelsRequested uint
    DataChannelsAccepted  uint
}

dictionary: RTCPeerConnectionStats

func PeerConnectionStatsFromJS Uses

func PeerConnectionStatsFromJS(value js.Wrapper) *PeerConnectionStats

PeerConnectionStatsFromJS is allocating a new PeerConnectionStats object and copy all values from input javascript object

func (*PeerConnectionStats) JSValue Uses

func (_this *PeerConnectionStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type QualityLimitationReason Uses

type QualityLimitationReason int

enum: RTCQualityLimitationReason

const (
    NoneRTCQualityLimitationReason QualityLimitationReason = iota
    CpuRTCQualityLimitationReason
    BandwidthRTCQualityLimitationReason
    OtherRTCQualityLimitationReason
)

func QualityLimitationReasonFromJS Uses

func QualityLimitationReasonFromJS(value js.Value) QualityLimitationReason

QualityLimitationReasonFromJS is converting a javascript value into a QualityLimitationReason enum value.

func (*QualityLimitationReason) JSValue Uses

func (this *QualityLimitationReason) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (QualityLimitationReason) Value Uses

func (this QualityLimitationReason) Value() string

Value is converting this into javascript defined string value

type ReceivedRtpStreamStats Uses

type ReceivedRtpStreamStats struct {
    Timestamp             float64
    Type                  webrtc.StatsType
    Id                    string
    Ssrc                  uint
    Kind                  string
    TransportId           string
    CodecId               string
    FirCount              uint
    PliCount              uint
    NackCount             uint
    SliCount              uint
    QpSum                 int
    MediaType             string
    AverageRTCPInterval   float64
    PacketsReceived       uint
    PacketsLost           int
    Jitter                float64
    PacketsDiscarded      uint
    PacketsRepaired       uint
    BurstPacketsLost      uint
    BurstPacketsDiscarded uint
    BurstLossCount        uint
    BurstDiscardCount     uint
    BurstLossRate         float64
    BurstDiscardRate      float64
    GapLossRate           float64
    GapDiscardRate        float64
}

dictionary: RTCReceivedRtpStreamStats

func ReceivedRtpStreamStatsFromJS Uses

func ReceivedRtpStreamStatsFromJS(value js.Wrapper) *ReceivedRtpStreamStats

ReceivedRtpStreamStatsFromJS is allocating a new ReceivedRtpStreamStats object and copy all values from input javascript object

func (*ReceivedRtpStreamStats) JSValue Uses

func (_this *ReceivedRtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type RemoteInboundRtpStreamStats Uses

type RemoteInboundRtpStreamStats struct {
    Timestamp             float64
    Type                  webrtc.StatsType
    Id                    string
    Ssrc                  uint
    Kind                  string
    TransportId           string
    CodecId               string
    FirCount              uint
    PliCount              uint
    NackCount             uint
    SliCount              uint
    QpSum                 int
    MediaType             string
    AverageRTCPInterval   float64
    PacketsReceived       uint
    PacketsLost           int
    Jitter                float64
    PacketsDiscarded      uint
    PacketsRepaired       uint
    BurstPacketsLost      uint
    BurstPacketsDiscarded uint
    BurstLossCount        uint
    BurstDiscardCount     uint
    BurstLossRate         float64
    BurstDiscardRate      float64
    GapLossRate           float64
    GapDiscardRate        float64
    LocalId               string
    RoundTripTime         float64
    FractionLost          float64
}

dictionary: RTCRemoteInboundRtpStreamStats

func RemoteInboundRtpStreamStatsFromJS Uses

func RemoteInboundRtpStreamStatsFromJS(value js.Wrapper) *RemoteInboundRtpStreamStats

RemoteInboundRtpStreamStatsFromJS is allocating a new RemoteInboundRtpStreamStats object and copy all values from input javascript object

func (*RemoteInboundRtpStreamStats) JSValue Uses

func (_this *RemoteInboundRtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type RemoteOutboundRtpStreamStats Uses

type RemoteOutboundRtpStreamStats struct {
    Timestamp              float64
    Type                   webrtc.StatsType
    Id                     string
    Ssrc                   uint
    Kind                   string
    TransportId            string
    CodecId                string
    FirCount               uint
    PliCount               uint
    NackCount              uint
    SliCount               uint
    QpSum                  int
    MediaType              string
    AverageRTCPInterval    float64
    PacketsSent            uint
    PacketsDiscardedOnSend uint
    FecPacketsSent         uint
    BytesSent              int
    BytesDiscardedOnSend   int
    LocalId                string
    RemoteTimestamp        float64
}

dictionary: RTCRemoteOutboundRtpStreamStats

func RemoteOutboundRtpStreamStatsFromJS Uses

func RemoteOutboundRtpStreamStatsFromJS(value js.Wrapper) *RemoteOutboundRtpStreamStats

RemoteOutboundRtpStreamStatsFromJS is allocating a new RemoteOutboundRtpStreamStats object and copy all values from input javascript object

func (*RemoteOutboundRtpStreamStats) JSValue Uses

func (_this *RemoteOutboundRtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type RtpContributingSourceStats Uses

type RtpContributingSourceStats struct {
    Timestamp            float64
    Type                 webrtc.StatsType
    Id                   string
    ContributorSsrc      uint
    InboundRtpStreamId   string
    PacketsContributedTo uint
    AudioLevel           float64
}

dictionary: RTCRtpContributingSourceStats

func RtpContributingSourceStatsFromJS Uses

func RtpContributingSourceStatsFromJS(value js.Wrapper) *RtpContributingSourceStats

RtpContributingSourceStatsFromJS is allocating a new RtpContributingSourceStats object and copy all values from input javascript object

func (*RtpContributingSourceStats) JSValue Uses

func (_this *RtpContributingSourceStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type RtpStreamStats Uses

type RtpStreamStats struct {
    Timestamp           float64
    Type                webrtc.StatsType
    Id                  string
    Ssrc                uint
    Kind                string
    TransportId         string
    CodecId             string
    FirCount            uint
    PliCount            uint
    NackCount           uint
    SliCount            uint
    QpSum               int
    MediaType           string
    AverageRTCPInterval float64
}

dictionary: RTCRtpStreamStats

func RtpStreamStatsFromJS Uses

func RtpStreamStatsFromJS(value js.Wrapper) *RtpStreamStats

RtpStreamStatsFromJS is allocating a new RtpStreamStats object and copy all values from input javascript object

func (*RtpStreamStats) JSValue Uses

func (_this *RtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type SenderAudioTrackAttachmentStats Uses

type SenderAudioTrackAttachmentStats struct {
    Timestamp                 float64
    Type                      webrtc.StatsType
    Id                        string
    TrackIdentifier           string
    RemoteSource              bool
    Ended                     bool
    Kind                      string
    Priority                  webrtc.PriorityType
    AudioLevel                float64
    TotalAudioEnergy          float64
    VoiceActivityFlag         bool
    TotalSamplesDuration      float64
    EchoReturnLoss            float64
    EchoReturnLossEnhancement float64
    TotalSamplesSent          int
}

dictionary: RTCSenderAudioTrackAttachmentStats

func SenderAudioTrackAttachmentStatsFromJS Uses

func SenderAudioTrackAttachmentStatsFromJS(value js.Wrapper) *SenderAudioTrackAttachmentStats

SenderAudioTrackAttachmentStatsFromJS is allocating a new SenderAudioTrackAttachmentStats object and copy all values from input javascript object

func (*SenderAudioTrackAttachmentStats) JSValue Uses

func (_this *SenderAudioTrackAttachmentStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type SenderVideoTrackAttachmentStats Uses

type SenderVideoTrackAttachmentStats struct {
    Timestamp       float64
    Type            webrtc.StatsType
    Id              string
    TrackIdentifier string
    RemoteSource    bool
    Ended           bool
    Kind            string
    Priority        webrtc.PriorityType
    FrameWidth      uint
    FrameHeight     uint
    FramesPerSecond float64
    FramesCaptured  uint
    FramesSent      uint
    HugeFramesSent  uint
    KeyFramesSent   uint
}

dictionary: RTCSenderVideoTrackAttachmentStats

func SenderVideoTrackAttachmentStatsFromJS Uses

func SenderVideoTrackAttachmentStatsFromJS(value js.Wrapper) *SenderVideoTrackAttachmentStats

SenderVideoTrackAttachmentStatsFromJS is allocating a new SenderVideoTrackAttachmentStats object and copy all values from input javascript object

func (*SenderVideoTrackAttachmentStats) JSValue Uses

func (_this *SenderVideoTrackAttachmentStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type SentRtpStreamStats Uses

type SentRtpStreamStats struct {
    Timestamp              float64
    Type                   webrtc.StatsType
    Id                     string
    Ssrc                   uint
    Kind                   string
    TransportId            string
    CodecId                string
    FirCount               uint
    PliCount               uint
    NackCount              uint
    SliCount               uint
    QpSum                  int
    MediaType              string
    AverageRTCPInterval    float64
    PacketsSent            uint
    PacketsDiscardedOnSend uint
    FecPacketsSent         uint
    BytesSent              int
    BytesDiscardedOnSend   int
}

dictionary: RTCSentRtpStreamStats

func SentRtpStreamStatsFromJS Uses

func SentRtpStreamStatsFromJS(value js.Wrapper) *SentRtpStreamStats

SentRtpStreamStatsFromJS is allocating a new SentRtpStreamStats object and copy all values from input javascript object

func (*SentRtpStreamStats) JSValue Uses

func (_this *SentRtpStreamStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type StatsIceCandidatePairState Uses

type StatsIceCandidatePairState int

enum: RTCStatsIceCandidatePairState

const (
    FrozenRTCStatsIceCandidatePairState StatsIceCandidatePairState = iota
    WaitingRTCStatsIceCandidatePairState
    InProgressRTCStatsIceCandidatePairState
    FailedRTCStatsIceCandidatePairState
    SucceededRTCStatsIceCandidatePairState
)

func StatsIceCandidatePairStateFromJS Uses

func StatsIceCandidatePairStateFromJS(value js.Value) StatsIceCandidatePairState

StatsIceCandidatePairStateFromJS is converting a javascript value into a StatsIceCandidatePairState enum value.

func (*StatsIceCandidatePairState) JSValue Uses

func (this *StatsIceCandidatePairState) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (StatsIceCandidatePairState) Value Uses

func (this StatsIceCandidatePairState) Value() string

Value is converting this into javascript defined string value

type TransportStats Uses

type TransportStats struct {
    Timestamp               float64
    Type                    webrtc.StatsType
    Id                      string
    PacketsSent             uint
    PacketsReceived         uint
    BytesSent               int
    BytesReceived           int
    RtcpTransportStatsId    string
    IceRole                 webrtc.IceRole
    DtlsState               webrtc.DtlsTransportState
    SelectedCandidatePairId string
    LocalCertificateId      string
    RemoteCertificateId     string
    TlsVersion              string
    DtlsCipher              string
    SrtpCipher              string
    TlsGroup                string
}

dictionary: RTCTransportStats

func TransportStatsFromJS Uses

func TransportStatsFromJS(value js.Wrapper) *TransportStats

TransportStatsFromJS is allocating a new TransportStats object and copy all values from input javascript object

func (*TransportStats) JSValue Uses

func (_this *TransportStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

type VideoHandlerStats Uses

type VideoHandlerStats struct {
    Timestamp       float64
    Type            webrtc.StatsType
    Id              string
    TrackIdentifier string
    RemoteSource    bool
    Ended           bool
    Kind            string
    Priority        webrtc.PriorityType
    FrameWidth      uint
    FrameHeight     uint
    FramesPerSecond float64
}

dictionary: RTCVideoHandlerStats

func VideoHandlerStatsFromJS Uses

func VideoHandlerStatsFromJS(value js.Wrapper) *VideoHandlerStats

VideoHandlerStatsFromJS is allocating a new VideoHandlerStats object and copy all values from input javascript object

func (*VideoHandlerStats) JSValue Uses

func (_this *VideoHandlerStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type VideoReceiverStats Uses

type VideoReceiverStats struct {
    Timestamp                 float64
    Type                      webrtc.StatsType
    Id                        string
    TrackIdentifier           string
    RemoteSource              bool
    Ended                     bool
    Kind                      string
    Priority                  webrtc.PriorityType
    FrameWidth                uint
    FrameHeight               uint
    FramesPerSecond           float64
    EstimatedPlayoutTimestamp float64
    JitterBufferDelay         float64
    JitterBufferEmittedCount  int
    FramesReceived            uint
    KeyFramesReceived         uint
    FramesDecoded             uint
    FramesDropped             uint
    PartialFramesLost         uint
    FullFramesLost            uint
}

dictionary: RTCVideoReceiverStats

func VideoReceiverStatsFromJS Uses

func VideoReceiverStatsFromJS(value js.Wrapper) *VideoReceiverStats

VideoReceiverStatsFromJS is allocating a new VideoReceiverStats object and copy all values from input javascript object

func (*VideoReceiverStats) JSValue Uses

func (_this *VideoReceiverStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type VideoSenderStats Uses

type VideoSenderStats struct {
    Timestamp       float64
    Type            webrtc.StatsType
    Id              string
    TrackIdentifier string
    RemoteSource    bool
    Ended           bool
    Kind            string
    Priority        webrtc.PriorityType
    FrameWidth      uint
    FrameHeight     uint
    FramesPerSecond float64
    FramesCaptured  uint
    FramesSent      uint
    HugeFramesSent  uint
    KeyFramesSent   uint
}

dictionary: RTCVideoSenderStats

func VideoSenderStatsFromJS Uses

func VideoSenderStatsFromJS(value js.Wrapper) *VideoSenderStats

VideoSenderStatsFromJS is allocating a new VideoSenderStats object and copy all values from input javascript object

func (*VideoSenderStats) JSValue Uses

func (_this *VideoSenderStats) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

Package stats imports 2 packages (graph). Updated 2019-08-25. Refresh now. Tools for package owners.