mirror of
https://github.com/gwuhaolin/livego.git
synced 2021-06-01 09:10:22 +03:00
规范性改动
This commit is contained in:
@@ -154,8 +154,6 @@ func (flvWriter *FLVWriter) SendPacket() error {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (flvWriter *FLVWriter) Wait() {
|
||||
|
||||
@@ -329,7 +329,6 @@ func (v *VirWriter) SendPacket() error {
|
||||
}
|
||||
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (v *VirWriter) Info() (ret av.Info) {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user