How can I implement using Camera2API?

A

AC Question

Using Camera2API

I Would like to implement Camera2 API to get the frame Buffers stream repeatedly for VOIP call as we have onPreviewFrame, setPreviewCallback, in Camera API which i can use alternate for these in Camera 2 API...

Is it possible to get the Image frames direct way from Camera instead of getting it from Surface or Texture if possible please help me in doing that by providing samples for the above

Thanks in Advance Looking for the help.