BIG core logic rewrite

This commit is contained in:
Alexey Khit
2023-03-17 06:48:02 +03:00
parent 2146ea470b
commit 12a7b96289
107 changed files with 3000 additions and 3024 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
package webrtc
import (
"github.com/AlexxIT/go2rtc/pkg/core"
"github.com/pion/rtp"
"github.com/pion/webrtc/v3"
)
@@ -18,8 +17,8 @@ type Track struct {
func NewTrack(kind string) *Track {
return &Track{
kind: kind,
id: core.RandString(16),
streamID: core.RandString(16),
id: "go2rtc-" + kind,
streamID: "go2rtc",
}
}