shithub: rtmp

Download patch

ref: e4a7eeebd622bf75651d4ab8d040eaab06283788
parent: d70eab81a43d6d7e4d6fc7a9b6fb040db8438551
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Jul 29 07:42:12 EDT 2021

set object encoding explicitly to AMF0

--- a/rtmp.c
+++ b/rtmp.c
@@ -606,6 +606,7 @@
 		putkvnum("audioCodecs", 0x4 | 0x400); /* mp3 + aac */
 		putkvnum("videoCodecs", 0x80); /* h.264 */
 		putkvnum("videoFunction", 0); /* no frame-accurate seek */
+		putkvnum("objectEncoding", 0); /* AMF0 */
 	putend();
 
 	return rtmpsend(r);