Questions tagged [expo-av]
173 questions
7
votes
1 answer
Expo: Get audio data realtime and send via Socket.IO
App I want to make
I would like to make audio recognition mobile app like Shazam with
Expo
Expo AV(https://docs.expo.io/versions/latest/sdk/audio)
Tensorflow serving
Socket.IO
I want to send recording data to machine learning based recognition…

Watanabe.N
- 1,549
- 1
- 14
- 37
6
votes
1 answer
How to change the video displaying orientation in expo-av?
I'm using expo-av to display videos. The videos are played in Portrait and i'm trying to display the video depending on the device orientation. My code is :
import { Video } from 'expo-av';
import * as ScreenOrientation from…

Abdo Rabah
- 1,670
- 2
- 15
- 31
5
votes
0 answers
Expo-AV - When our app gets minimised/closed it pauses the users background music e.g. spotify
We've got a really strange issue where a muted video is playing on our app, but when you minimise the app, if the user has background music playing on something like Spotify or Apple music, it pauses their music?
Our component is effectively…

owenmelbz
- 6,180
- 16
- 63
- 113
5
votes
1 answer
What is the best practice solution to embed videos from different sources in a ReactNative app?
I'm currently trying to implement videos from a number of sources into a learning app built with Expo and ReactNative.
I want to include video sources from:
YouTube
Vimeo
Microsoft Stream
Custom .mp4 link
I have tried to use WebView in the…

Christian Aichner
- 366
- 3
- 18
5
votes
1 answer
expo-av how to play audio with URL
I'm working with expo-av package in my Expo managed app.
I'm passing a url to an audio file on the internet to createAsync, but the audio is not playing. When I use an audio file that lives alongside the source code with require(), the audio plays…

hayata_suenaga
- 642
- 1
- 5
- 16
5
votes
0 answers
How to playback multiple audio files synchronously in Expo-av?
In my app users record themselves singing over a backing track, and then later playback the recorded audio and this backing track at the same time. I use expo-av for my audio system. The problem is that at the playback stage the audio is often out…

Jackson
- 51
- 1
- 3
5
votes
1 answer
Error trying to access the error property of AVPlaybackStatus
I'm new to TypeScript and am trying to work with expo-av for audio playback.
The following code gives me an error: TS2339: Property 'error' does not exist on type 'AVPlaybackStatus'.
const { sound, status } = await…

Reto Höhener
- 5,419
- 4
- 39
- 79
5
votes
1 answer
Stop Audio expo-av - React Native Expo
I am using Audio from expo-av in react-native-expo.
I can run the audio using loadAsync method on Audio.sound contructor.
Although when I try to stop the voice it doesn't stop the voice.
Following is the minimalistic code snippet. Is this the…

nikhil024
- 435
- 5
- 19
4
votes
0 answers
EXPO-AV cache of audio files -REACT NATIVE
I am using react native to develop an app. I am currently recording audio files with expo AV and then I am able to send this files to a server. I don't really want this files to occupate memory in the mobile device.
I use the URI to send the file.…

gggx
- 93
- 1
- 6
4
votes
2 answers
React Native Expo Audio not playing on iOS
I'm trying to build a simple audio player that loads a file from our server and plays it. Currently this code works on Android but iOS doesn't work, throwing the error
AVPlayerItem instance has failed with the error code -11850 and domain…

Loquen
- 41
- 1
- 5
4
votes
1 answer
Expo-Av play multiple sounds at a time
I'm trying to get multiple sounds files to play on an Expo-AV, however when one sound plays, the other stops. I can't get more than one sound to play at a time.
What I tried
I tried a class method to create a different instance each time but it…

Dohan Bhagat
- 73
- 6
4
votes
4 answers
Expo AV audio not playing on iOS/ iPhone
I have used Expo AV and developed a screen in my app to play audio files fetched from my server. It works fine on Android, but doesn't play anything on iPhone.
When I play a button to play the audio which loads and plays the…

Khaja Nizamuddin
- 167
- 1
- 2
- 9
4
votes
1 answer
How to change video speed (1x,2x ....) in Expo av?
I am trying implement a video functionality on Expo using Expo-av. But I got stuck in controlling video speed like 1x, 2x like youtube. Can any one help me on that .
Thank you in advance.

Bhaskar Joshi
- 413
- 7
- 18
3
votes
2 answers
Why will my expo-av Video not start playing automatically?
I have a Video that I am rendering with expo-av. The video renders fine, however it will not start playing upon first render. I have the shouldPlay prop set to true. I have provided a snack example here as well as some code below. If you use the…

MouseWarrior
- 391
- 4
- 19
3
votes
1 answer
Why is my react-native app terminating in the background while recording (iOS, RN 0.63.3, Expo-Av 9.2.3)
Hello
I'm having an issue in my React Native app where audio recordings are sometimes mysteriously terminated while the app is in the background.
This happens only in ~1/10 user sessions after variable amounts of time anywhere from 5 to 50 minutes…

Jake Cronin
- 1,002
- 13
- 15