Questions tagged [mediaplayback]

34 questions
1
vote
4 answers

Android MediaPlayer - setPlaybackParams throws a security exception

I'm trying to play a video faster/slower via the following block of code. videoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { @Override public void onPrepared(MediaPlayer mp) { socket.send(positionID +…
Euroclydon37
  • 667
  • 7
  • 20
1
vote
2 answers

Android: Things I am not clear about MediaSessionManager and RemoteController

I tried to browse the web to see what MediaSessionManager does and used for and reading RemoteController (the deprecated since API 21) so I can see whether these api can solve my problem. At the moment, I am using AudioManger and send the key event…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
1
vote
1 answer

HLS randomnly failing and going black on iOS with MPMoviePlayer

I am playing an HLS live streaming in iPad, iPhone. Sometimes, suddenly the player goes black and I get the following error _itemFailedToPlayToEnd: { AVPlayerItemFailedToPlayToEndTimeErrorKey = "Error Domain=AVFoundationErrorDomain…
YU No
  • 69
  • 1
  • 7
1
vote
1 answer

DirectShow EVR resizing window problem

So I've been looking into the world of media playback for windows and I've started making a C# Media Player using DirectShow. I started off using the VRM-7 windowed video renderer and it was brilliant except it had a couple of small problems (multi…
Daniel
  • 181
  • 3
  • 10
1
vote
1 answer

How to pause an Brightcove video with autostart parameter immediately after page load?

We are trying to display a video where upon template load, the viewer can initiate different cue points in the video by clicking on different thumbnails. The problem is that this doesn't work unless the video is already playing, and we don't want it…
don_jacuzzi
  • 91
  • 1
  • 1
  • 7
1
vote
2 answers

changing a track media player android

I am currently playing a song using MediaPlayer which plays fine. On user selecting a different song, I'm trying to play that out. But, I get error(1,-2147483648) and Error(1, -2147483648) by the MediaPlayer. These logs are printed after the call…
Namratha
  • 16,630
  • 27
  • 90
  • 125
0
votes
0 answers

Control audio playback from interaction on the home screen widget (android)

I am not able to control audio playback(play/pause/seek_next/seek_prev) from the buttons on the home_screen widget in flutter (android). not being able to control playback from buttons on Home_widget means that the callback that I am registering in…
codeboi
  • 150
  • 1
  • 9
0
votes
1 answer

MediaPlayer error: The byte stream type of the given URL is unsupported. (Exception from HRESULT: 0xC00D36C4)

I am new to UWP. I am recording voice input (with MediaCapture) and then I trying to play it back. And I am getting the following error The byte stream type of the given URL is unsupported. (Exception from HRESULT: 0xC00D36C4) I create is an MP3…
Paulustrious
  • 609
  • 1
  • 11
  • 17
0
votes
1 answer

Playing a video in Windows Phone 7

I'm trying to play a WMV file in WP7 using a MediaElement control, but I always get an "ag_e_network_error" exception in the MediaFailed event of the MediaElement control. I found this solution, but it doesn't work for me because I don't have a…
Carlo
  • 25,602
  • 32
  • 128
  • 176
0
votes
1 answer

Fatal Exception IllegalStateException. Could not execute method of the activity

Ok so I wrote code that will play songs from my library. I was successful in adding the tracks to the application, but when I click on a track for playback i get this error "Fatal Exception IllegalStateException. Could not execute method of the…
user3078406
  • 511
  • 1
  • 9
  • 26
0
votes
1 answer

Brightcove Simultaneous videos on same page

Below is the code. I have a page that shows brightcove videos in jquery tabs. So user can toggle between tabs and watch videos in different languages. P.S. attached to see how it looks. The page works fine on desktops. On ipads, first time videos…
GSR
  • 115
  • 2
  • 12
0
votes
1 answer

OpenSL ES on android Playback rate

I am currently developing an app that requires the tempo of music to be slowed down, I searched online and the only real option to do this in android is OpenSL ES. I am starting with the basics so i just got an audio file playing but for some reason…
Ray
  • 1,134
  • 10
  • 27
0
votes
2 answers

SpeedRatio & MediaTimeline

I'm trying to be able to affect SpeedRatio on a MediaElement whilst having the media play in a continous loop. This is possible through code behind; I can reset the position of the media once it has ended, but that creates a seam in the…
Chris Nicol
  • 10,256
  • 7
  • 39
  • 49
0
votes
1 answer

Playing MP4 files with psychtoolbox

I want to play an MP4 file showing a reaching task for an experiment. I am not sure how to formulate the syntax. So far I have: moviefile = 'GOPR0056.MP4'; screenNum = 0; [window, rect] = Screen('OpenWindow', screenNum, 1); moviePtr =…
theAngryPhysicist
  • 129
  • 1
  • 5
  • 12
0
votes
0 answers

How to detect inactivity in VB.NET

My application is supposed to give a warning before a pc locks. It uses a timer, set to x seconds (x = time before the computer locks with inactivity). I use the following code to detect mouse and keyboard activity: Private Declare Function…
Josh-Mason
  • 319
  • 3
  • 8
  • 22