I am working with android 1.6 and I was stuck last few weeks having a little problem but great value with IP Camera video streaming. I am explaining details here. I am drawing 4 camera stream into a single surface. I am using
- Code: Select all
modifying the 4 areas with 4 camera stream. Here lockCanvas() method with dirtyRectangle will only modify the area with specified rectangle. And lockCanvas() without any param will draw the 4 camera sequentially which is bad and does not need here. My problem with lockCanvas(dirtyRectangle) is when there is less than 4 camera then the empty area is drawn with other stream having full screen of the stream image. This is causing because this method preserves the previous draw.
For this problem I can't even thumbnailing the view perfectly, thumbnails are flickering. I have tried in different ways I can't get ride of this problem. Any one please help me