Questions tagged [expo-av]

173 questions
0
votes
2 answers

React Native with expo av- recording audio stops on Android 12 after picking up a phone call

I am developing a recording app in React Native. For that, I use expo-av. I've noticed recently that on Android 12 when a user picks up a call, the app keeps recording but when listening to it later, there is silence while the user was on the phone,…
0
votes
3 answers

React Native Functional Component - Type is invalid Error -- expected a string or class/function , when calling Video

I've seen this question before but the solution to solve it via Import / Export curly braces doesn't seem to be the root cause. I can trying to add a functional component into my page React.js, the component will include the Video imported from…
Mb3333
  • 7
  • 1
  • 4
0
votes
0 answers

How to display an image in expo-av after video stopped playing?

I'm new to RN, I'm trying to create a video player using expo-av. I want to display an image once the video stopped playing. I've looked at the documentation which has VideoThumbnail, but per my understanding, that generates a thumbnail from the…
SJaka
  • 712
  • 13
  • 40
0
votes
0 answers

Convert react-native class component to functional component with react-hooks

I'm trying convert "expo-react-native audio player and video example" to funtional component. This's code base: expo/playlist-example and this's my code that I'm trying convert to funtional component: import React, { useState } from "react"; import…
0
votes
0 answers

Expo-AV Audio Error When Using CreateAsync URI. How can I fix?

I am receiving the following error message when loading a url mp3 file using expo-av in React Native. Possible Unhandled Promise Rejection (id: 2): Error: The AVPlayerItem instance has failed with the error code -1004 and domain…
Zack Retro
  • 11
  • 4
0
votes
0 answers

Reliable metronome with expo

I'm having trouble building a reliable metronome with expo. For web I used the currentTime property of the audio context to schedule the next click (something like this:…
0
votes
1 answer

Autoplaying an array of videos in React Native Expo AV

I'm trying to create a feature where a group of videos gets played automatically without user action using React Native's Expo AV package, specifically the Video element. Right now, the code is wired up so that when the video finishes, it changes…
0
votes
0 answers

Where to include CC BY 3.0, CC BY 4.0, SIL OFL 1.1 attribution for Expo React Native mobile app?

I want to cite the following One SoundBible Sound found here: Attribution 3.0 FontAwesome5 (free license info) (used via react-native-vector-icons): react-native-vector-icons uses the TTF files so I'm assuming it's released under SIL OFL 1.1 My…
Sam Chen
  • 137
  • 9
0
votes
1 answer

React native, expo-av, audio recording on web, metering is always undefined

Im working on an app that records audio using expo and makes use of the metering value I was using version 10, and have just updated to version 12, However after doing so, the metering value is always undefined, despite setting isMeteringEnabled to…
Alex
  • 81
  • 3
0
votes
0 answers

expo react-native app recording throws an error when trying to listen to the recorded playback

I implemented audio recording with expo-av library, recoridng works, playback also works sometimes but after a few attempts clicking play button displays an error [Error: expo.modules.av.AudioFocusNotAcquiredException: This experience is currently…
0
votes
0 answers

Trying to upload video from computer files in react native

I'm currently using expo-av to show videos on my website in react native. The videos that expo-av provides comes as a uri link, but I want to allow people to upload videos from their computer files in order to post videos. Can someone show me how to…
0
votes
1 answer

Expo AV Video Component — Loop Part of Video

Can I loop the last X seconds of a Video using Expo AV's Video component? For example, say I have a 15s video. I want it to play out fully, but then loop starting at 5s. I supposed I could achieve the same effect by splitting the video into two…
NGI
  • 192
  • 9
0
votes
2 answers

Expo AV playback callback strange behaviour with state properties

I am starting to go nuts with this one. I am recording an audio, once I stop the recording as part of the this process I also load the audio so that it is ready to be played back when necessary and here I do setOnPlaybackStatusUpdate. I use the…
Kronax
  • 69
  • 7
0
votes
0 answers

Error: ' Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked by never being called from native code'

I'm using expo-av to create a video player. When I want to store the position of the audio in a state from playbackStatus, it throws an error: 'Please report: Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked…
nmnhon
  • 43
  • 3
0
votes
0 answers

Expo Av, play audios after one another

I'm very frustrated at this point. I've been reading the expo documentation and online answers as well but nothing is helping. Honestly would pay money at this point for a solution... my issue is that no matter what I try, I just can't seem to play…
Hey
  • 43
  • 5