Important Change Related to OpenTok Broadcast via Facebook Live


From May 1st, 2019 onwards Facebook Live will no longer support streaming via the Real-time Messaging Protocol (RTMP). Instead Facebook requires developers to use RTMPS, i.e. RTMP over a TLS/SSL connection. For additional details see here.

To ensure that there is a seamless transition, we have added support for RTMPS to the OpenTok platform. See,

In the request body of the Broadcast REST API call, the serverUrl should be updated to use RTMPS instead of RTMP when broadcasting to Facebook Live,

e.g. "serverUrl": "rtmps://myfooserver/myfooapp"

Note that RTMP can still be used with other providers, e.g. YouTube Live or Periscope.

Key dates

  • April 8, 2019: RTMPS support available on the OpenTok Standard environment
  • April 17, 2019: RTMPS support available on the OpenTok Enterprise environment
  • May 1, 2019: Facebook Live support for RTMP deprecated in favor of RTMPS

What you need to do

If you are broadcasting sessions to Facebook Live then you need to check “Use a secure connection (SSL)” when obtaining the Facebook Live RTMP broadcast URL. This will provide an RTMPS URL. Then update your code that calls the OpenTok Broadcast REST API to use this RTMPS URL.

Have more questions? Submit a request