Revamp data channels (#32)

* support for built-in data channels. active speaker updates via data channel

* fixed tests

* update to Pion 3.0.27
This commit is contained in:
David Zhao
2021-04-27 22:02:59 -07:00
committed by GitHub
parent 84ac0a718d
commit 6b63cd5b31
15 changed files with 634 additions and 135 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const (
trackIdSeparator = "|"
)
func UnpackStreamID(packed string) (peerId string, trackId string) {
func UnpackStreamID(packed string) (participantId string, trackId string) {
parts := strings.Split(packed, trackIdSeparator)
if len(parts) > 1 {
return parts[0], packed[len(parts[0])+1:]