Example for Facebook:
Server URL: rtmps://live-api-s.facebook.com:443/rtmp/
Stream Key: FB-117626344422167-0-AbzhIyyXbQGNT47w
Now go to camera’s webpage -> network -> RTMP Settings.
input the RTMP stream URL:
rtmps://live-api-s.facebook.com:443/rtmp/FB-117626344422167-0-AbzhIyyXbQGNT47w
(Format: Stream URL/Stream Key)
Save and reboot the camera, it will stream to Facebook.