feat: add aac to opus , update quic version

This commit is contained in:
langhuihui
2025-11-19 09:37:27 +08:00
parent 1780dde594
commit ac430ffd0d
140 changed files with 28134 additions and 150 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
)
type Http2Quic struct {
quic.Stream
*quic.Stream
}
func (q *Http2Quic) ServeSSE(w http.ResponseWriter, r *http.Request) {
+3 -3
View File
@@ -11,7 +11,7 @@ import (
type Puller struct {
flv.Puller
quic.Connection
*quic.Conn
}
func (p *Puller) GetPullJob() *m7s.PullJob {
@@ -26,8 +26,8 @@ func (p *Puller) Start() (err error) {
if err = p.PullJob.Publish(); err != nil {
return
}
var stream quic.Stream
stream, err = p.Connection.OpenStream()
var stream *quic.Stream
stream, err = p.Conn.OpenStream()
if err != nil {
return
}
+2 -2
View File
@@ -43,8 +43,8 @@ func (c *RelayAPIConfig) Check(path string) bool {
type ReceiveRequestTask struct {
task.Task
Plugin *m7s.Plugin
quic.Connection
quic.Stream
*quic.Conn
*quic.Stream
http.Handler
*RelayAPIConfig
}
+5 -5
View File
@@ -9,11 +9,11 @@ import (
type Instance struct {
gorm.Model
Name string
Secret sql.NullString `gorm:"unique;index:idx_secret"`
IP string
Online bool
quic.Connection `gorm:"-"`
Name string
Secret sql.NullString `gorm:"unique;index:idx_secret"`
IP string
Online bool
*quic.Conn `gorm:"-"`
}
func (i *Instance) GetKey() uint {