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
질문됨 6달 전242회 조회
1개 답변
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
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠