So, I'm creating a nodejs application that uses AWS Media Live and AWS Media Store to live stream audio and video.
I created the media live channel, the input and the media store container correctly. The role that I used for the channel has the MediaStoreFullAcces permission, so it can read from and write to the container. So far so good.
If I start the stream with obs studio, using the RTMP push url and the stream key and everything seems to be working fine. But, if I take a look at the channel's logs, it shows me this error, saying it can't write to media store:
OutputDataBackground failed to send file for URL [mediastoressl://.../720p30_00028.ts], after [10] attempts, error [EMS credentials unavailable]
It doesn't create the .m3u8 file in the container also.
My doubt is, what are the EMS credentials, if not the permissions from the role?
I can't find anywhere in AWS console to add credential or change the security. Anybody who could help me please?