规范性改动

This commit is contained in:
mask-pp
2020-08-28 18:32:06 +08:00
parent 2de43144ce
commit 57a7b19671
4 changed files with 2 additions and 4 deletions

View File

@@ -154,8 +154,6 @@ func (flvWriter *FLVWriter) SendPacket() error {
}
}
return nil
}
func (flvWriter *FLVWriter) Wait() {

View File

@@ -329,7 +329,6 @@ func (v *VirWriter) SendPacket() error {
}
}
return nil
}
func (v *VirWriter) Info() (ret av.Info) {

View File

@@ -86,7 +86,7 @@ func (self *RtmpRelay) sendPublishChunkStream() {
func (self *RtmpRelay) Start() error {
if self.startflag {
return fmt.Errorf("The rtmprelay already started, playurl=%s, publishurl=%s", self.PlayUrl, self.PublishUrl)
return fmt.Errorf("The rtmprelay already started, playurl=%s, publishurl=%s\n", self.PlayUrl, self.PublishUrl)
}
self.connectPlayClient = core.NewConnClient()

1
test.go Normal file
View File

@@ -0,0 +1 @@
package main