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