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/pkg/rtmp/server_pub_session.go

20 lines
286 B
Go

package rtmp
type PubSessionObserver interface {
AVMsgObserver
}
type PubSession struct {
*ServerSession
}
func NewPubSession(ss *ServerSession) *PubSession {
return &PubSession{
ss,
}
}
func (s *ServerSession) SetPubSessionObserver(obs PubSessionObserver) {
s.avObs = obs
}