summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/datachannelparameters.go
blob: d67a63b09a1ed18381a6ae82b16c1df5d4140123 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"`
}