java - Using media player and camera to realize live video chat in android,based sockets -


yes,i have requirement list follows(maybe can called simple ideas)

1.using camera , mediarecoder recording video (now can record , save file)

refer: http://developer.android.com/guide/topics/media/camera.html

2.when recording video,i need send server transit (i plan use socket[tcp] realize)

3.server receive socket data , transit client(android/pc)

4.at same time,server send video streaming android client socket
(i try using parcelfiledescriptor.fromsocket(client),but catch ioexception:setdatasourcefd failed.: status=0x80000000)

refer: stream live video phone phone using socket fd

5.android client receive server's data , play using mediaplay , surfaceview

6.in addition,i want server can switch video streaming socket data or local file,when server transit data

this idea,but don't know if feasible , don't know how achieve it
wonder if can give me references or examples, thanks


btw, first time ask question in stackoverflow,before view questions in here,it helpful.if question not clearly,please tell me,thank you.if make mistake,else hope tell me,thanks.

you need read sipdroid have on https://code.google.com/p/sipdroid/ here can find answer additional links.

1.http://blog.kylehasegawa.com/google-voice-voip-on-android-just-got-a-lot-easier-with-pbxes-peering

2.http://seethisnowreadthis.com/2009/07/11/get-sipdroid-to-work-with-any-sip-provider-on-your-android-phone/

3.http://blog.voipsupply.com/first-look-sipdroid-open-source-sip-client-for-android-mobile-phones

4.http://guardianproject.info/2010/05/26/how-to-setup-a-private-mobile-phone-system-for-android-and-beyond/


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -