11 C
Canberra
Friday, May 15, 2026

ios – React Native expo-video clip performs for 1 second then freezes solely on European gadgets


I’m utilizing expo-video with expo sdk 55 in a React Native app to play a brief intro clip inside a chat display from my aws s3 bucket. On all Indian gadgets it really works, however on European gadgets the video begins, performs for a few second, after which will get caught. There isn’t any seen error, and Sentry solely reveals regular playback occasions till the stall.

I’ve instrumented the participant and I can see this sequence in logs:

There isn’t any status_errorfreeze_detected, or duration_mismatch within the affected runs.

The video is loaded from a distant MP4 URL, and the element seems roughly like this:

const participant = useVideoPlayer(videoSource, (participant) => {
  participant.loop = false;
});

useEffect(() => {
  participant.quantity = isChatAudioEnabled ? 1.0 : 0;

  const statusSub = participant.addListener("statusChange", (payload) => {
    if (payload?.error) {
      // log error
    }
  });

  const timeSub = participant.addListener("timeUpdate", ({ currentTime }) => {
    // detect progress / freeze
  });

  participant.play();

  return () => {
    statusSub.take away();
    timeSub.take away();
    participant.pause();
  };
}, [player, videoSource]);

AWS video is an mp4 with this
H264 Most important/Baseline

yuv420p

AAC LC

+faststart

moov at begin

The habits appears region-specific, as a result of it solely occurs on European gadgets. I’m attempting to find out whether or not that is doubtless:

  • a CDN / community / geo routing subject

  • a codec or distant media supply subject

  • a tool/participant quirk with expo-video

  • one thing associated to iOS area or locale

My questions are:

  1. What are the very best methods to debug a video that stalls shortly after beginning in expo-video?

  2. Can region-specific community/CDN habits trigger this sort of stall with out an specific participant error?

  3. Are there recognized points with expo-video the place playingh can cease advancing and not using a statusError?

  4. What additional diagnostics ought to I log to separate media supply issues from participant issues?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles