Explorar el Código

rtmp-services: Update Facebook recommended settings

Adds support for 1080p streams, adds support for 60 FPS streams,
implements bitrate matrix to restrict bitrates depending on the user's
resolution and framerate combination, and removes 480x360, as it was the
incorrect resolution (the correct resolution was supposed to be
640x360).
jp9000 hace 4 años
padre
commit
84e6ad2b6d
Se han modificado 1 ficheros con 46 adiciones y 3 borrados
  1. 46 3
      plugins/rtmp-services/data/services.json

+ 46 - 3
plugins/rtmp-services/data/services.json

@@ -468,12 +468,55 @@
                 "keyint": 2,
                 "profile": "main",
                 "supported resolutions": [
+                    "1920x1080",
                     "1280x720",
                     "852x480",
-                    "480x360"
+                    "640x360"
                 ],
-                "max fps": 30,
-                "max video bitrate": 6000,
+                "bitrate matrix": [
+                    {
+                        "res": "640x360",
+                        "fps": 30,
+                        "max bitrate": 1000
+                    },
+                    {
+                        "res": "640x360",
+                        "fps": 60,
+                        "max bitrate": 1500
+                    },
+                    {
+                        "res": "852x480",
+                        "fps": 30,
+                        "max bitrate": 2000
+                    },
+                    {
+                        "res": "852x480",
+                        "fps": 60,
+                        "max bitrate": 3000
+                    },
+                    {
+                        "res": "1280x720",
+                        "fps": 30,
+                        "max bitrate": 4000
+                    },
+                    {
+                        "res": "1280x720",
+                        "fps": 60,
+                        "max bitrate": 6000
+                    },
+                    {
+                        "res": "1920x1080",
+                        "fps": 30,
+                        "max bitrate": 6000
+                    },
+                    {
+                        "res": "1920x1080",
+                        "fps": 60,
+                        "max bitrate": 9000
+                    }
+                ],
+                "max fps": 60,
+                "max video bitrate": 9000,
                 "max audio bitrate": 128
             }
         },