live streaming with OBS

Comments

3 comments

  • Avatar
    Thomas Gurung

    Hi Lori,

    Thank you for reaching out.

    It looks like you are using RTMP live streaming so once you initialise the RTMP live stream the API, you get a JSON response and the one you need is the `live_input_uri` e.g. 

    rtmp://3.214.86.161:1935/<cloud_name>/dh8bxtg97t9cns4bddoa_56753701a34f46cdc6a094e7

    `rtmp://3.214.86.161:1935/<cloud_name> ` goes to the server field in OBS and the key after that (e.g. `dh8bxtg97t9cns4bddoa_56753701a34f46cdc6a094e7`) goes to stream key field.

    I would also recommend going over https://cloudinary.com/documentation/video_live_streaming_rtmp#setup and let us know if you still get stuck.

    Please let me know if you have any other questions or queries.

    Kind Regards,
    Thomas

    0
    Comment actions Permalink
  • Avatar
    Lori Bannon

    Hi Thomas,

    Thanks for the info but will the key be different every time I re-initialize a live stream?

    Also, wouldn't the live output string change as well? If so it means I have to reset OBS not to mention change the output url in my app and check in that code real fast every time I want to go live?

    Please advise? For some reason this sounds familiar and why I started looking elsewhere in the past but I really want to get it down to one company and just work with yours.

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Thomas Gurung

    Hi Lori,

    Thank you for getting back.

    Yes, that is correct, everytime you initialise a new live stream, the keys and output URL will change. 

    However, by default, the `max_runtime_sec` is 12 hours per https://cloudinary.com/documentation/video_live_streaming_rtmp#live_streaming_reference so depending on your needs you may extend this so less frequently update your OBS settings.

    Please note that if the video from your live stream exceeds your storage limits, the video will not be stored in your account.

    Please let me know if you have any other questions or queries.

    Kind Regards,
    Thomas

    0
    Comment actions Permalink

Please sign in to leave a comment.