Archive for May, 2008

AÁ¿ TÍ LPePŸ… CÁ¿ sTŸ ÍPÖŸ’
p.‘.GÍ.C. TÖP “†RL†‡¥ WÈÂLÖ‹† T¼½V TÖP•


p.‘.GÍ.C. TÖP “†RL†‡¥ SzLŸ WÈÂLÖ‹† T¼½V TÖP• CP• ÙT¼¿·[‰.

p.‘.GÍ.C. TÖP• U†‡V ÚU¥ŒÛX L¥« TÖP† ‡yPUÖ] p.‘.GÍ.C. TÖP† ‡yP†‡Á T·¸eiP TÖP “†RL†‡¥ SzLŸ WÈÂLÖ‹† T¼½V TÖP Th‡ CP•ÙT¼¿·[‰. `ÙRÖPŸ“ ÙLÖ·º• ‡\Û] L¼¿e ÙLÖ·ºR¥’ GÁ\ “†RL†‡¥ CTÖP• LÖQT|f\‰. C‹R “†RL†ÛR BeÍÚTÖŸ| ïÂYŸpyz ‘WÍ ÙY¸›y|·[‰.

Click To know more about Super Start Rajani

For Photos view following links

http://www.rajinifans.com/

Superstar Rajinikanth

http://www.rajinifans.com/moving_stills/

Hi you can hear FM Radio Stations from your PC or laptop, No need to download , on line streaming.

Tamil Channel From chennai

Create a login account for Suryan FM, no email verification

Suryan FM – From these link u can here suryan FM Famous FM in Tamil Nadu

No Need to create login account:

Shyam Radio

Aahaa FM 91.9AaHAa FM 91.9

Play with Windows Media Player

http://www.numtv.com/tvchannel/asx/radio.asx

All FM in one Place

http://www.tunein.in/home.shtml

http://tamilradiofm.blogspot.com/

And Some other use links

Surf Music

Enjoy the Day with music

Post By


Developing our own skin for Flex

Posted: May 22, 2008 in Flash, Flex

Yahoo! has released new flex skin. This is very basic but sleek skin.

Click Here to View yahoo skin.

Click here to download

Skinning in Flex is a simple way to modify the appearance of Flex components with a small amount of work.

We can also create our own skin for flex Click here to view very simple tutorial from yahoo

In that link article,they demonstrating how to create a simple skin element in Flash for use in Flex Builder. With this skin, we will style the Button element with our own simple color design.

Posted by : NPR

Flex Tutorial & Demo Link

Posted: May 22, 2008 in Flash, Flex, Open Source

FLEX

Flex is a framework that helps you build dynamic, interactive rich Internet applications. Flex applications are delivered on the web via the Flash Player or to the desktop via Adobe AIR. You can build applications using the free Flex SDK or Flex Builder, an Eclipse based IDE.

Flex is available for Java developers , .NET developers , PHP developers, and ColdFusion developers.

Some use full Flex Tutorial Link

http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html

Flex Sample Application (Felx & Java & HSQL) using Avil framework:

http://sourceforge.net/project/showfiles.php?group_id=174131

Getting Start With

http://learn.adobe.com/wiki/display/Flex/Getting+Started

Flex For ASP.NET Developers

http://learn.adobe.com/wiki/display/Flex/Flex+and+ASP.NET

Flex For Java Developers

http://learn.adobe.com/wiki/display/Flex/Flex+and+Java

Flex For PHP Developers

http://learn.adobe.com/wiki/display/Flex/Flex+and+PHP

http://www.adobe.com/cfusion/communityengine/index.cfm

And Some other related links:

http://flex.7wilds.com/

http://learn.adobe.com/wiki/display/Flex/Animated+overview

Flex With 3D

http://www.cornflex.org/?p=1

http://www.papervision3d.org/

Some Demo Web Site

http://flex.org/showcase/

http://examples.adobe.com/flex3/labs/networkmonitor/main.html – Network Monitor

http://www.oddcast.com/home/demos/tts/tts_example.php?sitepal – Text to Speech

http://hessian.caucho.com/ria/Words.swf

http://app.lightstreamer.com/FlexDemo/

http://examples.adobe.com/flex3/labs/mediawidget/index.html#

http://examples.adobe.com/flex2/inproduct/sdk/flexstore/flexstore.html

http://examples.adobe.com/flex3/labs/dashboard/main.html#

(Yahoo Maps Collaboration using Flex and BlazeDS)

http://www.jamesward.org/census/

Posted by : NPR

Using Flash media components to play video in Flex projects

Posted: May 21, 2008 in Uncategorized

One of the things I hear a lot is that people really miss the Flash media components when they’re diving into Flex. So why not use that component you love so much in your Flex projects? The Flex Component Kit for Flash CS3 has been out there for a while now and if you have all the latest updates to Flash, it’s even part of your Flash CS3 authoring environment by default now. I have the feeling that people underestimate this feature and don’t really appreciate the power of this yet. So I thought it was a good idea to create a little tutorial to show you how easy it is to make Flex components in Flash CS3 and in this case, how to use the Flash media components inside your Flex projects.

So we’re going to create a Flex component that holds the FLVPlayback component and write a little bit of ActionScript code to make it work in Flex.

Source : http://www.adobe.com/devnet/flex/articles/video_flex.html

The Embedded PL/SQL Gateway (EPG) has been a feature of Oracle Database since version 10g. EPG enables a client to invoke a PL/SQL stored procedure through an embedded HTTP server. The content is generated dynamically using the PL/SQL Web Toolkit, a set of built-in packages provided in the database that handles the HTTP protocol.

This article provides an introduction to Oracle EPG for Flex users, outlines a simple PL/SQL framework, and shows how to create a Flex application that uses the framework.

Prerequisite Knowledge

Working knowledge and experience with the following:

  • Adobe Flex
  • Oracle SQL and PL/SQL
  • General HTTP and XML concepts
  • Basic FTP or WebDAV

Source :http://www.adobe.com/devnet/flex/articles/flex_epg.html

More Info look above link

For Example Click Here


Here is a small tutorial telling how to save video preview images from Flex client to Red5 server.

The work is to take a snapshot of a video stream from the client and some how get it to be a saved image on the server. There are ways to acheive this using ffmpeg or using a scripting language in combination with Red5. But this is the simplest one as it does not require any additional library. Flex does everything.

You can get a PNG or JPEG file saved to the Red5 server the following way-

Client Side (Development took place on Free flex sdk 3.0.0.477)

So lets assume that you already have a netconnection to your serverside application. You also have a camera opened and attached to a UI component in the browser. I have it so when a button called “Take sceen shot” is clicked the function “handleScreenShot” is called.

NOTE: SharedVideo is a public var of type Video. When I attached the video from the camera to the UI, I copied it into Shared video.

private function handleScreenShot():void {

// Clear out any previous snapshots

pnlSnapshot.removeAllChildren();

var snapshotHolder:UIComponent = new UIComponent();

var snapshot:BitmapData = new BitmapData(320, 240, true);

var snapshotbitmap:Bitmap = new Bitmap(snapshot);

snapshotHolder.addChild(snapshotbitmap);

pnlSnapshot.addChild(snapshotHolder);

snapshot.draw(SharedVideo);

pnlSnapshot.visible = true;

// Here is how you encode the bitmapimage to a png or jpeg ByteArray and send it to the server

//var jpgEncoder:JPEGEncoder = new JPEGEncoder(75);

//var jpgBytes:ByteArray = jpgEncoder.encode(snapshot);

var pngEncoder:PNGEncoder = new PNGEncoder();

var pngBytes:ByteArray = pngEncoder.encode(snapshot);

nc.call(“Save_ScreenShot”, null, pngBytes);

}

Server Side

Ok now the server side code for the function “Save_ScreenShot”. I have this right inside the main java file of my Red5 applicationNOTE: You must import the following classes.

import org.red5.io.amf3.ByteArray
import javax.imageio.ImageIO
import java.io.ByteArrayInputStream
import java.awt.image.BufferedImage

public String Save_ScreenShot(ByteArray _RAWBitmapImage) {
// Use functionality in org.red5.io.amf3.ByteArray to get parameters of the ByteArray
int BCurrentlyAvailable = _RAWBitmapImage.bytesAvailable();
int BWholeSize = _RAWBitmapImage.length(); // Put the Red5 ByteArray into a standard Java array of bytes
byte c[] = new byte[BWholeSize];
_RAWBitmapImage.readBytes(c);

// Transform the byte array into a java buffered image
ByteArrayInputStream db = new ByteArrayInputStream(c);

if(BCurrentlyAvailable > 0) {
System.out.println(“The byte Array currently has ” + BCurrentlyAvailable + ” bytes. The Buffer has ” + db.available());
try{
BufferedImage JavaImage = ImageIO.read(db);
// Now lets try and write the buffered image out to a file
if(JavaImage != null) { // If you sent a jpeg to the server, just change PNG to JPEG and Red5ScreenShot.png to .jpeg
ImageIO.write(JavaImage, “PNG”, new File(“Red5ScreenShot.png”));
}

} catch(IOException e) {log.info(“Save_ScreenShot: Writing of screenshot failed ” + e); System.out.println(“IO Error ” + e);}
}

return “End of save screen shot”;

This is one way, You can also make it working for the other way i.e. getting images from server to client.

Thanks to Charles Palen for posting the snippet of this code in Red5 community.

360 degree videos from Immersive Media are looking very impressive. Just drag your mouse on any direction you want to view within the video once it starts playing.

http://demos.immersivemedia.com/

http://www.cornflex.org/?p=1

http://www.papervision3d.org/

Source : http://www.igniterealtime.org/community/blogs/

ignite/2008/05/05/flashbased-audio-in-openfire-part-ii

Just over a year ago, I blogged about using audio and video with openfire. At that time, I implemented a SIP based softphone in Adobe Flash using AsteriskWin32 and VAC4. My argument for an open-source, standards based, no-install web-based softphone as a requirement for Web 2.0 voice applications is still valid today and the emergence of Ribbit, TringMe, Zingaya (Flashphone) and others confirmed my thinking was not isolated.

It has however been a disappointment that all implementations I have encountered to-date have been closed, proprietary and inaccessible for integration (both client and server).

The latest release of the Red5 Plugin for Openfire features a completely open-source implementation of a web-based SIP softphone written in Flex3 and should work on both Windows and Linux. It uses MjSIP as the SIP user agent in the plugin and should work with most SIP proxies, but I have only tested with Asterisk. I have also only tested 2 simultaneous users, but there is no limit and will depend on how many users and media streams Red5 can cope with before it dies. Each telephone conversation consumes 2 user RTMP connections and 4 audio streams on Red5. All source code is provided and you are free to use it in your Openfire Red5 Plugin applications. Just confirm that the open-source licenses of MjSIP and Nelly2PCM are to your liking.

https://i0.wp.com/red5.4ng.net/gtms/flashphone3.jpg

I have also integrated the softphone into SparkWeb and the Openfire SIP plugin. This will enable a user to make SIP calls from Spark and SparkWeb with the same user profile. The old Red5gateway will be depreciated and in a later release for window users, I will be adding AsteriskWin32 to the plugin and provide a complete SIP solution for Openfire.

As usual, any feedback will be appreciated.

For details of how this works read on…..

https://i0.wp.com/red5.4ng.net/gtms/flashphone2.jpg

The red5Phone Flex3 client makes a NetConnection with the Red5 SIP application. When it recieves a success response, it makes a remote “open” method call in the Red5 SIP application which creates a pair of SIPUser and RTMPUser objects for that user and instructs SIPUser to register the user with the specified SIP proxy. When the NetConnection is closed by the Flex3 client, the pair of objects are destroyed and the user is unregistered from the SIP proxy.

When the Flex3 client invokes “call” remotely, SIPUser starts a SIP outgoing call with the SIP proxy and exchanges RTP audio streams. It invokes “connected” on the Flex3 client and informs it of what stream names Flex3 client should use to publish from the PC microphone and play to the PC speaker. It then resamples the incoming audio RTP packets from 8KHZ to 11KHZ, converts from ulaw to ADPCM and calls a method in the RTMPUser object to publish the audio to Red5 using the same name it gave to the Flex3 client to play.

The RTMPUser objects also plays the stream being published by the Flex3 client which is in the Nellymoser ASAO codec. It calls asao2ulaw (my modified version of the open source nelly2pcm) to convert the packets to ulaw and pass to SIPUser through a PipedOutputStream.

An incoming call follows the same pattern, the incoming SIP signal appears as a remote “incoming” call on the flex3 client. The user can then pickup the call and the Red5phone Flex3 client remotely calls “accept” in SIPUser to accept the call. The audio is setup the same way as an outgoing call.

Posted by dele