测试合并写

This commit is contained in:
yangjiechina
2023-12-03 23:35:55 +08:00
parent 0149865a26
commit baebd7d25d
5 changed files with 122 additions and 15 deletions

View File

@@ -1,9 +1,10 @@
package rtmp
import (
"net"
"github.com/yangjiechina/avformat/transport"
"github.com/yangjiechina/avformat/utils"
"net"
)
type IServer interface {
@@ -12,6 +13,10 @@ type IServer interface {
Close()
}
func NewServer() IServer {
return &serverImpl{}
}
type serverImpl struct {
tcp *transport.TCPServer
}