amazon-ivs-react-native-player ,Video width and height not getting on video load

0

I am using Amazon-ivs-react-native-player to stream my video. Here, onLoad I am only getting only the duration. Is there any prop that gives the width and height of the video? so that I can resize the video accordingly

Shincy
asked 5 months ago202 views
1 Answer
0

When a player first connects to an Amazon IVS channel, it will retrieve the top level manifest (https://<ivs_channel_path>.channel.<channel_id>.m3u8) which will contain descriptions of the number of streams and the resolution for each stream. Then players will retrieve a playlist for the stream it will be playing, which will contain segment lists with durations or byte range lists. Players will seamlessly switch which between different streams (each with a separate bitrate and resolution) based on the perceived BW connection available at the time.

It is unclear where the onLoad command you are reference is occurring in this process. You may need to look back to the initial player connection for the resolutions of streams.

AWS
Mike-ME
answered 5 months 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