Java :: Red5 - Streaming Dynamic Content To Client

Feb 20, 2011

I'm getting to work with with red5 and am trying to make a basic app that will stream a random video to the client. Let's say I have 3 flvs on my server, I'd like a client to connect to my red5 app and have 1 of these 3 videos streamed to them. The only streaming i've been able to figure out so far uses netStream.play("video.flv"), this doesn't work for me, I want the server to decide on the file to stream rather than the client.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Red5 Live Streaming Client?

May 22, 2007

I now have managed to get the red5 server up and running and ive been using the samples to stream my webcam live from one computer from another and it works fine.Now to step 2. Making a custom client that autoconnects to my live feed.

View 1 Replies

Actionscript 3.0 :: Streaming A H.264 Video From Red5 To A Flash Client?

Apr 18, 2010

I´m having problems with h.264 in Flash. My idea is streaming a h.264 video from Red5 to a Flash client with ActionScript 3 or 4. The original code supports streaming video in .flv format with Sorensen and I would like to support .flv format with h.264 encoding.This is my original code:

play_btn.play_symbol_txt.background = false;
stop();
isPaused = true;[code]............

View 2 Replies

Java :: Flash Is Java Needed To Use Red5

Jul 24, 2010

I'm working on a Flash project and someone recommended Red5 as a media streaming server. Do I need to know java to use build applications that use Red5 as their server?

View 2 Replies

Flex To Red5 V0.9: Client Rejected, Unscheduling WaitForHandshakeJob?

Jan 4, 2010

I'm trying to connect from adobe flash builder 4 beta to red5 v0.9 rc2 (latest svn).

[Code]....

View 1 Replies

Flex :: InvalidApp Error While Red5's Client Side Code?

Jan 24, 2010

I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving

NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or

[code].....

View 3 Replies

InvalidApp Error While Red5's Client Side Code With Flex?

Dec 11, 2009

I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving

NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or
NetConnection.Connect.Failed

error.when i try (test is red5 demo code )

nc.connect( "rtmp://localhost/test" ,true);

code then its working.but when i put my folder(firstapp) name in place of test then giving same error.

View 1 Replies

Actionscript 3 :: Red5 Streaming Connection To Flex?

Feb 7, 2012

I installed red5 successfully, but when I try to connect to red5 to stream a video, the connection fails. If I use netstreaming(null), it works, but when I use red5, it doesn't.

[Code]...

View 1 Replies

Java :: - Merging Several Audio Streams Into One In Red5?

Mar 16, 2009

I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?

View 11 Replies

Java :: Merging Several Audio Streams Into One In Red5?

Aug 24, 2010

I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?

View 1 Replies

Flash - Red5 / Adobe Server Live Streaming

Jun 9, 2010

Is it possible to capture/encode a video file on a slow machine, then upload it live to a Red5 or Adobe Streaming server, and have that server stream to file live to flash clients? If so, what protocol is used to stream the data from the encoding machine to the Red5 / Adobe server? I see a lot of things about RTMP, but am I correct that this protocol is used between Streaming Server and Flash client, but not from encoding machine to Streaming Server?

View 1 Replies

Java :: Handle Multiple Video Streams In Red5?

Apr 15, 2012

I am writing a Red5 application that provides 1-on-1 video chat to a Flash client over RTMP.

Unfortunately most tutorials I was able to find were sketchy at best and the documentation of Red5 itself tends to be vague when it comes to API concepts and intended usage.

In short, I am a bit stuck and looking for hints on Red5 ApplicationAdapter implementation. Gnarly details are as follows:

First of all, the connections come in two flavors: visitors and consultants. A visitor should be able to indicate which consultant it wishes to communicate with. A consultant simply gets connected to the requesting visitor as long as the consultant is not busy servicing another. Obviously, every RTMP connection has two-way traffic: both sending and receiving video. From the standpoint of the server, connections bring in a bunch of video streams that get their receiving endpoints assigned by request. Since several video conversations can be in progress simultaneously, the main task of the application is to handle the mapping of visitor streams to consultants and provide a list indicating each consultant's state (busy/available) via AMF.

So, all in all, I have a pretty good idea what I am aiming for but how to achieve it with Red5 is still a bit of a mystery.

What is the easiest way to establish the connection type (visitor/consultant)? Which API classes should be used to implement a persistent, globally accessible list of active connections for reporting the state of each consultant? How to switch receving endpoints dynamically when the goal is to connect a specific visitor to the selected consultant?

View 1 Replies

Flash :: Production Live Streaming With Red5 - OflaDemo Required?

Aug 3, 2010

I've just finished putting together a basic flash video chat client that publishes the camera to a stream and receives a similar stream from another client.The streams are being pub/sub'd to the "oflaDemo" that ships with Red5.This seems to work fine for my prototype, but I'm concerned about having to use something with "demo" in the name if I were to roll this chat application into production. It seems that the alternative is to essentially re-write that demo, perhaps with a few more features, which doesn't seem right in order to take advantage of one of Red5's core functionalities.

So, my question is: what is standard/best practice for production live streams in Red5? Is the oflaDemo used? Do custom stream brokers have to be written? If I don't host it myself, do most hosts have their own (production-quality) version of oflaDemo?

View 1 Replies

AS3 :: Linked List - Send LinkedList From Red5(Java) To Flex?

Jun 12, 2011

I have a linked list of data in Red5server that updating every 8 second. I want to send this linked list to Flex. is it possible using shared object? or any other solution?

View 1 Replies

Java :: Send Data From Red5 To Flex Using Remote Sharedobject

Jul 3, 2011

I want to send data from Red5 to Flex using remote sharedobject.

my Red5 code :

this.addScheduledJob(5000,new IScheduledJob() {
@Override
public void execute(ISchedulingService jobs0)

[Code].....

it doesn't shows error or warning, but my flex function doesn't work, even Alert in my function not working.

View 2 Replies

Java :: Saving Two Streams Of One Of Video And Other Audio Using Xuggler And Red5

Dec 21, 2011

I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.

now i have done some editing and have saved these edited files as one with video stream

[Code]...

View 1 Replies

Actionscript 3.0 :: Client To Client Streaming?

Mar 17, 2010

I am trying to build a client-to-client streaming program - client 1 has a webcam and client 2 will connect to client 1 and be able to view the webcam. Is this possible using 2 swf clients? Can someone point me in the right direction as to what commands would be used to connect the two clients. I have tried: binary sockets Connect() where each clients points to the other and they both time-out NetConnection to try to point each client to one another to establish a connection, but no luck with that either; this seems more oriented towards streaming content to a flash media server rather than to another flash client.

View 1 Replies

Flash :: Error Appears When Resuming The Paused H264/mp4 Streaming Video From Red5 Server

Nov 22, 2010

I just met a piece of error log when I was trying to resume the paused mp4 streaming. Here is the log from the server:

[INFO] [NioProcessor-1]
org.red5.io.mp4.impl.MP4Reader - Frame
position was not found for timestamp:
92000

I'm using Red5 newest 0.9.1 final for mac os x to stream the H.264/AAC encoded MP4 file to my flash app.

And there's no problem when I'm resuming the .flv file.

View 1 Replies

Java :: Flex Client Side And Java As Server Side?

Aug 7, 2011

Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. where to read about it ? I know JAVA but I find JavaEE hard to understand.

View 2 Replies

Java :: Get Ip Address Of Client In BlazeDS?

Nov 9, 2011

I am using blazeDS remote object. I need to get a client ip address from clien request. Is it any way to get ip address and system information in blazeDS java.

View 1 Replies

Flash :: Use Java On Server And Client Side?

Apr 13, 2010

What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?

View 1 Replies

Java :: Retrieve A Client's Hostname Using Flex?

Nov 3, 2010

I am building a Flex application which communicates with a Java server using BlazeDS.

What would be the best way to go about making the server aware of the client's hostname?

View 1 Replies

Media Streaming Server Work With IPAD Client?

Aug 30, 2010

What if I access video delivered through media streaming server on IPAD client. Does it supports?

View 5 Replies

Java :: Detect When Flex Client Closes The Connection?

May 13, 2010

I have a Flex application that connects to a BlazeDS server using the StreamingAMF channel. On the server-side the logic is handled by a custom adapter that extends ActionScriptAdapter and implements FlexSessionListener and FlexClientListener interfaces.

I am asking how can I detect which "flex-client" has closed a connection when for example the user is closing the browser? (so I can clean some infos inside the database)

I tried using the following:

1. To manually manage the command messages:

@Override
public Object manage(final CommandMessage commandMessage) {
switch (commandMessage.getOperation()) {

[Code]....

View 3 Replies

Java :: Authorized Flash Client To Server Connection

Feb 22, 2011

I'm building a Flash-based Facebook game with a Java backend, and I'm planning to use a RESTful approach to connect the two of them (not a persistent socket connection). I'm using the AS3 library to connect the client to Facebook, so that's where I have my session information stored. However, how do I authorize client connections back to the server? I can't leave the callback URLs open since that'd let people manipulate game state without playing the game. I need to make sure that the calls are coming from a valid client and through a valid session.

At the moment, users have no direct login to the backend server -- it's all handled through the client frontend. Can I pass the Facebook OAuth2 access token to the backend in a way that the backend can verify its validity? Should that be enough to trust a valid frontend connection?

I could do a two legged OAuth signed request or just use a simple shared secret, but the keys would have to be packed in with the flash client, which makes that almost useless for this use case.

View 3 Replies

Java :: Reusing The Client Session Extraction Logic?

Jun 6, 2011

I want to be able to reuse my existing controller logic regardless of whether a request has been sent from a Flex client (using BlazeDS + Spring at the backend), or as a simple HTTP POST/GET request. For simple cases, things work OK, however, there are some occasions when I need to access some session attributes. At first, I almost exclusively used the FlexContext class, but then I realized that when one sends an HTTP request, then the Flex Context is obviously undefined.

My question is, what is the best approach to abstract the session extraction logic,regardless of the type of the request. In other words, I would make a class called SessionManager, which has a method getSession. This class will make a check whether there is a Flex context, if there is, it will return the session of that context. If not, it will simply return the current HTTP session (which I assume is the same as the Flex client session, but I was not sure)

View 1 Replies

Flash :: Java - Sending Picture Client - Which Technology To Use

Mar 9, 2012

The question is about the following operation: Flash client sends TeX code (or file) to server. TeX is compiled into picture. Picture is sent back to client As far as I can see the best way to do that is to use flash+java remoting. But, there're several java servers (looks like BlazeDS and Red5 are the most popular). Which one do you advise to use for my purposes? Note that steps 1-3 are not final, picture will be changed after that (e.g. some marks will be made).

View 1 Replies

Java :: Indicate Failed Authentication Reason To Flex Client With JAAS?

Dec 29, 2009

We're using :

JBoss 5
Flex SDK 3.5
BlazeDS 3, with integrated authentication (through JAAS and JBossSX)

Failed login are always indicated to the flex client by the same fault code : Client.Authentication

However, the underlying JAAS LoginModule throws a specific javax.security.auth.login.LoginException subclass.

How can we propagate the failed login reason to the flex client ?

View 1 Replies

Java :: Client-side Framework For Web-app With Good Audio Support?

Mar 26, 2010

I'm trying to create a client-side web app that generates music procedurally using some user-input parameters, so I'm looking for a framework (e.g. Flash, Silverlight etc.) that has the capability to play audio at a specified pitch. Whether it is playing a WAV/MP3 file, using MIDI output, or just playing beeps doesn't really matter -- I just need something that will enable me to generate arbitrary music client-side.

I've done a bit of searching and it appears that Flash might have the ability to change pitch with the help of a third-part plugin, but I couldn't find anything similar for Silverlight.

View 1 Replies

Java - Connecting Non-flex Client To Server Running BlazeDS?

Aug 27, 2010

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.

Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?

View 1 Replies







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