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
feita há 6 meses242 visualizações
1 Resposta
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 há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas