mirror of https://bitbucket.org/ausocean/av.git
Another update
This commit is contained in:
parent
ed88df0110
commit
ff401ee48d
|
@ -74,6 +74,7 @@ func (s *rtmpSession) StartSession() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Remove mutex
|
||||||
func (s *rtmpSession) WriteFrame(data []byte, dataLength uint) error {
|
func (s *rtmpSession) WriteFrame(data []byte, dataLength uint) error {
|
||||||
s.mutex.Lock()
|
s.mutex.Lock()
|
||||||
defer s.mutex.Unlock()
|
defer s.mutex.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue