mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-10-05 07:36:57 +08:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3cbf22576b |
@@ -45,6 +45,7 @@ func (p *RTSPPuller) Connect() error {
|
||||
if err = p.Client.Start(u.Scheme, u.Host); err != nil {
|
||||
return err
|
||||
}
|
||||
p.SetIO(p.Client)
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -107,6 +108,7 @@ func (p *RTSPPusher) Connect() error {
|
||||
p.Error("Client.Start", zap.Error(err))
|
||||
return err
|
||||
}
|
||||
p.SetIO(p.Client)
|
||||
_, err = p.Client.Options(u)
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user