Questions tagged [expo-av]

173 questions
0
votes
1 answer

Expo Audio - How to stop audio when i change the screen

I am using Expo Audio to reproduce a track in a component, but when i close/change the screen the audio is still playing: How can I solve this problem? Here is my Core component where I use the CardAudio component. const ObjectDetails = ({ route,…
Tom_21
  • 16
  • 2
0
votes
1 answer

React native, video player crash without any error

I'm using expo-av for playing Video in my app. It's working fine in every screen. But 2-3 screens it's crashing when I hit play button and it's not giving any error. below is my code import {Video as VideoPlayer} from "expo-av"; .... const…
Kanwarjeet Singh
  • 722
  • 1
  • 12
  • 34
0
votes
1 answer

Display button after end of video in react native

I would like to display a butto (continue), only when I will finish to see an entire video in React Native Im watching a video that I uploaded to storage of firebase Does I have a possibility to know when I arrived to the end of the video? export…
user123456
  • 171
  • 11
0
votes
1 answer

The saved Uri from React Native Expo AV does not work?

I have created an array of dictionaries that hold the data of audios. The user must record those audios and then they can listen it. the problem is that those audios are represented with a flatlist and when I pass between them, it cannot find the…
Roberto Yorio
  • 89
  • 2
  • 9
0
votes
1 answer

Difference between import audio file and expo-av getURI()

I am trying to use an very simple expo audio player from this repo the player works fine with audio files imported as import AudioFile from '../assets/test.m4a'; console.log of AudioFile returns a number console.log(typeof AudioFile); but when i…
Mohamed Daher
  • 609
  • 1
  • 10
  • 23
0
votes
1 answer

How can I increase the volume when recording an audio in React Native expo-Audio?

I'm trying to record an audio with React Native expo-av but for some reason, the audio is coming out like if I was in a call. How can I solve this problem?
Roberto Yorio
  • 89
  • 2
  • 9
0
votes
1 answer

Adding dynamicly require() file in expo-av

I want to add something like that require(./assets/+variable). But require() doesn't support that. const { sound } = await Audio.Sound.createAsync( require(`./assets/`+variable) );
0
votes
0 answers

Why is there no Video audio for Android?

I am rendering a list of videos. The videos work great on iOS but on Android, the audio doesn’t work. Here’s my code
1 2 3
11
12