Additional log msg
This commit is contained in:
parent
1409477dce
commit
873e2535f8
@ -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)
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user