AAC audio source with Cordova not playing properly. - javascript

I am using PlayCordovaAudio() function to stream audio (Shoucast).
The MP3 audio source is playing well with this code:
playCordovaAudio('the.url:PORT/;stream.mp3');
But, when trying to play an AAC audio source, the audio starts and stops right away. Even when using the same function:
playCordovaAudio('the.url:PORT/;stream.aac');
Here is the app that I am developing. If you want, you can download it and test it: https://play.google.com/store/apps/details?id=com.es611radio.kreactivamente1610001
(the first radio play is from the .mp3 audio source, the second one is an AAC audio source).
Any idea how could I fix this?
Thank you in advance

Related

Video.js - How to add multiple audio tracks to the video.js player?

I am working on a project where I have to create a Video player which has multiple audio tracks. I gone through Video.js documentation but couldn't figure it out how can I do it.
I have one .mp4 video file and different audio files I want to use as audio tracks for the video. But I am unable to figure it out how can I pass these audio files to the Video.js's player.
Is there any other library other than Video.js which can help me with this problem?
Video.js doesn't support multiple audio tracks in this way, with separate files. Instead, you can use an HLS source which can contain multiple audio tracks.

Safari Desktop HTML5 Audio Tag

do you have any information related to the audio tag on MacOS Safari. The issue I am having is when I use audio.play() the sound is delayed 100ms - a full second. It is as the sound is being reloaded from the server each time.
I am only using one file and I was hoping maybe there was a work around for this things I tried was to play the audio file and pause it before the end and them move the position and the play the audio again but I beleive the play() function in safari actually reloaded the file.
Thank you!

Sound is distort on iPad when using web audio api

I have a problem when I am trying to play on iPad an mp3 using the web audio api.
In fact, the application is a html page where I try to play some mp3 or video files.
If I play first a video and then an mp3 file, the mp3 sound is distort.
If I play first a mp3 file everything work fine.
Even if all the video and audio have the same sample rate is not working.
Do you have any idea what should I do to avoid sound distortion?

JPlayer and wav file

There is an issue with jPlayer and playing wav files. I tried to play a wav file but some of my buttons are not working as what they should like, my 'stop' button only pauses, then another is that I can't use my 'seekbar'.
Do you an idea on how to fix this thing?

Javascript / Dreamweaver CS4 - How to control the .flv player?

I need a solution to control the flv player of Dreamweaver CS4.. I think I have to use javascript for this. When you click on a div container it should start the video, another click on the same container will stop the video. - BTW I use the JQuery framework.. so may you can compress the code.. Thanks!!
Pseudo javascript:
If played == 0
On Click "#acooldiv"
PlayVideo "object flv"
played = 1
If played == 1
On Click "#acooldiv"
StopVideo "object flv"
played = 0
StopVideo should bring the video back to 0:00 (so its not a pause its a reset of the video playing)
Sorry I'm not familliar with Dreamweaver, but why you want to control the flv player in that program? Don't you want to play a flv when it's in the (html)webpage and play it via javascript?
If you mean play FLV when its in the webpage:
You can communicate with the flv player (see here). But maybe better to embed these play/pause features in the flv player itself, because it really basic and probably most flv players already have it.

Categories

Resources