Update comment to reflect new method names.

This commit is contained in:
scruzin 2019-01-13 13:15:03 +10:30
parent 21090a6595
commit dd562f1a28
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ type packet struct {
body []byte body []byte
} }
// readFrom reads an packet from the RTMP connection. // readFrom reads a packet from the RTMP connection.
func (pkt *packet) readFrom(s *Session) error { func (pkt *packet) readFrom(s *Session) error {
var hbuf [fullHeaderSize]byte var hbuf [fullHeaderSize]byte
header := hbuf[:] header := hbuf[:]