Read Using C++ (C#) Sound Stream Sent By Flash?

Feb 28, 2010

I need to read sound stream sent by flash audio in my C++ application (C++ is not a real limitation, it may be C# or any other desktop language). Now flash app sends audio to another flash app but I need to receive the same audio by desktop application.So, is there a standard or best way how to do it?

View 5 Replies


Similar Posts:


Professional :: Sound Stream From One Clip Playing Over Stream From Another

Jan 23, 2011

I have a layout with narration and a nav bar. When I click a nav button for section 2, the audio from section 1 (set to stream) continues to play over the audio for section 2. This cumulates so if I click buttons for sections 3, 4 and 5, I get five audio files playing on top of each other. Sections are individual movie clips with embedded audio streaming on a Sounds layer in each movie clip.

View 3 Replies

Sound Stream From One Clip Plys Over Stream From Another?

Jan 24, 2011

I have a narration and a nav bar. When I click the button for Section 2, the audio for Section 1 continues to play on top of the audio for Section 2.

View 1 Replies

ActionScript 2.0 :: Sound Visualizations - Dynamically Read The Sound Levels Of A Loaded MP3

Jan 14, 2005

Does anyone know of a way to dynamically read the sound levels of a loaded MP3 to help produce dynamic sound visualization in Flash?

View 5 Replies

Media Server :: Send Sound With Stream (both Sound And Mic Audio)?

Oct 6, 2011

I have a broadcasting project that I've got where the host of the show can have multiple sound effects they can use on their show.I'm wondering if the only way to go about this is for all the clients listening to the show need to download the mp3 of that sound effect or if the sound effect could come from the host ...like combining his mic (for his voice) but also straight audio (the sound effect) into the stream.

View 1 Replies

Professional :: Flash - Animation With Stream Sound Not Playing In Mac?

Jul 29, 2011

I have made a 5 min animation with stream sound. Its playing perfectly in PC. But in mac, its not playing. Stream sound starts from frame 60. So mac plays the swf plays till 60 frame, after that it pauses. I tried importing different sound format (wav, aif, mp3) and tried with all sound export setting but the problem remain same; its playing only till 60.When i removed the sound, it played till end. Even with event sound, it plays till end. But with stream sound, the problem. The problem is only in mac; in pc its perfect.I am using VMware Mac OS x leopard in window xp for testing purpose.

View 2 Replies

Flash :: Encoding Speex Into A SWF Version 10 Sound Stream

Mar 1, 2012

Adobe's "SWF File Format Specification v10" says that Speex encoded data can be used for streaming sound (a little clarification of the "streaming sound" definition here: "The SWF file format supports a streaming sound mode where sound data is played and downloaded in tight synchronization with the timeline. In this mode, sound packets are stored with each frame." - this has nothing to do with any FMS streaming, no ActionScript needed - just plain SWF).This should be accomplished by using a single SoundStreamHead2 tag with StreamSoundCompression set to 11 (which means "Speex", as stated in the abovementioned Specification) and then N pairs of ShowFrame and SoundStreamBlock tags. However, this does not work - Flash Player plays no sound when playing the SWF generated by me this way. Please note, that I am capable of generating such SWFs containing streamed MP3 or PCM data, which then play perfectly. Just not Speex...

I strictly conform to the Specification:URL...I tried the streaming sound approach as well as the event sound - both do not work.Moreover, I was not able to find (anywhere on the Internet) any sample SWF with streaming sound (nor event sound) encoded in Speex. Do they even exist? Anyway, Flash CS5.5 is not capable of generating them.I would just like to know whether Speex support for SWF streaming sound can be found anywhere else than in the Specification. (I know that FLV can contain Speex and that Flash Player can stream Speex from a microphone and that FMS can stream Speex to its clients, but this is not what I am asking for)

View 1 Replies

ActionScript 3.0 :: Function To Read Bytes From Stream

Sep 28, 2011

I have a function that reads bytes from a stream, but the bitwise shift left only allows you to shift up to 32 bits it looks like.
Code:
function ReadALong(obj:*):Number {
var val:Number = obj.readUnsignedByte();
for (var L:Number=1;L<8;L++) {
var Add:Number = obj.readUnsignedByte() << (L*8);
val = val + Add;
} return val;
}

View 1 Replies

ActionScript 3.0 :: Stopping A Stream Sound?

Aug 5, 2009

how do we stop a streaming sound?

sound.stop();
or
sound.close();

View 1 Replies

Sound Choppy In Stream Mode.?

Oct 9, 2009

I placed my audio in the timeline, but I want it streamed rather than event driven because people will be jumping around the timeline When I change the sound to Stream the audio gets incredibly choppy.

View 6 Replies

ActionScript 3.0 :: Stoping Sound Stream?

Oct 20, 2009

i make my first flash homepage this time, and i got a problem with my intro.It takes a lot of time to make this work because its my first projekt.So iïve made a flv file as the movie clip and an mp3 for the sound.And i lode it by Actio Script.Here is my code.

//Intro-Video laden
var IntroConnection:NetConnection = new NetConnection();
var IntroStream:NetStream;

[code]........

View 0 Replies

ActionScript 3.0 :: Sound Stream Is Not Available Anymore?

Sep 11, 2010

I load icecast stream into Sound object, using some tricks to overcome memory leakage. Generally it works quite well, unless someone reloads either icecast or stream source program on the server. In that case flash player just mutes itself forever. I'm looking for some way to detect this case internally and reload the stream without refreshing web-page.My problem is caused by the fact that onComplete event for some reason doesn't trigger, maybe there's another event happening, but I just couldn't find any.One thing that I tried was noting down stream progress point and checking consequently for 200 times if it stays the same and if it did I was manually calling stream reload function.

View 1 Replies

ActionScript 3.0 :: Open And Close A Sound Stream?

Jan 11, 2010

I am stumbling across this issue as I open and close a sound stream. This is the code I use, not sure if closing and opening a stream on the same function is a good idea.

[Code]...

View 4 Replies

Professional :: Sound Synch: Stream Vs Event

Apr 23, 2010

I'm working in Flash CS3. My animation is about a minute long, with a single audio track that plays from beginning to end. The sound quality is noticably better when I set the synching to Event, but unless I set it to Stream the sound falls behind the animation. Is there any way to maintain proper synchronization with the Event setting? Also: will the lag be consistent on different machines and players? I thought about adjusting the timing of the animation so that it matches the Event-set sound in playback, but that's such a clunky a solution it seems likely to cause other problems.

View 2 Replies

Actionscript 3 :: Sound Stream Stops Loading?

Jan 28, 2011

I have a little sound stream script here, but sometimes if you press play to the next track before the current has done loading the next track doesn't comeplete loading

package player {
import flash.events.Event;
import flash.display.Sprite;

[Code]....

View 1 Replies

ActionScript 2.0 :: Load The Sound And Play And Stream It

Mar 21, 2004

I have a button which loads a sounclip into a movieclip: [AS]_root.myMusic = new Sound(emptyMC); _root.myMusic.loadSound("song1.mp3", true);[/AS] it will load the sound and play and stream it ... but in my output i constantly get this every sec: Error opening URL "file:///E|/Dir/Dir/Dir/undefined"

View 1 Replies

Flex :: Change The Sound Volume Of A Live Stream?

Apr 20, 2010

I have something like this:

private var myVideo:Video;
public var videoDisplay:UIComponent;
...
videoDisplay.addChild(myVideo);

[Code]....

how can I change the volume of this stream, I would like to bind the volume to a slider

View 2 Replies

ActionScript 3.0 :: Play MP3 Sound From Buffer (ByteArray / Stream)?

Oct 25, 2009

I have a buffer with MP3 data (If I would save this buffer and call it buffer.mp3 it would play, but in this situation I should not save it to file system). I have to play it, but I can not, what shall I do? I tried the next code to play that buffrer(ByteArrayStream) (I get MP3 data from server the method of getting data works fine (tested on text int's etc) I call the returned ByteArray readResponse because I have some seading method and It is it's response).

[Code]....

View 5 Replies

Media Server :: FMS Live Stream Input Sound Echo

Feb 22, 2010

I am using FMS for live streaming. Am using Flash to publish live video, I have one to one live streaming where I can see other end user live video and other end person can see mine live video. So one input stream going to server and one out put stream coming back. The problem what I was getting is sound is getting echo i.e., Repetitive sound getting.

View 1 Replies

Actionscript 2.0 :: Detect If Stream Finished Playing Sound/movie?

Apr 29, 2009

how to detect if stream finished playing sound/movie?

View 1 Replies

ActionScript 2.0 :: Control The Sound Object Of A Video Stream From A Different Domain?

May 13, 2007

We need to call different instances of youTube Video into our own swf and play them.

Now as youTube video is from a different domain, the Flash sandbox restrictions naturally come into play. We am loading the youTube swf into a clip using the MovieClipLoader Class.

If we remove the instance using the removeMovieClip() command the video is removed but the sound continues. We have even tried the MovieClipLoader unloadClip() method but that too did not yield results.

We wish to be able to kill the sound object or atleast mute it so that it does not play even after the movie clip containing the video is removed.

As the swf belongs to a different domain we are unable to control the sound object directly through script.

We have even tried loading another youTube instance into the same movie clip after first removing it using the removeMovieClip() command, then creating it again, and finally loading the youTube instance using the MovieClipLoader class, but the earlier sound still continues to play even while the second clip sound also plays.

View 1 Replies

ActionScript 3.0 :: Slight Delay In Button Sounds During Sound Stream?

Jan 30, 2009

I have some sounds on buttons:

Code:
var mySound:Sound = new myLibrarySound();
myButton.addEventListener(MouseEvent.CLICK, playSound);
function playSound(e:Event):void

[code]....

... and that works fine. I then have some streaming music:

Code:
var myStream:Sound = new Sound();
myStream.load(new URLRequest("myPath.mp3"));
myStream.play(0);

... and that works fine too. Now, however, the initial button sounds have a slight delay -- I'd estimate about 150-250 ms. It's enough that rollover click noises happen about the time you click, and click noises happen about the time you release, etc. Now, here's the KICKER. It only happens in FIREFOX. CURSE FIREFOX. Seriously. I've been having so many Flash issues in FF3, it just drives me nuts. Firefox and wmode is a pain, Firefox and sound is a pain, Firefox has been crap for Flash development lately.

View 2 Replies

ActionScript 3.0 :: Stop Looping Stream Sound Imported From Library?

Mar 9, 2011

How do you tell flash to stop Looping a stream sound that is imported from the library via Linkage method into AS3? I understand the idea of soundChannel that control the sound.

PHP Code:
block_mc.addEventListener(Event.ENTER_FRAME, enterframe);
function enterframe(event:Event):void{
if(block_mc.hitTestObject(circle_mc)){
myChannel= mySound.play();
}else{
myChannel.stop();

The above is a drag and drop situation, so when the block_mc is no longer hitting the circle_mc, the sound echoes or loops multiple times before coming to a stop. Any clue how to rectify this. How do you use onSoundComplete in AS3.

View 4 Replies

Xml :: Flash - What Does Get Read From An Nonexistent XML Tag Read By Action Script 3

Aug 4, 2011

As the title says, suppose I have an hypothetical XML containing this:

[Code]....

I can check if a certain speech has a bg change by simply doing this:

if(bgs[i])
{
//true!
}

what should I compare in the case of sounds, I've tried many, like:

[Code]....

View 2 Replies

ActionScript 1/2 :: Get High Quality Sound In Stream Mode In Timeline Not In Event Mod?

May 6, 2010

How to get a high quality sound in Stream Mode in the Timeline not in Event Mod? In Stream Mod the sound played in the timeline is HQ but after .swf export it gets in really bad quality

View 5 Replies

Flash :: Read A Http Response Body When Tyring To Read Http Via Tcp Socket?

Feb 19, 2011

So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?

View 1 Replies

Media Server :: Switch Or Change A Server-side Stream - Starts Lagging After 2 Seconds Of Playing And Sound Disappears

Jan 28, 2010

I try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:

1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.

2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().

I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?

View 4 Replies

Media Server :: Close Another Live Stream B If Opening When Stream A Is Closed?

Aug 28, 2010

close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?

View 8 Replies

Media Server :: Recording RTMFP P2P Stream By Sending Simultaneous Stream To FMS

Oct 8, 2010

Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
 
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
 
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?

View 1 Replies

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

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







Copyrights 2005-15 www.BigResource.com, All rights reserved