Files
webrtc/datachannelmessage.go
Pion 66e3e5182b Update CI configs to v0.11.37
Update lint scripts and CI configs.
2026-01-22 11:07:23 +02:00

14 lines
388 B
Go

// SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT
package webrtc
// DataChannelMessage represents a message received from the
// data channel. IsString will be set to true if the incoming
// message is of the string type. Otherwise the message is of
// a binary type.
type DataChannelMessage struct {
IsString bool
Data []byte
}