Thursday, February 20, 2014

Brother recently wanted to achieve a dialogue between one of two mobile video stuff, I do not know how to start, seeking seniors guiding


Brother graduated in June, has been engaged in the development of Android. Recently want to improve skill, going to do a video phone conversation two things, two mobile client Socket server via an intermediate layer transmission of video data. I would like to direct access from Android phone camera data into memory, recorded by sending UDP lens to the server, the server forwards to another mobile client, the middle number is not considered a problem of packet loss retransmission (such a problem can be understood as a network connection is unstable or poor network status), and then by another phone to receive data content displayed on the screen (do not understand is this MediaPlayer to display video interface or data content according to their own needs to achieve SurfaceView). These are probably thinking I also do not understand, after all, I did not do right. I hope CSDN predecessors have done this to me pointing to the road, brother grateful <-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Why did no one?
Reply:
Without considering packet loss, no compression on the Internet is impossible to use the basic
Reply:
Use SurfaceView.
Hard-pressed to use hardware solution, or CPU load is too great, and the flow is also great.
Reply:
reference to the third floor tantahe reply:
use SurfaceView.
Hard-pressed to use hardware solution, or CPU load is too great, and the flow is also great.
server is not necessary to send the picture into a frame by frame to the phone? Then through the frame Canvas painting the picture above to go to SurfaceView? Another voice is how to deal with? Seeking advice
Reply:
reference to the second floor halleyzhang3 reply:
not consider dropping, no compression on the Internet basically is impossible to use
originally I think it loss, up to the full screen does not cause it, then think about or prevent loss of good. Thank you for reminding
Reply:

Picture is transmitted one frame to theSound can also be used to send UDP
Want to use a soft decompression, you can use ffmpeg to do, sound and pictures are supported.

No comments:

Post a Comment