fadossantos / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

Invalid surface on web player, no h264 stream directly to vlc. #113

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout, build, install and run spydroid 8.1
2. Attempt to initiate a video stream with any settings
3. Error, invalid surface holder

1.disable http server
2.enable rtsp server
3.attempt to play any stream using h264

What is the expected output? What do you see instead?
Expected output in both cases would be the video stream

What version of the product are you using? On what operating system?
Spydroid v8.1 on nexus one running gingerbread 2.3.7, galaxy s3 running 
jellybean 4.2.2, xperia p running jellybean 4.1.2

Please provide any additional information below.
Running in debug mode shows that the error occurs in VideoStream.java line 207, 
the condition !mSurfaceHolder.getSurface().isValid() evaluates to true and the 
stream is never played. Streaming directly to vlc player works with h263 on 
nexus one and galaxy s3, doesn't work on xperia p. Streaming with h264 doesn't 
work on any of the three devices, Spydroid keeps sending teardown messages a 
few seconds after play and restarting the stream.

Original issue reported on code.google.com by mrwalbao on 25 Jul 2013 at 1:30