0

Additional log msg

This commit is contained in:
Gabe Kangas 2020-07-11 17:22:10 -07:00
parent 1409477dce
commit 873e2535f8
2 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ func (v *VideoSize) getString() string {
}
func (t *Transcoder) Stop() {
log.Traceln("Transcoder STOP requested.")
error := _commandExec.Process.Kill()
if error != nil {
log.Errorln(error)

View File

@ -109,6 +109,8 @@ func HandleConn(c *rtmp.Conn, nc net.Conn) {
annexb := h264.JoinNALUsAnnexb(nalus)
avcc := h264.JoinNALUsAVCC([][]byte{annexb})
pkt.Data = avcc
} else if pkt.Type == av.Metadata {
log.Traceln(string(pkt.Data))
}
if err := w.WritePacket(pkt); err != nil {