_switchCamera() error

when I use this function to switch camera my app crashes with an error E/ACodec: [OMX.Exynos.VP8.Encoder] ERROR(0x90000006) on adb…
can any1 pls help me out
another thing happening on different phone is when switching camera the video get stuck on remote device while the device locally shows the stream correctly