datachannelparameters.go 449 B

123456789101112
  1. package webrtc
  2. // DataChannelParameters describes the configuration of the DataChannel.
  3. type DataChannelParameters struct {
  4. Label string `json:"label"`
  5. Protocol string `json:"protocol"`
  6. ID *uint16 `json:"id"`
  7. Ordered bool `json:"ordered"`
  8. MaxPacketLifeTime *uint16 `json:"maxPacketLifeTime"`
  9. MaxRetransmits *uint16 `json:"maxRetransmits"`
  10. Negotiated bool `json:"negotiated"`
  11. }