mirror of https://github.com/q191201771/lal.git
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.
16 lines
230 B
Go
16 lines
230 B
Go
6 years ago
|
package rtmp
|
||
|
|
||
|
type PubSession struct {
|
||
|
*ServerSession
|
||
|
}
|
||
|
|
||
|
func NewPubSession(ss *ServerSession) *PubSession {
|
||
|
return &PubSession{
|
||
|
ss,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (s *ServerSession) SetAVMessageObserver(obs AVMessageObserver) {
|
||
|
s.avObs = obs
|
||
|
}
|