ActionScript 3.0 :: Capture Audio From RTMFP Subscribed Stream

Sep 17, 2010

I'd like to capture the audio data from an RTMFP stream to which the client is subscribed (so I get a bytearray of audio samples).The presence of the audioSampleAccess propery on the NetStream class certainly makes that sounds possibe:For RTMFP connections, specifies whether peer-to-peer subscribers on this NetStream are allowed to capture the audio stream. When FALSE, subscriber attempts to capture the audio stream show permission errors.url...But I dont see how I would do it. In the case of video, I see I could use BitmapData.draw(), and discucced url...But in the case of audio, I dont know how to address the audio data to get it into a bytearray.My instinct said this wasnt possible, but the presence of the 'audioSampleAccess' property makes me think it might be..

View 6 Replies


Similar Posts:


Media Server :: AudioSampleAccess / Capture Audio From RTMFP Subscribed Stream

Sep 17, 2010

I'd like to capture the audio data from an RTMFP stream to which the client is subscribed (so I get a bytearray of audio samples).The presence of the audioSampleAccess propery on the NetStream class certainly makes that sounds possibe: For RTMFP connections, specifies whether peer-to-peer subscribers on this NetStream are allowed to capture the audio stream. When FALSE, subscriber attempts to capture the audio stream show permission errors.[code]But in the case of audio, I dont know how to address the audio data to get it into a bytearray.My instinct said this wasnt possible, but the presence of the 'audioSampleAccess' property makes me think it might be..

View 5 Replies

Flash :: Capture Audio Stream In Browser Via Js/silverlight?

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

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 :: RTMFP Multicast Stream Has Exceeded Max Duration Allowed Closing Stream?

May 9, 2011

i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast

[Code]...

View 3 Replies

Flex :: Access The Remote IP Of A RTMFP P2p Stream?

Oct 4, 2010

I'm writing a communication system, using Actionscript 3 and C#. Flash is used to communicate with RTMP server and stream video and audio using RTMFP p2p, but the actual client logic is handled in C#.

What I want to be able to do, is allow users to share files between each other also using a direct p2p connection. I have got the RTMFP connection working but I need to access the IP address of the remote user so I can initiate a connection to send or receive files.

I looked at the Adobe docs but I can't see anything except how to access the farID.

Is there a way to get the IP of a RTMFP stream?

View 1 Replies

Actionscript 3 :: Get Video Resolution In A RTMFP Stream?

Oct 14, 2011

I would like to get the NetStream width/height when receiving a RTMFP stream. This is important because the video component needs different measures when, for example, the user receives a 4:3 or a 16:9 stream.

Unfortunately, the onMetaData callback for NetStream does not work as it does for RTMP streams.

View 1 Replies

When FMLE Stopped,Remote RTMP Stream To FMS 4.5 With Rtmfp?

Nov 14, 2011

When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp?

edit  "applications/multicast/main.asc" ?
 
/**
* File: main.asc
* --------------

* The server-side portion of the multicast sample application.

* This app accepts publish and unpublish requests from FMLE, and republishes

* the live stream from FMLE into a target Flash Group.[code]..............

View 1 Replies

Media Server :: Creating One Way (A Publish B Play) Stream Through RTMFP?

Aug 17, 2011

I've noticed an issue while creating one way (A publish B play) stream through RTMFP. When I try to create connection between computers behind the same NAT (same IP) stream playing is not fired at all, but on the other hand the same code works on remote computers (different IPs).This issue arose after releasing final release of Flash Player, in a beta release everything works fine.We checked NAT settings and there are no differences for this cases.

View 3 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

ActionScript 3.0 :: Getting Audio Stream Meta Data From An Akamai FMS Stream

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

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

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

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

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

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

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

ActionScript 3.0 :: Mic Audio Capture And Playback?

Jan 16, 2009

I've been developing in flash for a while now and now I have a job developing flash and actionscript 3.0. I have come across a project with a simple concept but I have found it difficult to implement.

What I want to do is allow the user to click a button and record their voice and then I want them to click another button and play it back. I don't need to save or store it and I don't have access to a flash media server or any alternative.

View 2 Replies

Java :: How To Capture Audio From A Browser

Oct 22, 2010

My client needs to let a user record a message from the browser, then export the message as an audio file (e.g., WAV).How is this best accomplished? Flash, Java, HTML5? By best, I mean something that is straightforward to implement and also broadly supported.

View 3 Replies

ActionScript 3.0 :: How To Capture Audio Via Microphone

Sep 25, 2008

I am a newbie to this Flash Segment. Though for my recent project i am diving into it. I want to make "A Flash app which will Capture user voice from microphone. It can be appended if paused. After recording done i want to upload the file to the server. so that i can play it back when required." I tried this with java applet but the UI is too bad so i am thinking in respect to flash. What i found till now is for this i have to go for Flash Media Server which is not possible in my project. I want a simple player. You guys rocks that i can easily understand after some wondering in this forum but did not get my solution so thought of posting it.

View 1 Replies

Media Server :: Capture Mac Firewire Output In FMLE And Stream Through FMS?

Jan 5, 2011

I need to take the some stream which is coming from firewire on mac, and then transcode/encode it to perticular bitrates, then stream.I think from firewire to FMLE, its straight forward. How can i stream? How can i give my clients ( say from mobile, or from any player as a http url streaming) stream? Do i need to use Flash media server, if yes can anybody point out the steps to set-up the same.

View 12 Replies

Flash :: Fms - Use Media Encoder To Capture The Audio?

Jan 18, 2012

I need to capture audio from a microphone using a flash object in a browser and live stream it to Flash Media Server. The Flash Media Server will in turn live stream the audio to users. Do I have to use Flash Media Encoder to capture the audio? Is it possible to capture the audio without the need of installing the Flash Media Encoder and somehow stream it to the Flash Media Server?

[Code]...

View 1 Replies

Flex :: Capture Video And Audio From Webcam Locally?

Jul 12, 2011

I'm writing a flex 4.5 application that's supposed to capture a video from a webcam and audio from microphone and save it in some video format (i don't care which format). I use VideoDisplay to display the webcam. how can I fetch and play audio in real time ? Is there a way to save the video locally without using a flash media server?

View 2 Replies

Flash :: Capture Audio From Browser And Save It On A Server?

Oct 24, 2011

I'm currently working on a project - an online education system, and I need to make it possible for studs to introduce themselves in a 30 sec audioclip. I need to implement it with Adobe Flash. The problem is that I have no idea how the Flash + Red5 duo work together. There aren't that many helpful recourses online, at least for me since I'm a beginner at Flash. (I do mostly PHP stuff.)

1) When you connect to the server, how do you make it record audio from flash client? 2) After 30 secs, how do you stop recording and save file in a specific folder on a server?

View 4 Replies

Javascript :: Capture Audio Input With Flash Or Html5?

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

Flash :: Rtmfp Open Source Implementation Or FMS With Rtmfp Hosting?

Oct 28, 2010

Is there an open source implementation of rtmfp?Is there FMS hosting that support rtmfp?

View 2 Replies

Flash :: Live Voice Chat With Manipulated Voice Audio With RTMFP

Mar 27, 2012

We are building a live RTMFP voice chat application with Cumulus. While the basic voice transfer works pretty easy using NetStreams, we have one big problem:There does not seem to be a way to manipulate the microphone data that the NetStream sends, and also not a way to manipulate the data the listening NetStream receives before it is played.However, this is exactly what we need. We do not want to transfer the normal microphone recorded audio, but first pitch it, then send it, then play it. Or first send it, then pitch it, then play it. But it seems that the whole audio recording, speex encoding, speex decoding and audio playback is completely encapsuled within the NetStream class.The only ways to achieve what we want (and all of them removing NetStream completely) seem to be:Send raw pitched audio data. That does work, but is of course a lot of data to send and will likely not work fast enough outside of our local LAN testing.

Pitch audio data, convert to ogg/mp3 using existing encoders for flash, send, decode ogg/mp3 and play. But this would mean encoding each and every sample packet that is received from the microphone, adding header stuff, etc. So this would likely not even yield that much of a benefit compared to raw audio data.2.1. This would actually be a good way if there was a Speex encoder/decoder for flash. But ironically, there is none other than the built in one (which is used for encoding/decoding audio in NetStreams) that cannot be explicitly used. ot offering it, Adobe...Send the data to the Cumulus server, pitch (and probably convert) there and send to the recipient. This would likely not even be that much faster than 1. and also throw away the exact benefit of RTMFP, P2P communication.

View 1 Replies

Actionscript :: Capture Video / Audio From Webcam - View It And Send As A File To Server (youtube) In Flash

Sep 15, 2010

I'm new in AS and trying create util such Youtube's "My webcam". Here's a part of my code:

[Code]....

Can't attach video object or stream to spark.components.VideoPlayer to view video and don't know how to convert video to flv contents for sending in POST form.

View 1 Replies

Get If Comsumer Subscribed In Flex 4?

Jan 13, 2012

Recently I've found out that consumer in Flex 4 doesn't subscribe immediatelly after subscribe method invocation. I didn't find any opportunities to define if consumer is subscribed. Does anyone know how to do that?

View 1 Replies

Possible To Stream Only Audio?

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

ActionScript 3.0 :: How To Stream Audio Using Php

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

Android :: Capture Video And Stream It To Flash Server On Realtime In Android?

Mar 14, 2012

I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. Is it possible to do?

View 2 Replies

ActionScript 3.0 :: Stream Asx Audio In Flash?

Jan 9, 2009

I would like to stream asx audio in flash, is this possible?

View 2 Replies







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