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:
+1
-1
@@ -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:]
|
||||
|
||||
Reference in New Issue
Block a user