Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Additional log msg

Gabe Kangas85d4e2907159
diff --git a/core/ffmpeg/transcoder.go b/core/ffmpeg/transcoder.go
index c0bb2a8d8b..502a669599 100644
--- a/core/ffmpeg/transcoder.go
+++ b/core/ffmpeg/transcoder.go
@@ -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)
diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.go
index 880b77aa19..3bd3ad51df 100644
--- a/core/rtmp/rtmp.go
+++ b/core/rtmp/rtmp.go
@@ -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 {