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
質問済み 4年前275ビュー
1回答
0
承認された回答

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

alexyap
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン