Javascript :: IE Not Letting Flash Stream Audio
Dec 10, 2009
This problem is happening is both IE8 and IE7. I have a small swf compiled with flex. It's basically just a wrapper around audio streaming functionality. All the controls and such are in html with javascript. I load the swf using swfobject's "static" method. This works great in Firefox and Chrome. In IE, the swf loads correctly, but as soon as I try to stream any audio with it, I get an error. EDIT: I've reduced the code quite a bit to try and find the problem. You can see the new version running here. Here is the error, html and flex files for my reduced version:
[Code]...
View 2 Replies
Similar Posts:
Jul 26, 2010
I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
I'm running Windows XP service pack 3 & FMIS 3.5.
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
Here's my AS3 code...
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);
[Code].....
View 1 Replies
Jul 21, 2009
I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.
[Code]...
View 6 Replies
Mar 11, 2010
Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..
View 1 Replies
Sep 6, 2011
Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:
1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.
2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.
View 1 Replies
Apr 1, 2012
Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?
View 1 Replies
Jan 9, 2009
I would like to stream asx audio in flash, is this possible?
View 2 Replies
Nov 21, 2009
I'm interested in setting up a site where I can put MP3 files on my server (outside the web root) and stream them to a flash application. I'm not talking about progressive download here. The basic idea is to let visitors hear a band's music without actually downloading or caching an mp3 or SWF which could be located as a file and saved or ripped. I have seen this awesome tutorial on streaming an flv and was wondering if anyone can recommend a PHP/AS3 solution which would let me do the same for audio.
View 9 Replies
Oct 22, 2010
Is it possible to have a Flash player that only plays the AAC audio of Flash video (FLV file)? In other words, we need the video muted and only play the audio.
View 1 Replies
Jul 11, 2007
can Flash stream audio from a different domain? Like, if I have my .swf on www.a.com and then my .mp3 on Url..., will trying to stream it work?Also, is there a way to have music saved on the person's harddrive or cached so that if they load the song, they dont have to load it each time when you stream audio or load it from another source?
View 2 Replies
Mar 17, 2010
Im working on a project where we need to capture a 5 sec clip of whatever is being played through the users line-out (audio).
Is it possible to do this reliably through a browser (using flash/silvelight/js..) ?
View 1 Replies
Apr 20, 2011
I'm trying to force the Flash player to play video files without showing screens. I did try to set vidDisplay.visible to false. But it seemed not working at all.I was doing was try to build a generic media player. Whatever the source is(audio or video), the control panel always the same, namely, a mp3 player panel is always displayed:However, when I stream in a video file, it would end up overriding mp3 panel with a partial video screen. I don't have enough reputation to upload images...
View 1 Replies
Feb 2, 2012
I have a custom Flash video player that uses the NetConnection and NetStream classes to stream mp4 files from a Wowza server. Lately the playback has been having audio problems. The sound is crackled and in some cases may cause the Flash player to crash. This is not consistent between files. Meaning that a file that was played once with bad audio could be fine 5 minutes later when played again from a new instance of the player , but 5 minutes later have the same problem.
My thought direct me to thinking this was an encoding problem, but that wouldn't explain how one second the playback is fine, and once refreshed messes up again.
I should note that the Wowza server does not stream the entire file but only a portion of it based on various parameters it gets.
View 1 Replies
Feb 20, 2011
I have a VLC player streaming my webcam video through RTSP on 5544 port, the video is encapsulated with MPEG-TS and compressed with MPEG-4 for both audio and video (as is VLC's default I suppose)You can access the streaming video with the following URL:[URL] All is working till here. I could also change transport protocol/incapsulation, that's not a problem since VLC allows me to do it.I want to develop a silverlight player (preferred) or a flash player capable of reproducing the stream (audio and video).I don't know how to do this.The question is: I could not find a link on the internet on how reproducing a VLC stream with a silverlight(preferred) or flash applet in a web pageSince I'm not a Silverlight/Flash developer.
View 1 Replies
Mar 9, 2012
I've made a website, to test the html5 audio. Unfortunately some browser doesn't support it. How to use a flash backend? I haven't found anything useable. The flash backend examples on the web use the DOM element, not the new Audio(). I don't want to use JQuery for this little experiment.
My code:
<!DOCTYPE html>
<html>
<head>
[Code]....
View 3 Replies
Jul 1, 2010
Is is possible to detect within JavaScript of Flash if there is auto audio another flash object (mostly ad) on the page?
View 2 Replies
May 8, 2011
This isn't another one of those "How can I record audio in the browser?" questions... I know that the HTML5 Stream API is around the corner and Flash can already access the user's microphone and camera. I'm simply wondering, as a Javascript developer with little knowledge of Flash, if anyone has developed a JS library that hooks into Flash's device capabilities for recording but sends the results back to javascript (presumably using ExternalInterface).
In other words... libraries like SoundManager2 utilize a Flash fallback for audio playback, but they don't seem to allow for recording. Has anyone written a JS library that uses an invisible Flash movie to allow audio recording?
View 2 Replies
Jun 9, 2011
I use flash audio player like:
[Code]...
and I want to use hotkeys for audio play, so I need to know html element id for play button.
View 1 Replies
Dec 21, 2011
I am trying to capture the microphone and send the recording to my server.. I tried this method here but it records only a big WAV and the upload can be slow sometimes. Is there a way to capture the voice and compress it on the client side? Best method would be to send the recording while recording, but I have no Idea if this is possible. (It works for YouTube Live Webcam recording, it must work for Audio only too..)
View 1 Replies
Sep 7, 2011
I'm able to record sound with a Flash application embedded in my website, this audio is saved to a ByteArray, which I need to pass to Javascript in order to post to my server along with other required data.
I know I can use AS3 ExternalInterface class to communicate with Flash from Javascript, but what would be the appropriate format or variable type in javascript to hold the ByteArray, and how can I ensure that I won't lose much audio data when doing so?
View 1 Replies
Feb 20, 2012
I've got a flash player (using JWPlayer) that plays an audio file. The file plays fine. How do I provide the embed code for end-users to copy, so they can post the player and play the audio file on their own site directly? Should I be using HTML <pre> tags somewhere? Or JavaScript to generate the embed code / link?
[Code]...
View 1 Replies
Jun 8, 2011
Does anybody knows if it it possible to stream only audio?
I'd like to stream video+audio (different qualities : ~1000 kbps and ~400 kbps) and audio only for low-bandwidth (~128 kbps).
Adobe Flash Media Encoder Live allows me to stream different qualities. And what about audio-only stream?
And of course I don't want just to hide video on client-side.
View 2 Replies
Aug 13, 2009
Im using CS4 trying to make a tween where I transform a rectangle to go from 2 pixels to about 500 pixels so I can create a transition effect, but its only letting me transform it to around 200 pixels.Am I not doing it the way Flash wants me? How should I transform a rectangle to be a lot wider or taller for a tween?
View 2 Replies
Nov 21, 2009
I'm interested in setting up a site where I can put MP3 files on my server (outside the web root) and stream them to a flash application. I'm not talking about progressive download here. The basic idea is to let visitors hear a band's music without actually downloading or caching an mp3 or SWF which could be located as a file and saved or ripped.I have seen this awesome tutorial on streaming an flv and was wondering
View 2 Replies
Apr 7, 2012
I'm trying to setup an audio-only, on-demand HLS stream in FMS 3.5. I have no problems streaming the sample f4v files via HLS, nor do I have any issues streaming the mp3 files via RTMP to a Flash client. However, when I try to stream a sample mp3 via HLS (the mp3 file is located in the same directory as the sample f4v's), I get a 404 error. I can't find anything in the documentation about streaming audio via HLS on-demand.
View 1 Replies
Mar 1, 2012
i am new to flex. I have this task. My boss wants an application that will enable his secretary in another room listen and view and probably take minutes of his meeting in the conference room. There is a webcam attached to one of the computers in the conference room.
View 1 Replies
Apr 30, 2010
if its more or less taxing when drawing movieClips to bitmapdata rather than letting flash normally render them.
View 8 Replies
Mar 2, 2012
<?xml version="1.0" encoding="utf-8"?>
import flash.display.Sprite;
import flash.events.Event;
[Code].....
View 1 Replies
Aug 20, 2009
I'm trying to stream an audio clip via rtmp in as2. I'm not particularly attached to the method, but this is the starting point I am at below:
Code:
var s:Sound = new Sound();
var req:String = "rtmp://path/filename"; //doesn't work
var req:String = "[URL]"; //This works
s.loadSound(req, true);
I need to get an RTMP audio stream working, does anyone have any experience with this? (Also not sure if this goes in the actionscript folder or the sounds folder.
View 3 Replies
Dec 20, 2008
I used source code I found for a sound stream visualization (By Peter Dehaan). I added a play and stop button, but when a user clicks on play more then once it loads the stream multiple times. I don't quite know what I should do to prevent this.
View 3 Replies