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
preguntada hace 6 meses242 visualizaciones
1 Respuesta
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
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas