PHP Library to Stream Any Stored Video File Format to RTMP or RTMPS URL. Developed by Sohail Haider [email protected] & Akif Quddus [email protected]
Send a POST Request to: http://yourstreamingserver.com/stream/startstream
{
'source': '//bucketvideos.s3.amazonaws.com/Video4.mp4',
'destination: 'rtmps://live-api-a.facebook.com:443/rtmp/1840118365998379?ds=1&s_sw=0&a=ATjIps5N8axKP4bu'
}
{
"status": true,
"PID": 27013,
"source": "https://bucketvideos.s3.amazonaws.com/Video4.mp4",
"destination": "rtmps://live-api-a.facebook.com:443/rtmp/1840118365998379?ds=1&s_sw=0&a=ATjIps5N8axKP4bu"
}
{
"status": false,
"message": "0x2031: Oops, Something went wrong! Unable to start Processing.",
}
Send a POST Request to: http://yourstreamingserver.com/stream/stopstream
{
'PID': 27265
}
{
"status": true,
"message": "Terminated Process 27265 successfully."
}
{
"status": false,
"message": "Could not Terminate the Process 27265 successfully.",
}
PHP version 5.6 or newer is recommended.
It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.
Please see the license agreement <https://github.com/bcit-ci/CodeIgniter/blob/develop/user_guide_src/source/license.rst>
_.
User Guide <https://codeigniter.com/docs>
_Language File Translations <https://github.com/bcit-ci/codeigniter3-translations>
_Community Forums <http://forum.codeigniter.com/>
_Community Wiki <https://github.com/bcit-ci/CodeIgniter/wiki>
_Community Slack Channel <https://codeigniterchat.slack.com>
_