Questions tagged [playback]

Playing a sound or a video from an existing audio or video file or stream.

Playing a sound or a video from an existing audio or video file or stream.

1540 questions
114
votes
3 answers

Action Required: Your app is not compliant with Google Play Policies , what is the solution?

Issue found: Invalid Data safety section We reviewed your app's Data safety section in Play Console and found discrepancies between it and how the app collects and shares user data. All apps are required to complete an accurate Data safety section…
Abdul Momen
  • 1,280
  • 2
  • 6
  • 11
82
votes
9 answers

Google Play store, Can no longer see Total Installs

I have a few apps on the Google play store and use the number of total installs as part of my growth plan. However as of July 16, 2018 I can no longer see the "Total Installs" in my console. It only shows "Active Installs". Did Google just remove…
Varol Okan
  • 881
  • 1
  • 6
  • 6
47
votes
4 answers

How do I play audio files synchronously in JavaScript?

I am working on a program to convert text into morse code audio. Say I type in sos. My program will turn this into the array [1, 1, 1, 0, 2, 2, 2, 0, 1, 1, 1]. Where s = dot dot dot (or 1,1,1), and o = dash dash dash (or 2,2,2). This part is quite…
dactyrafficle
  • 838
  • 8
  • 18
44
votes
16 answers

Uploaded an APK which has an activity, activity alias, service or broadcast receiver with intentfilter, but without 'android : exported' property set

I'm having an issue when I'm uploading an app bundle to the play console that: You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported'…
vaibhav sharma
  • 451
  • 1
  • 4
  • 5
41
votes
4 answers

Playing a video file from a server in Swift

I'm trying to play a video from a server using Swift. I have imported MediaPlayer framework, here is my code: import UIKit import MediaPlayer class VideoViewController: UIViewController { override func viewDidLoad() { …
Mate Hegedus
  • 2,887
  • 1
  • 19
  • 30
40
votes
4 answers

Directory for storing audio files in Android

I want to play an audio file based on the click of a button. I have defined the onClickListener() method and the layout file. When I add the wav files to the res/ directory, I get the following build error: invalid resource directory name …
Sriram
  • 10,298
  • 21
  • 83
  • 136
33
votes
2 answers

MediaPlayer stutters at start of mp3 playback

I've been having a problem playing an mp3 file stored in a raw resource: when the file first starts playing, it generates perhaps a quarter of a second of sound and then restarts. (I know that this is basically a duplicate of the problem described…
Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
32
votes
2 answers

Event for VideoView playback state or MediaController play/pause

I cant seem to find an event that listens for playback state. I am mostly interested in the play/pause state. I am using MediaController which has a Play/Pause button, but I have a secondary button that also controls Play/Pause. Using my custom…
Ronnie
  • 11,138
  • 21
  • 78
  • 140
29
votes
3 answers

Play simple beep with python without external library

Using only the modules that come with a standard python 2.6 installation, would it be possible to play a simple beeping noise?
a sandwhich
  • 4,352
  • 12
  • 41
  • 62
28
votes
3 answers

HTML5 Audio and jQuery

I am trying to use a button to start a track in an HTML5 audio tag using jQuery, but I keep getting an error. var song = $('#audio'); $('#play').click(function() { song.play(); }); When I use document.getElementById('audio'), it works, but when…
user699242
  • 1,833
  • 4
  • 21
  • 31
27
votes
3 answers

Changing Speed of Audio Using the Web Audio API Without Changing Pitch

Is it possible to change the tempo of audio (in the form of loaded MP3 files) without changing the pitch using the Web Audio API? I'm aware of the playbackRate property on the AudioBufferSourceNode, but that also changes pitch. I'm also aware of the…
JaredCubilla
  • 538
  • 1
  • 8
  • 24
25
votes
6 answers

Video playback in Java ( JMF, Fobs4JMF, Xuggler, FMJ )

I need simple video playback in Java. Here are my requirements: PRODUCTION QUALITY Open and decode video files whose video and audio codecs can be chosen by me. I.E I can pick well behaving codecs. Be able to play, pause, seekToFrame OR seekToTime…
ksullivan
  • 496
  • 1
  • 7
  • 12
25
votes
3 answers

Android comprehensive failproof music service across multiple activities

I know this question has been asked many times before and might seem to be a conglomeration of several questions, but I feel that it is relevant and important to many developers; I need to create a background music Service that can run across…
pqn
  • 1,522
  • 3
  • 22
  • 33
24
votes
8 answers

Setting playback device by executing a batch file / powershell script

I've got my computer(Windows 7) hooked up to the TV, and i very often change output device for sound between Digital Audio (S/PDIF)(High definition audio device) and my headset (2- Corsair CA-HS1 USB Headset) I wanna be able to execute a…
haakonlu
  • 949
  • 3
  • 13
  • 25
24
votes
0 answers

How to get rid of Google's dynamite measurement in APK?

Since a long while now (a year or more), I see app crashes reported in Play Console (production and prelaunch reports) and some error message when debugging about dynamite measurement from Google's Play Services, for example: W/02:14:21.497 at…
3c71
  • 4,313
  • 31
  • 43
1
2 3
99 100