Flex :: Streaming - Access Raw Outgoing NetStream Data In AIR?

Jun 29, 2011

I have a Flex/AIR desktop application that connects a local camera and microphone to a NetStream for delivery to a Flash media server.However, I would also like to archive a copy of the outgoing stream locally on the filesystem. Is there any access to the actual bytestream of a NetStream object (even in the dreaded mx.internal namespace) that I could turn around and feed to a FileStream for the local archive?

View 1 Replies


Similar Posts:


Flash :: Relay Incoming NetStream To Outgoing?

Aug 20, 2011

Is it possible to make some kind of relay, to rebroadcast received stream to another host?
For example, if i have code like this

nsOut = new NetStream( outgoingNetConnection );
nsOut.client = {};
nsOut.addEventListener( NetStatusEvent.NET_STATUS, onNetStatus );
nsIn = new NetStream( incomingNetConnection );
nsIn.client = {};
nsIn.addEventListener( NetStatusEvent.NET_STATUS, onNetStatus );

How to connect this two streams to make direct transfer from nsIn to nsOut ?

View 1 Replies

Flex :: Detect When A Remote Client Has Started/stopped Streaming Video Over His NetStream With RTFMP ?

May 1, 2011

Am building a video chat application and i was wondering if there are any native events for the NetStream that fire,that can help in detecting when a remote client starts/stops streaming video over his outgoing stream (NetStream) to which the other client has subscribed over P2P/RTFMP in AS3 ?I maybe able to dispatch custom messages since the two clients are already connected, but i don't want to add the extra overhead.

View 1 Replies

Actionscript 3 :: Capture And Alter All Outgoing Requests From A Flex Application?

Feb 22, 2012

Currently in my flex application, I've got all of the app's assets being served from my local server, but I want to be able to serve all of the assets from a CDN (URL...)

the application has quite a bit of components so rather than going to each component and changing the source of the asset, is there a way to capture all of the outgoing request from my flex application and run some logic where I can change the request from [URL]...

View 1 Replies

Reset NetStream.time For A Streaming?

Jan 27, 2010

How do i reset netStream.time for a streaming .flv that was intiatied on the server side? It just keeps incrementing on me even after the streaming .flv is done playing.

View 4 Replies

ActionScript 3.0 :: NetStream Doesnt Stop Streaming?

Nov 11, 2010

i have a video object on my stage and i make it play by using ns.play();However, when i want to stop playing by ns.close(), i see from httpfox that streaming doesnt stop but continues.is there any way to really stop steaming anytime i want?it is same when i use FLVPlayback component. when i assign path to its source attribute, it starts streaming without saying it to play..

View 3 Replies

Actionscript 3 :: Get Netstream BytesLoaded And BytesTotal From Streaming .mp4?

Mar 26, 2010

I have a flex 3 app that uses netstream and a video object to stream .mp4 movies. I want to use the bytesLoaded and bytesTotal properties of the netstream to display the buffering information. I would also like to get any information about the number of frames that are dropped if possible.

When I've tested on .flv I'm able to get the information without a problem, but it doesn't seem to work on .mp4.

Is it possible to get this information streaming .mp4? Is there some configuration that I'm missing to make things work the same for .mp4 as .flv?

View 1 Replies

Flash :: Crop Camera Before Streaming To A NetStream?

Mar 23, 2011

I'm building a very simple publisher for the webcam in Flash. I want to select a camera and send the stream to a RTMP URL, basically:

Camera camera = Camera.getCamera();
NetStream ns = new NetStream(connection);
ns.attachCamera(camera);
ns.publish("stream name");

Now, I know I can set a mode on the camera, like this:

[Code]...

View 1 Replies

Media Server :: NetStream BytesLoaded Not Registering With Streaming?

Jul 10, 2009

I'm working with a custom made Flash video player using FMS (Wowza, actually).The video is working, yet when I access the BytesLoaded and BytesTotal,I get 0 (zero) for each.This even persists as the video is loading and playing.It's as if it is not even being registered at all.Here's the code:

var amountPlayed:Number = Math.round(ns.time * tlInterval) / Math.round(duration * tlInterval) * tlInterval;
controls.tl.width = Math.round(amountPlayed) * controls.tlw / tlInterval;[code].....

I tested this with a similar player that uses progressive downloading instead, and I get real data.

View 2 Replies

Flash :: Use Netstream.appendBytes() For Http Dynamic Streaming?

Jul 10, 2010

I am trying to figure out how to use http dynamic streaming with flash 10.1 but I can't get the basic functions working. What is the syntax for using appendbytes with a video file?

package com.player {
import flash.display.Stage;
import flash.net.NetConnection;

[code]......

View 1 Replies

ActionScript 3.0 :: Fullbrowser Streaming Video: FLVPlayback Or Netstream?

Feb 1, 2009

hey guys, what would be best to use on a full browser video, where the video should resize as the browser resizes and the flv will be streamed?

View 3 Replies

ActionScript 3.0 :: Flash NetStream.Buffer.Flush When The Streaming Video Is Paused?

Dec 26, 2010

I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:

Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay.

I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91, and it appears for both FMS4 and red5.

View 1 Replies

Flex :: Streaming Server (for Pushing Data Not Video) Setup With GraniteDS

Apr 21, 2011

I have a streaming server (for pushing data not video) setup with GraniteDS and it works great. I have to include multiple swf files in a web page. Each of these swf files has a data table which includes streaming data(this is a specific requirement - so I really cant combine all data tables into 1 huge data table/swf file). All the swf files however, connect to the same gravity channel/streaming endpoint.

How many connections are there from the web page to the streaming server? Does each swf file start a new streaming connection? Or do all them share the same connection since they are just connecting to a single channel?

View 1 Replies

Actionscript 3 :: Streaming Support For Flex With Ruby On Rails (working With Live Data )

Mar 9, 2010

I am working on flex dasboards and charting stuff. Till now I have build them for static data only now I want to upgrade them to work for real time data where new data is continuosly sent to client (swf file) from server and it updates the same.I am using Jruby with RoR.

View 5 Replies

Catch A Swf's Outgoing Message?

May 24, 2011

I currently have something going that gets me a pretty accurate value inside a swf (one I have no control over), but I want even more precision

I know it will sometimes send out data about itself to other locations

View 1 Replies

Media Server :: NetStream.Play.InsufficientBW When Streaming Server Side Playlist?

Sep 23, 2010

I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
 
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.

View 1 Replies

ActionScript :: Access NetStream Or MovieClip From Loop

Jan 26, 2010

I've got a load of videos
var ns1:NetStream = new NetStream(nc);
container1.compMa.theVideo.attachVideo(ns1);
ns1.play("sukh_diesel.flv", 1);
var ns2:NetStream = new NetStream(nc);
container2.compMa.theVideo.attachVideo(ns2);
ns2.play("sukh_beneath.flv", 1);

And 4 more, which I've left out to be concise. I want to pause them with
function pauseVid(){
this.ns1.pause();
for(i=1;i<7;i++){
this["ns"+i]pause();
}}

The commented out line:
this.ns1.pause()
works, but when I try it in a loop it can't access it?

View 1 Replies

ActionScript 3.0 :: How To Access Netstream Object Of Video

Jun 18, 2009

I am doing video.attachNetstream(ns) in the videoContainer's parent movieclip. How do I access the netstream object of the video inside the container. Basically, I want something like this : video.getNetstream(). Does any equivalent exist?

View 0 Replies

ActionScript 2.0 :: Access NetStream Or MovieClip From Loop

Jan 26, 2010

I've got a load of videos
ActionScript Code:
var ns1:NetStream = new NetStream(nc);
container1.compMa.theVideo.attachVideo(ns1);
ns1.play("sukh_diesel.flv", 1);
[Code] .....
Works, but when I try it in a loop it can't access it?

View 3 Replies

ActionScript 3.0 :: NetStream.time - Misreporting Time On Streaming Flv?

Feb 13, 2009

Is there a particular reason that when you stream a video your _netStream.time will misreport the elapsed time of the stream? I've tested streaming vs progressive download and discovered that while progressive netStream.time seems spot-on accurate the streaming netStream.time is behind the actual running time of the flv.

In other words, the video has played to completion and stopped, but the seek bar has only progressed 85% of the way through on a stream.

Is this something to do with the sample rate of the video, or some other encoding issue?

View 1 Replies

Flex :: Access Data Of A ComboBox With An ArrayCollection DataProvider?

Nov 10, 2009

[code]...

Here am getting array of groups(groupName,GroupID each row ) from a RemoteObject and displaying in a ComboBox. I am selecting the groups with selectedIndex as 0,1,2,3, but I want my groupIDs of correspoding groupnames,which am bringing to client side.

How can I get actual the groupId of the selected group?

View 1 Replies

Flex :: Data Access Object Or Inline Methods?

Jan 28, 2011

I am still very new to Actionscript and have an okay working knowledge of Flex. I am working on an AIR application that runs a SQLite database underneath. The database is only 3 tables (projects, items and types). I was wondering if Actionscript best practices are to use a data access object or layer to store all of my database functions or to just run them inline as needed. I would assume an access layer would be best for interacting with the database for usability, but I can't seem to find much documentation for SQLite in AIR.

View 1 Replies

Actionscript 3 :: Flash - Access Data From A .fla File Using Flex 4 SDK And FlashDevelop?

Jun 27, 2010

Someone sent me a .fla file containing several art assets, with instances all configured to be displayed properly and in the right positions. However, since I'm using FlashDevelop with the Flex 4 SDK, I have no idea how to access these instances in code. Some of the objects are MovieClips that I need to modify the size of, and others are Dynamic Text objects that I need to change the display strings of at runtime.

View 2 Replies

Android :: Flex 4.5 Mobile - How To Deploy And Access Images / Data

Nov 8, 2011

I am working on a Flex 4.5 app tageting Android. In different views the app needs to load and display images which I have deployed as part of the app. Where do I put these images? And how do I load them? I am familiar with @Embed for images, but this doesn't seem to be the correct approach in this case. I also know how to load from the file system, but I really don't know how to include my images as part of the app for distribution.

View 1 Replies

Flex :: Access Data Field Of A JSON Request Send By Client In JAX-RS?

Feb 2, 2012

I have the following JAX-RS service.[code]...

The JAX-RS service receives the request and respond successfully with some dummy response, but I have no access to the request.data field.

How do I access the data of the request message (which is {"type":"get_configuration","data":"some data"} in this particular example)? I think that I'm supposed to add some parameters to the handleMessage method like

public SomeResponse handleMessage(Object message) {...

but this does not work at all. The request got 415 response.

View 1 Replies

Actionscript 3 :: What Type Of Data Can I Send Via A NetStream?

Oct 27, 2010

I know I can attach audio and video to a NetStream. Apparently, I can also attach text messages although I haven't seen an example (if you know of one, please let me know). I also know that I can record a stream via Flash Media Server. I'm wondering what other types of data - if anything - else I can attach to a NetStream and record?

View 1 Replies

ActionScript 3.0 :: Stale Data In Playing NetStream Objects

Apr 27, 2010

I am reusing a NetStream object to play different live streams.

What annoys me is that even though I start playing another stream name on this same stream object, when it is attached to a new Video object after issuing the "play" call, there is stale data after the previous playback. It's NOT the video object obviously, as I already create a new Video object every time I play another stream name on this NetStream object (Video.clear does not work anyway - known player bug).

I can rectify the situation by "resetting" the NetStream object - creating and setting up a new one for each playback, assigning it to the old reference - essentially transparent to the application. The problem is performance - there is the overhead of creating and setting up a new stream object every time. I wish to avoid such overheads.

I wish there was some form of "clear" call for the NetStream class as well...

View 0 Replies

ActionScript 3.0 :: Attach Only Simple Object Data Type To Netstream

Aug 18, 2009

I want to attached simple object data type which is holding string to netstream object. i dont want to attached any audio video data. only simple text data want to add in netstream obj.

View 0 Replies

Flash :: Streaming - Generate A "NetStream.Play.StreamNotFound" Error While Play?

Mar 2, 2011

I used NetStream.play("invalid-live-stream-url") to play an invalid live stream. The other arguments are using default, e.g. start = -2, len = -1.

The menu says that when we use the default "start" and "len" to call "NetStream.play", "Plays the live stream until it is no longer available. If a live stream of the specified name is not found, Flash Player plays a recorded stream until it ends."

However, I do not have a recorded stream on the server that has the same name as the live stream, and I did not get the expected "NetStream.Play.StreamNotFound" error.

View 1 Replies

Media Server :: Remote Access For Streaming From FMS?

Oct 24, 2011

Ive been able to setup FMS 4.5 and stream RTMP videos locally from a webcam stream but if i try to access it remotely i cant get a connection. Ive forwarded port 1935 through to my local IP from my router but still no connection, what do i need to configure on the servers end to tell it that its behind an NAT etc. Do i just add the public ip to the hostname line in the fms.ini, or is there more i need to do too? Do i log into the admin panel and change the server name from localhost to my public IP

View 3 Replies







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