Specifying a stream name when creating a MediaLive Input with the PHP SDK?

0

I tried creating a MediaLive Input using the PHP SDK and it all works fine but when I went to check my newly created Input on the console, the stream name is looking a little weird. On the application name field, it's showing the IP MediaLive auto-generated for me and on the application instance field is the random string I specified and the url ended up looking like this: rtmp://some_ip/MnFiYLkqYRFw1gamkJb64Z4hEAXTtWEr, what I was hoping to see was something similar to when I create an Input with the console like this: rtmp://some_ip/application_name/application_instance

So, I guess my question is how do I properly specify the application name and instance when using the PHP SDK? Because when I checked the docs the only parameter it accepts is a StreamName, I'd really appreciate the help

alexyap
asked 4 years ago255 views
1 Answer
0
Accepted Answer

I just figured it out, all you really need to do is specify it like so:
'StreamName' => 'application_name/application_instance'

alexyap
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions