Another update

This commit is contained in:
Unknown 2018-02-19 15:41:29 +10:30
parent ed88df0110
commit ff401ee48d
1 changed files with 1 additions and 0 deletions

View File

@ -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()