Questions tagged [expo-av]
173 questions
0
votes
0 answers
How to use fastapi to return an audio file to be played in React Native with expo-av?
In a React-Native project, I am attempting to fetch an audio file created by a Python backend that uses the Google Text To Speech service to generate the audio file from text. The backend uses FastAPI to implement an endpoint for downloading the…
0
votes
0 answers
The video player library expo-av does not work in my react native local app
When I run the following expo example through the expo Snack, it runs perfectly. Why does not work in my local expo app?, throwing the following error: " ERROR Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a…

Daniel
- 181
- 1
- 4
0
votes
0 answers
react-native expo managed app recording not supported by openai
I'm getting this error back from openai's transcription endpoint;
message: "The audio file could not be decoded or its format is not supported."
What I'm doing:
Setting recording options to mp4;
Move the new recording into a temporary file…

Ibra
- 912
- 1
- 12
- 31
0
votes
1 answer
Expo AV: 'if' video has finished, go back to start
I am trying to create a function in Expo AV where 'if' the video has finished playing, it automatically returns to the start. The restart() function that I created does not allow this. Please excuse me as I am quite new to this! This is my…

Alfie
- 23
- 6
0
votes
0 answers
Convert .caf file into mp4 using react-native expo
Below, I'm stopping an active recording; Getting reference to the URI of the recording.
I would like to then convert the file into mp4 or mp3.
console.log('Stopping recording..');
await recording.stopAndUnloadAsync();
const recordingUri =…

Ibra
- 912
- 1
- 12
- 31
0
votes
0 answers
Expo-av play new audio file when expo-task-manager trigger
I would like to play sound when some location - region entered. I am sending a store dispatch when I enter the region and I can see the expo-notification but the sound is not played. (I have to open up the app every time if I need to hear the…

Falzao
- 23
- 4
0
votes
1 answer
Overriding silent mode with Expo AV
Has anyone managed to override the silent mode switch to autoplay sounds using Expo AV? I'm looking to do so for a timer feature that I have in my app so I wouldn't be able to rely on user interaction to play the sound.
I have tried…

Ara
- 1
0
votes
0 answers
Error: Missing audio recording permissions when using Expo and expo-av
I am developing an app using Expo and I'm encountering an issue with audio recording permissions. When I try to start recording by clicking a button in my app, I receive the following error message in the console:
LOG Requesting permissions..
LOG …

Web Crop
- 21
- 2
0
votes
0 answers
expo-video loop causing high memory usage
I'm using expo-video library in my Expo managed RN project to create a background for one of the screens. Since it is a background, I have 10s video that I'm playing in a loop. It plays fine, however I've noticed an issue that whenever video plays…

Zając
- 147
- 1
- 1
- 9
0
votes
1 answer
Expo av doesn't pause on navigation.goBack()
I have 3 screens, A, B and C. On B, I have an audio autoplaying. I have a Header which allows me to go forward to C or backward to A.
I have tried the code below. While the sound does stop when going B->C, when I go B->A it doesn't pause no matter…

Roxa18
- 1
- 1
0
votes
0 answers
Expo-av shows black screen when for multiple instances of video on 1 screen ( on Android TV )
Following is the flow of the application :-
All the video related data is fetched via api to the app
The app then downloads the video and store it the the FileSystem.documentDirectory ( I need these videos when the device is not connect to the…

Soumil_13
- 17
- 4
0
votes
0 answers
React native expo-av Video freezes after sometime - android 13
I'm rendering a Video using expo-av's Video component, on tapping the message, the video component shows up and runs the video in a loop (isLooping={true}), but after like 40-45s the video starts to freeze (as shown in demo video), and a thing to…

dev1ce
- 1,419
- 1
- 19
- 39
0
votes
1 answer
Play video frame by frame in react native expo-av
I am struggling to make a frame by frame video player using expo-av.
This is what I actually do:
parse video infos with ffmpeg-kit-react-native (FFprobeKit.getMediaInformation(src))
calculate manually the frame length
when pressing the 'next frame'…

TOPKAT
- 6,667
- 2
- 44
- 72
0
votes
0 answers
Expo Av alternative for loading audiofiles
I'm trying to load fetched sound from database. It has blob uri, so expo av cant read it.
What can I do with that and is there any alternative for creating audio playback, whitch can work with blob uri?
expo av error

Nau_Mar
- 1
0
votes
2 answers
How do I stop the recording after 60 seconds if the user hasn't already pressed the button?
Let's say I press the button and the recording starts, how…

dr7
- 33
- 4