datachannelparameters.go 551 B

123456789101112131415
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. package webrtc
  4. // DataChannelParameters describes the configuration of the DataChannel.
  5. type DataChannelParameters struct {
  6. Label string `json:"label"`
  7. Protocol string `json:"protocol"`
  8. ID *uint16 `json:"id"`
  9. Ordered bool `json:"ordered"`
  10. MaxPacketLifeTime *uint16 `json:"maxPacketLifeTime"`
  11. MaxRetransmits *uint16 `json:"maxRetransmits"`
  12. Negotiated bool `json:"negotiated"`
  13. }