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
gefragt vor 6 Monaten242 Aufrufe
1 Antwort
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
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen