Flex :: Actionscript - Cancel A Net Stream To Fms Server?
Jan 4, 2010
Is there a way to cancel a netstream publish from flex to a flash media server?
The issue is I have code where I can Start/Stop a recording to my Flash media server. However in my front end I have a cancel button which allows the user to cancel the current recording and all this code essentially does it close the netstream. But the issue is it still creates the file on my flash media server even though the user has canceled the stream. Is there a function that I can call that will clear up the stream and remove the file that was created?
View 1 Replies
Similar Posts:
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
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
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
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
Mar 9, 2010
I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
[Code]....
View 3 Replies
May 24, 2010
I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...
View 4 Replies
Aug 27, 2010
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?
View 2 Replies
Sep 23, 2010
I'm trying to get Flex Builder 3 to play a live video stream with Flash Media Server and Flash Live Media Encoder.
I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not with Flex.
This code streams pre-recorded Video on Demand flvs, but not live streams:
If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
<?xml version="1.0"?><!-- controlsvideodisplayVideoDisplayFMS.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox> <mx:Label text="RTMP FMS 2.0"/> <mx:VideoDisplay autoBandWidthDetection="false" source="rtmp://localhost/vod/Legend.flv"/> </mx:HBox></mx:Application>
View 3 Replies
Jul 2, 2010
I'm trying to send a video stream to a Red5 server using Flex.
My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.
This is the AS3 code that connects to Red5:
# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared
[Code].....
As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.
View 2 Replies
Nov 1, 2011
One of my web applications have developed in java and using tomcat server. Now I want add one more feature in my application that is peer to peer audio streaming. Actually I want that anyone speak (using microphone) on the client side and I will hear his voice on my server speakers and vice versa. Also save our communication in any file and also send the audio stream to IP intercom.
For that I am trying to use Flex Builder. Flex NetStream class is good for the streaming and we can also attached microphone. But the problem is on the server side. How can I get the audio stream on server side?
how can I get stream from server to client and vice versa?
View 1 Replies
Dec 12, 2011
I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.
Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent
FMS 4.5
I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....
View 2 Replies
Oct 10, 2010
is it possible to play video stream from non-adobe(or homebrew server), in the newest flash player(10).It looks like the VideoPlayer only plays the stream from FMS? Is it the business model of Adobe?
View 2 Replies
Mar 10, 2012
I am Trying to Apply some information Like text and An Image as an overlay to create a overlay effect as lice a security camera with time and date on the video along with a png based Logo.
I can record VIDEO Using Flex and FMS or any other Media Server. But I want to save a modified version of the stream being uploaded.
View 2 Replies
Apr 28, 2010
One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?
View 2 Replies
Dec 11, 2011
Can I re-stream a stream from wowza to fms 4.5?I have a wowza stream with the url similiar to URL... Is it possible to restream this to fms 4.5?
View 3 Replies
Apr 3, 2012
Is it possible to cancel an RPC call that is assigned to an AsyncToken with responders?
View 1 Replies
Apr 30, 2010
I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.
View 20 Replies
Dec 20, 2010
I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.
View 2 Replies
Mar 4, 2011
Somebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.
View 1 Replies
Apr 27, 2009
I use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?
View 1 Replies
Jun 12, 2009
I seem to recall reading somewhere (but for the life of me I can't find the article I was reading), that with Adobe FMS you could store content on one machine, and then run the actual server on a separate machine. Is this correct? If so, how would you go about doing it?
View 1 Replies
Sep 6, 2010
I understand how clients use bandwidth detection etc to dynamically switch streams via client calls with ns.play2( ... ), but I was wondering if it's possible to only ever use 1 initial ns.play( ... ) call on the client side, but let FMS server side logic that I write dictate which client sees what content. For example, I have 3 clients connected to my FMS server, all watching a live stream. I then decide I want clientA to see 'recordedMovieA.flv', clientB to continue seeing the live stream, and clientC to watch 'recordedMovieB.flv'.
[Code]...
View 5 Replies
Nov 12, 2010
I am recording a video and while recording I issue some NetStream.send("doSomething", params) commands from client side. When I am playing back this video I receive the doSomething events on client side. No problems so far.Can I receive those events on server side? I want to handle those events on server side. Not client side.
View 2 Replies
Mar 21, 2012
My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server.
View 1 Replies
Apr 7, 2010
i am currently playing around with a flash media server trial in combination with the flowplayer.All in all i am testing the performance and general functionality for the company i work for.Anyways, i am trying to search a way to check the bandwidth of a client ( server sided ) and redirecting him to the right video stream.Sure this could be done by the backend flash application, but its out intention to perform this check server sided.
View 4 Replies
May 7, 2010
I recently upgraded from FMS 2 - FMIS 3.5.Over our internal network videos stream like a dream!However, accessing them from outside our own network means that they take about 20 seconds to load, or sometimes just get a message saying the server isn't found.This wasn't a problem with the FMS2 and there have been no changes to firewall settings or anything like that since the old server was up and running without problems.I have the new server set to use exaclty the same ports, but wonder if there are some other settings which could be causing this?Networking isn't really my area of expertise, and I have no idea where to start looking to improve things.
View 2 Replies
Dec 6, 2011
We purchased Flash Media Streaming Server Interactive edition in order to have the security featuers of not allowing unauthorized connections streaming live content to the server. Is there a document with procedures that details how to make this happen, the allowedHTMLdomains.txt does not work when you place in IP ranges that you do not want connecting. I need some help just to figure out a way to keep someoen from connecting to the server and not streaming live content. Has anyone configured this in Linux because the documentation is mainly for Windows. Any help/advice would be great since this seems to be a common problem for anyone who runs Linux.
View 10 Replies
May 23, 2009
I've done a lot of C# programming with both Winforms and WPF. I'm working on a Flex/Air app now for cross platform support. But this is my first flex project, so I'm learning as I go. I've got a window that I want to popup, that the user will fill out a form, then hit OK or CANCEL. I set it up the same way I would've in C#, but it doesn't work, and I can't really see a way to make it do what I want.
[Code]...
View 3 Replies
Jul 9, 2009
I'm usig Adobe Flash Media Streaming Server 3.0.1, it works fine, no major problems, when the internet between Media Encoder and Server stops, some times the stream doesn't start automatically.I have a problem with users(viewers) trying to connect to server. The server is connected to fiber optic internet at 100mbps and the stream is made in 500kbps with media encoder 2.5.
When are 40-50 simultaneous viewers works fine, but when enter more viewers, for example, 200 simultaneous, nobody cam receive the stream good, it works frame by frame or flash player display "buffering", work 3 seconds and buffer 5 sec,and so on.HOW I CAN RESOLVE THIS PROBLEM?it is possible to connect milions of users simultaneous, how can i do that.I need more servers to connect each to each other? Could you send me a diagram how to do that?I need to increase the ram memory from server?( i have P4 dual core 3.0 Ghz, 6 Gb ram 800Mhz).
View 1 Replies