fyhertz / libstreaming

A solution for streaming H.264, H.263, AMR, AAC using RTP on Android
Apache License 2.0
3.49k stars 1.08k forks source link

Question: Using setCamera instead of setSurfaceView? #116

Open pablomd314 opened 9 years ago

pablomd314 commented 9 years ago

Looking through the documentation, it was unclear whether setSurfaceView was necessary when using SessionBuilder or if setCamera could be used instead. I don't want to have to use the surface view so I'm assuming the MediaCodec API will allow for buffer to buffer to work using the camera's buffer.

How can I avoid using the Surface View in my application? I'm streaming to a Wowza server.