You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lal/rtmp/clientpullsession.go

16 lines
312 B
Go

package rtmp
type PullSession struct {
*ClientSession
}
func NewPullSession(obs AVMessageObserver, connectTimeout int64) *PullSession {
return &PullSession{
ClientSession: NewClientSession(CSTPullSession, obs, connectTimeout),
}
}
func (s *PullSession) Pull(rawURL string) error {
return s.Do(rawURL)
}