Streaming to the Phone with QuickTime
Flash Lite on the Phone and Streaming with FMS
Streaming from the Phone
Live Streaming to Phone
Many mobile phones now have the ability to receive streams of video. Broadcasters, content providers and mobile network providers seem to love this. It uses up bandwidth (which costs consumers money), it can utilize micro payments for content and it provides a new and interesting venue for content outside of the home.
I find the what the broadcasters and mobile providers to be somewhat interesting technically and they are doing a bit of pushing against the boundaries of what television has been for the past 50 years with shorter segments.
Supported by their high-speed EVDO (Evolution Data Only) network Verizon has a service called VCast which offers many of the things you have seen on the internet for media delivery: Live Streaming, Video On Demand, Music Downloads and Gaming.
The other providers are following suit:
One thing that is perfectly clear is that providers intend to make serious money off of this and pricing is high.
For our purposes, what the broadcasters and the mobile providers are doing isn't as interesting as the fact that we can stream to mobile phones as well. Both the RealServer and the QuickTime Streaming Server support streaming of video to the phones utilizing the 3GP video format.
The streaming is easy: For Live QuickTime streaming you can use the QuickTime Broadcaster with the 3GP presets. Real has a Mobile Producer that can be used for both live and on-demand production as well.
The hard part is getting the link to the content to the mobile phone user. We could create a set of WML or HTML pages that are developed for display on the phone or even easier we can send links via email to SMS.
(Careful, streaming video costs the user at data rates. I spent $30 once watching a video for a couple of minutes before purchasing an unlimited plan.)
- DVB-H which is a digital broadcasting standard (conceptually like Digital TV over the air rather than on-demand like streaming). What I find the most interesting is that it allows for the delivery of interactive applications complete with "back channel" as well.
Flash is a relatively newcomer to the mobile development scene but it has made some big waves already. Since there is a large community of developers and designers who use Flash in their daily lives, being able to run Flash based applications on mobile phones is a big deal.
Aside from that, Flash, due to it's history is a pretty strong fit for mobile development, it has a small footprint, the apps are small, it is somewhat close to a write once run anywhere type of platform and so on. It is also very strong in some areas that Java has been weak such as animation and media playback.
It is worthwhile to look at Flash, especially now that Flash Lite 3 supports FLV content (the seeming format of choice for web based video) along with MPEG-4 (variants such as 3gp and 3g2 depending on the device).
Currently Flash Lite 3 does not come pre-installed on many devices (perhaps the N95 8GB model) but can be downloaded for free from Adobe: Download Adobe Flash Lite 3 Developer Edition (This is an application that must be installed on the phone.)
To author for Flash Lite 3 you need to use Flash CS3 or greater. You can auther for previous versions of Flash Lite using previous versions of Flash but you loose out on many of the goodies that Flash Lite 3 offers.
Hello World with Flash Lite (using Flash CS3)
- Open Flash CS3 (Professional)
- New File, Flash File (Mobile)
- Choose Flash 3 device, set Player Version to Flash Lite 3.0, ActionScript 2.0, Standalone Player
- Click "Create"
- This opens up Flash with the settins for publishing to that device (any Flash Lite 3 phone
- In the Tools panel, select the "T" for text and click on the workspace. Type in "Hello World".
- Make sure in the properties panel that it is "Static Text"
- Under "Control" select "Test Movie" and it will open in the emulator portion of the Device Central application.
- Following that, back in the Flash program you can publish and send it to your phone for testing
Mobile and Devices Developer Center
Getting Started with Adobe Flash Lite
Book: Foundation Flash Applications for Mobile Devices
Flash Lite Video Player
This describes how to make a video player in Flash Lite 3.
- Create a Flash document as described above.
- In the Library panel, select "New Video", leave it's default name and make sure "Video (ActionScript-controlled)" is selected. Don't select Bundle source in SWF since we are going to loading from the network.
- Drag the new item into your workspace and position it where you would like.
- Select it and in the properties panel give it an instance name such as "test_video" (if you want it to work out of the box with the actionscript we are using below).
- Create a new layer and select the actions panel
- In that panel, paste in the below actionscript code which is commented.
- Following that, test and publish as above...
var ncVideo:NetConnection = new NetConnection();
var ns:NetStream = new NetStream(ncVideo);
Of course the RTMP address and the stream name have to be something that is being published..
Creating video content for mobile devices
Flash Lite 3 video capabilities
How to play FLV videos from YouTube using Flash Lite 3
Authoring mobile video content for Flash Lite 2.x
Live Streaming from the phone
Wow..! Check this out: Broadcasting Live from Cellphone to the Web
i started playing a bit as well: ComVu - Mobile Broadcasting and Double Wow..
Other live streaming from the phone software:
Mobile Video Revolution?