Skip to main content
Logo Appt Light

Live captions on React Native

Captions should be provided in real-time to enable users to understand what is being said in live videos. The challenge with live captions is both organizational and technical. A captioner must be present who can provide live captions for the video by using suitable software.

React Native does not have any out-of-the box packages which enable you to provide real-time captions for live audio or video streams.

You can however embed a YouTube stream in your app and enable Live Stream Captioning.

import YoutubePlayer from "react-native-youtube-iframe";
  
<YoutubePlayer
    height={300}
    play={playing}
    videoId="dQw4w9WgXcQ"
    onChangeState={onStateChange}
/>

Feedback?

Let us know!