I have got a video byte array format, how can i draw on surfaceViewer in android 2.2? i
am trying video chat. I m using onPreviewFrame and i have got a byte[] i will send to server and than the server send to other client and the other client will has got a byte[], my problem is that: How can i draw this(byte[]) on client ?
I have got a video byte array format, how can i draw on surfaceViewer
Share
Here is all codes for your app , I mean here is your
videochator part of this 🙂 ,I didn’t try my code on android 2.2, but it works for android 2.3.3 , it works like this , you are setting some device local ip address ineditTextand then you must push chat video button , so other part , whose ip address you set , will see video of your front camerahere is the java code
here is the xml
try it 😉 , don’t forget to upvote 🙂 , and also don’t forget to add these rows in manifest.xml
Regards