Change log messages to reflect new function names.

This commit is contained in:
scruzin 2019-01-07 20:15:12 +10:30
parent ad43420270
commit 8ed3c04186
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ func readPacket(s *Session, pkt *packet) error {
if extendedTimestamp { if extendedTimestamp {
err = readN(s, header[size:size+4]) err = readN(s, header[size:size+4])
if err != nil { if err != nil {
log.Println("RTMPRead_Packet: Failed to read extended timestamp") log.Println("readPacket: Failed to read extended timestamp")
return err return err
} }
// TODO: port this // TODO: port this
@ -391,7 +391,7 @@ func sendPacket(s *Session, pkt *packet, queue int) error {
chunkSize := int(s.outChunkSize) chunkSize := int(s.outChunkSize)
if debugMode { if debugMode {
log.Printf("C_RTMP_SendPacket: %v->%v, size=%v", s.link.conn.LocalAddr(), s.link.conn.RemoteAddr(), size) log.Printf("sendPacket: %v->%v, size=%v", s.link.conn.LocalAddr(), s.link.conn.RemoteAddr(), size)
} }
// Send the previously deferred packet if combining it with the next packet would exceed the chunk size. // Send the previously deferred packet if combining it with the next packet would exceed the chunk size.