U of I CS 414 - MP3 Option 1: Mobile Video Chat

Unformatted text preview:

MP3 Option 1:Mobile Video ChatShu ShiApr 13, 2011Wednesday, April 13, 2011MP Requirements•Desktop•Capture video/audio and send to mobile•Receive audio from mobile and play•Print bandwidth and latency•Mobile•Configuration•Capture audio and send to desktop•Receive video/audio from desktop and play•Print video fps•A/V synchronizationWednesday, April 13, 2011Android Phones•If you get a phone with Android 1.6, you may want to upgrade to Android 2.2•Do it yourself•http://www.youtube.com/watch?v=nyz7SZmt6dM•http://www.youtube.com/watch?v=CzsBnTDNNBI•http://www.androidpolice.com/2010/05/08/complete-guide-how-to-flash-a-custom-rom-to-your-android-phone-with-rom-manager-full-backup-restore/Wednesday, April 13, 2011Android Phones•I can do it for you•Put your phone in a bag, write your name, give it to me during my office hour, get it back during my next office hour•Backup anything important in your phone. I will not save the backup ROM of your phone•IllinoisNet Wi-Fi Connection•https://wiki.cites.uiuc.edu/wiki/pages/viewpage.action?pageId=58753046Wednesday, April 13, 2011Android Development•Find a machine: Linux/Windows/Mac•Download and setup SDK: •http://developer.android.com/sdk/installing.html•Check List: Eclipse, ADT, SDK•Run HelloWorld•http://developer.android.com/resources/tutorials/hello-world.htmlWednesday, April 13, 2011Android Development•Read Tutorials!•http://developer.android.com/guide/index.html•http://www.vogella.de/articles/Android/article.html•Learn from sample codes•Phones are weak in computation, networking, IO, ...•Always consider performance issues!•The program runs on simulators may not run the same on real devicesWednesday, April 13, 2011User InterfaceConfiguration ViewVideo ViewUI ElementsEvent FunctionsOnClick(...)OnInput(...)OnImage(...)... ...Wednesday, April 13, 2011Audio & Video•Audio•AudioRecord: PCM capture•AudioTrack: PCM playback•MJPEG Video•Bitmap: image frame display•BitmapFactory: JPEG image decode•A/V Sync•SystemClock: for timingWednesday, April 13, 2011Advanced Video •MediaPlayer•Automatically decode, play and sync video and audio •Support only video source from file, http, or rtsp•MediaRecorder•Automatically record and encode video and audio•Support only write to a file•SoundPool•Mix multiple sound streams togetherWednesday, April 13, 2011System Issues•Networking•TCP: Class Socket•UDP: Class DatagramSocket•Draw Screen•drawBitmap(...)•Touch Event•class MotionEvent•Echo Problem•Played audio is captured by recorder•Can you solve it?Wednesday, April 13, 2011Big PictureMobileInbound Network InterfaceVideo DecodeOutbound Network InterfaceControl Event Network InterfaceVideo DisplayAudio DecodeAudio DisplayAudio EncodeAudio CaptureControl Event DetectorDesktopRecorderPlayerControl ModuleWednesday, April 13, 2011Performance Issues!"#$%&'&()&*$+(,&-$%&.,&*&*$!"#$%&'&()&*$/0,(-$%&.,&*&*$!"#$%&'&()&*$+(,&-$%&.,&*&*$/0,(-$%&.,&*&*$!"#$%&'&()&*$+(,&-$%&.,&*&*$/0,(-$%&.,&*&*$•MJPEG video decode and display•Thread Context SwitchWednesday, April 13, 2011Optional Features•Easy (20 pts)•GUI, Name Server, Remote Control•Medium (20 pts)•Mobile-to-Mobile Audio only (VoIP)•Multi-party: one desktop, two mobile•Difficult (20 pts)•Mobile Video, Multi-party: one mobile, two desktop•Bonus (10 pts)Wednesday, April 13, 2011Evaluation•Face-to-Face Presentation and Examination•Apr 29, 3pm•Competition•Prelim selection the finalist of 6 groups: Apr 27•Final presentation: Apr 29, 5pm•Source code and documentation due•Apr 29, 11:59pm (Compass Time)!Wednesday, April 13, 2011Comments•This MP is hard, if you have no mobile programming experience!•Don’t count on me... •You won’t regret for spending some time on an Android project!•Beat me? •http://www.youtube.com/watch?v=CbFSNUTDCzIWednesday, April 13, 2011Questions?Wednesday, April 13,


View Full Document

U of I CS 414 - MP3 Option 1: Mobile Video Chat

Documents in this Course
Lecture 1

Lecture 1

32 pages

LECTURE

LECTURE

30 pages

Load more
Download MP3 Option 1: Mobile Video Chat
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view MP3 Option 1: Mobile Video Chat and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view MP3 Option 1: Mobile Video Chat 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?