mirror of
https://github.com/pion/webrtc.git
synced 2025-10-04 23:02:48 +08:00
11 lines
357 B
Go
11 lines
357 B
Go
package webrtc
|
|
|
|
// DataChannelParameters describes the configuration of the DataChannel.
|
|
type DataChannelParameters struct {
|
|
Label string `json:"label"`
|
|
ID uint16 `json:"id"`
|
|
Ordered bool `json:"ordered"`
|
|
MaxPacketLifeTime *uint16 `json:"maxPacketLifeTime"`
|
|
MaxRetransmits *uint16 `json:"maxRetransmits"`
|
|
}
|