diff options
Diffstat (limited to 'vendor/github.com/pion/webrtc/v3/datachannelparameters.go')
-rw-r--r-- | vendor/github.com/pion/webrtc/v3/datachannelparameters.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/pion/webrtc/v3/datachannelparameters.go b/vendor/github.com/pion/webrtc/v3/datachannelparameters.go new file mode 100644 index 0000000..d67a63b --- /dev/null +++ b/vendor/github.com/pion/webrtc/v3/datachannelparameters.go @@ -0,0 +1,12 @@ +package webrtc + +// DataChannelParameters describes the configuration of the DataChannel. +type DataChannelParameters struct { + Label string `json:"label"` + Protocol string `json:"protocol"` + ID *uint16 `json:"id"` + Ordered bool `json:"ordered"` + MaxPacketLifeTime *uint16 `json:"maxPacketLifeTime"` + MaxRetransmits *uint16 `json:"maxRetransmits"` + Negotiated bool `json:"negotiated"` +} |