ActionScript 3.0 :: Stop Publishing Stream And Restart The Stream
Mar 8, 2011
I am very new to action script. I want to stop the stream from publishing then later on i want to publish the same stream again. My problem is that I have 3 levels of stream processing (Ingress-Rename ProxyLimelight-AuthProxy-Live) before it goes live. User wants to stop stream from publishing and then publish the same stream when he wants in each level. User does not want to start the stream from the begining, he wants to restart the stream on the same where he stopped.
View 0 Replies
Similar Posts:
Mar 8, 2011
Can anybody tell me how to stop and restart the incoming stream thru server action script?
View 0 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
Oct 23, 2011
I have followed this link to republish my local stream to other local application instance : [URL]
i have used this script code into main.asc and it is working :
// Called when the client publishes
application.onPublish = function(client, myStream) {
trace(myStream.name + " is publishing into application " + application.name);
[Code].....
View 9 Replies
Dec 6, 2010
I've developed a Flash video recorder(using AS3, Flex) which captures live web cam and streams to Wowza media server.I am trying to apply sharpness, contrast, saturation and sharpness filters on the live video being captured.I am able to apply filter effects on the video being captured on the screen. How do we apply the filters so that it reflects in the stream being published ?
View 1 Replies
Jan 11, 2011
I'm publishing a multibitrate stream with adobe live media encoder to flash media server and I have to duplicate it to two different urls within one domain. Maybe it's possible by configuring apache or maybe there's another way.
View 1 Replies
Oct 2, 2009
I have justed started using Flash Media server so this could be a really easy one to answer or not even possible.I have Adobe Flash Media Live Encoder 3 publishing to Adobe Flash Media Server 3.5 which then publishes this live stream to two CDN providers. I want to publish the stream with a different name to each CDN. Anyone know howI can do this without having FMLE3 publishing a backup stream and then FMS having to process two differently named streams?I.E.FMLE publishes a stream called bobThis is then published to CDN1 as bob and I then want to publish it to CDN2 as bob2Below the main.asc for the application but it ignores the second stream name and publishes to CDN2 with bob
main.asc file
server-side actionscript[code].....
View 1 Replies
Mar 21, 2011
I'm developping a FMS 4 application that read an external stream, and then, republish it in multicast:
1.- So, first of all I open a NetConnection to the remote application. And I associate it to a new Stream created in the application. Then I have the stream available in my application.
nc = new NetConnection();
nc.connect(REMOTE_APPLICATION);
nc.onStatus = function(info)
[Code].....
But, I don't know who would be the client in the registerStream method. Which reference should I add there? Is it possible in this way?
I made another different script that republish that stream in localhost using NetConnection.publish(localhost/sameapplication). It works properly. But I would like to be able of managing it in the other way.
View 2 Replies
Sep 15, 2010
I'm having a reliability problem with publishing live, h.264 streams from FFMPEG (using the rtmp publish ability now built into FFMPEG, where I can set an rtmp address as the output).After a random period of time (usually between an hour and several hours), the default "live" application in FMS 4 (or 3.5) eventually drops the connection from the FFMPEG encoder. This is what appears in the log for the application:"Dropping application (live/_definst_) message. Clients not allowed to broadcast message."After googling the error, I discovered that people have been reporting this error for several years, but there has not been a single response from any FMS experts or Adobe about what causes the error.
View 6 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
Aug 3, 2009
The auth_addin works as expected when using the Flash Media Live encoder requiring a username and password before publishing a stream.However, tools like Wirecast and even the sample broadcasting SWF that comes in the FMS Introduction page can publish a stream without providing any credentials!
View 1 Replies
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
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
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
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
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
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
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
Jul 23, 2009
How do I stop an rtmp stream? I tried this code but I get the following error.[code]...
View 1 Replies
Feb 12, 2009
In the following code, I call a separate swf file that uses xml to load in a series of images and automatically rotates them.If, in the Main movie, it goes to a new scene that doesn't hold this swf but before all the images are loaded, it continues to load all of them in the background.So, I tried to get it to close the loader when it goes to the new scene.But it isn't working. It's still streaming and loading the images in the background.
ActionScript Code:
var imageRequest:URLRequest = new URLRequest("imageRotator_01.swf");
var imageLoader:Loader = new Loader();
[code].....
View 0 Replies
Feb 28, 2011
My fmis server is 3.5.4 and I use flvPlayback to play the fms live stream.
I want to let the live stream stopping status after be load completed.but after I set the autoPlay=false, the fms live stream is not stopping status after be load completed.
However I try the fms vod stream as the autoPlay=false ,is can stop .
what's different the live stream and vod stream. why the vod stream can stop but live stram can't stop?
View 3 Replies
Apr 11, 2009
I need to know how to start and stop my flvplayer and my live stream.
I think this is kind of what I need but I've tried bits and pieces of it inside of functions triggered after a certain time and its not working.[code]...
View 5 Replies
Jan 22, 2004
I created this very simple MP3-player. Which works good for most part I think, but there's one problem. If I click on the play-button and skip quickly through to the next track, while the first track wasn't even playing yet, I get to hear both songs mixed through eachother when they both finished loading. Apparently the first track was still loading. So I'm kinda wondering if there's a way to stop the load of the first MP3 stream when I skip to the next one?Here's the link to my MP3-player with 5 one minute clips of songs: http:[url].....
View 11 Replies
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
Apr 6, 2009
HI installed flash media server 3.0.4 on a Windows 2003 server.I am using the default LIVE application and broadcasting to it using FME version 3.0 Inside FME I choose MP3 as the audio codec, stereo and 128kbps When I watch the stream everything works fine but after a minute (sometimes 2 minutes) the sound disappears and I can only see the video run.If I refresh the page that contains the SWF that plays the stream then the sound works again but then again after a minute the sound stops and only the video continues to play. It is important to say that this only happens when I play a live stream from a server that is located outside of my local LAN. If I play a stream from my development FMS server in my local LAN this problem doesn't happen using the same SWF and same settings in FME.Moreover, if I use the nellymoser audio codec then everything works fine and this problem doesn't happen also. The thing is that I want to broadcast a live event and it is very important that the audio sounds good (stereo and 192kbps) and if I use the nellymoser codec the results aren't that good.
View 5 Replies
Mar 10, 2012
Is it possible to stop a (live) Stream from playing for a user, but keep his NetConnection open for eg chat functionality?I only see a setBandwidthLimit to accomplish something similar to this, but then, if BW is set to 0, chat won't work.Why isn't there a built in feature to do something of seemingly common necessity like Client.stream.stop/change function to stop or change what video playback the client sees?
View 2 Replies