This support forum is no longer in use. Please use the Cloudinary Community at to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

How to output RTMP using the Cloudinary Video Player?


1 comment

  • Official comment
    Danny Valentine

    Hi Bruno.

    Thanks for getting in touch.

    Once you upload the manifest file, you should get back a JSON response with a live_input_uri and a live_output_uri. It takes a while to come back so please do be patient. Taking the live_input_uri, The server part is everything up to and including your cloudname. e.g. rtmp://<cloud_name>
    The stream key is the string after your cloudname. e.g. v3ybjuunps7shrwdkqux_7170cb0b8872f079fbdbdd92.

    Open up your OBS settings, input your Server and Stream Key and start streaming. The resulting video should then be available at the destination returned in the live_output_uri - for example Make sure it works using something like VLC or use a browser extension that allows you to play back HLS streams such as Native HLS Playback for Chrome.

    Once it's working, you should be able to set up your video player source using the full live_output_uri, rather than just a public ID, and make sure you define sourceTypes: ['hls']. You can also optionally include a streaming profile if you wish. When you're done it should look something like this:

    // Initialize player
    var player = cloudinary.videoPlayer('example-player', { cloud_name: 'your_cloud' })

    // Modify player source and play hls adaptive streaming
    player.source('', { sourceTypes: ['hls'],
    transformation: { streaming_profile: 'full_hd' } }).play();

    I've put together a quick JSFiddle for you to demonstrate, which is available here:

    I hope this helps. Please let me know if you have any further questions.

    Many thanks,

    Comment actions Permalink

Post is closed for comments.