Hi,
I'm using WebRTC(version: branch 45) for video streaming, from android to android. Android rendering application code comes from AppRTCDemo.
However, my problem is that I got about 3-4 seconds of delay before camera captured contents got on screen.
After a while of debugging, I could observe that about 1.2 seconds between
VCMGenericDecoder::Decode and VCMDecodedFrameCallback::Decoded. It appears to me that WebRTC invokes up to java's MediaCodec interface to do the decoding, and passes data back in native code and to renderer.
Is this too much time for frame decoding? Am I setting up the receiver pipeline incorrectly and/or is there any way to improve this?
Thanks in advance,