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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠