Live Broadcast On Flash Lite 4 With Flash Media Live Encoder



Now After a full week of indulging in video and streaming, when it was finally time to take a break and get back to some Flash Lite mobile work, it just struck me, how well would a Flash Lite 4 device suit the need of live event viewing. Its well known that Flash Lite 4 has a better memory management and better support for video overall.

The  Flash Lite Project

For setting up the Flash Lite project, we wont be doing everything from ground zero here. In reference to my previous post on Live Streaming on Flash Lite, i had created a open source Flash Lite project on google code. So we will be using just that to move ahead. To Download the project , you will need a svn client like tortoise svn.

Create a new folder on your hard drive come where and use tortoise svn to import the repository into that folder.

SVN Repository

SVN Repository

Next we check out the project from repository using tortoise svn’s SVN Checkout option using  trunk URL: http://spylite.googlecode.com/svn/trunk/

svn-checkout

SVN Checkout

Now go into the  repository folder and launch the flash project in Flash CS3/CS4/ CS5 whatever you have.

Note : The file  com.flashvisions.litespy.model.ApplicationModel.as , contains RTMP url and streamname.You may want to edit those for your convenience.

For our demo, rtmp url is set to  rtmp://localhost/midiDemo and stream name is set to “red5″. Once all is set compile the project (assuming that rtmp server is running) swf and launch it in device central cs5, selecting the flash lite 4.0 player.

Device Central CS5

Device Central CS5

And Finally for our test simulation its very important to restrict network bandwidth to a 3G connection. You can do so from the  ”Network Performance” panel as shown.

Network Performance Panel

Network Performance Panel

So that completes our receiving setup , and now we must start broadcasting . There is not much work to do here though. We will be using Flash Media Live Encoder for broadcasting stream at a setting suitable for a mobile device.In case you dont have it already, you may download it here from Adobe’s site.

Flash Media Live Encoder

After installing FMLE, launch it and set up for broadcasting to our flash lite device (simulator) as shown below:

FMLE Settings

FMLE Settings (click on image to view larger)

Settings

  • FMS URL: rtmp://localhost/midiDemo
  • Stream: red5
  • Resolution: 160×120
  • Bitrate: 100kbps
  • Fps: 15

*FMS Url  and Stream will be same as what we have put in our Flash Lite Project.

Now that all is set , Press Connect on FMLE (below Stream:) and once connected, press Start to begin broadcast. Once you get confirmation that you are broadcasting, go back to Device central and press “Connect” on the Application’s interface.

Live View Connected

Live View Connected

And there you are :) . Beautiful!! With little or no latency you will get very good quality on a mobile 3G network using Flash Media Live Encoder.

Popularity: 49% [?]




July 22, 2010  Tags: , , , , , , ,   Posted in: Actionscript 2.0, Flash Lite, Mobile, Nokia, Red5, RTMP, Sony Ericsson

32 Responses

  1. My Blog Title - March 5, 2011

    Title…

    I saw this really great post today. Be sure to check it out…

  2. Discount Airline Tickets - March 10, 2011

    Airline Tickets…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  3. how to change a car battery - March 10, 2011

    new and upcoming…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  4. Spinner Chief - March 10, 2011

    Get Spinnerchief…

    [...]the time to read or visit the content or sites we have linked to below the[...]…

  5. Pepper Mints - March 10, 2011

    Commonality in Content…

    [...]the material is very relevant in its provocation to what we discuss in prior articles[...]…

  6. Flax Seed Benefits - March 11, 2011

    Flax Seeds Benefit…

    [...] the time to read or visit the content or sites we have linked to below the. Posted in [...]…

  7. Article submission service - March 11, 2011

    Article submission service…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  8. Anti Wrinkle Cream - March 13, 2011

    Wrinkle Cream Critic…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  9. Taylor Armstrong - March 13, 2011

    Taylor Armstrong Suggests It’s A Fantastic Article Well Done?…

    [...] Cool info, thinking we could put several unrelated data, yet still worth checking them out… [...]…

  10. carpet cleaning kalamazoo - March 14, 2011

    battle creek carpet cleaning…

    [...]the time to read or visit the content or sites we have linked to below the[...]…

  11. 6 week body makeover - March 14, 2011

    6 week body makeover…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  12. diapers - March 15, 2011

    Chan luu…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  13. Scary Maze - March 16, 2011

    Play Scary Maze…

    [...]here are some other site that might interest you[...]…

  14. get rid cellulite treatment - March 17, 2011

    Amazing site…

    [...]the time to read or visit the content or sites we have linked to below the[...]…

  15. Magniwork - March 19, 2011

    Magniwork…

    I’m reading this post from my I-Phone and it looks great! I like your writing style and you make some excellent points about $keyword….

  16. Auto Movers - March 19, 2011

    Auto Transport…

    [...]most people found your web site ended up being described about the garment inkjet printer site[...]…

  17. Anonymous - March 21, 2011

    Fat Burning Furnace Review…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  18. Milwaukee Personal Injury Attorney - March 24, 2011

    Hire Attorney…

    [...]here you shall discover the address to several destinations that we suggest you might visit[...]…

  19. Conference Calling Providers - March 25, 2011

    topamax lawsuits…

    [...]Sites of interest we like to link to[...]…

  20. viagra - March 27, 2011

    Alloha)…

    [...]Greetings everyone, This webpage is terrific and so is how the matter was expanded. I like some of the comments as well although I would prefer we all maintain it on topic in order add value to the subject[...]…

  21. Property Solicitors - March 28, 2011

    Conveyancing Solicitors…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  22. la ink tattoos - March 29, 2011

    Trackback, Thanks very much…

    la ink tattoo designs, has linked to your web page….

  23. Parking in Brooklyn - March 30, 2011

    transformador…

    [...]Sites of interest we like to link to[...]…

  24. the diet solution program - March 31, 2011

    the diet solution program…

    Thanks for the excellent blog post….

  25. Scary Maze Game - March 31, 2011

    Scary Maze Game…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  26. Approved - April 1, 2011

    [...]trackback from our site to yours[...]…

  27. Anonymous - April 2, 2011

    auto parts catalog…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  28. golf prints - April 3, 2011

    richard chorley golf…

    Thanks for such an excellent page, bookmarked, ill visit soon!…

  29. Dremel Stylus - April 6, 2011

    Dremel Stylus…

    Bookmarked your site, so I can visit frequently, thank you!…

  30. Faustinomsern - April 6, 2011

    I was search for [url=http://www.discounttrainsonline.com/Walthers-H-GL-AP-Flat-Car-undec-Undecorated/item932-40820.html] Walthers 40820 H GL AP Flat Car undec [/url]
    and found this post. I would say that you have answered my question thanks

  31. Hunstanton - April 6, 2011

    Hunstanton…

    Trackback, I have linked to your site, thank you!…

  32. market place - April 7, 2011

    market place…

    Trackback, I have linked to your site, thank you!…

Leave a Reply