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
3.http://blog.voipsupply.com/first-look-sipdroid-open-source-sip-client-for-android-mobile-phones
Comments
Post a Comment