Wangwenju / spydroid-ipcamera

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

stsd box could not be found error on Google Glass #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up an rtsp server on Google glass
2. Attempt to connect a peer(I used VLC) to the rtsp server

What is the expected output? What do you see instead?
Expected output is that the camera stream shows up on the VLC instance. 
Instead, the starts and immediately stops on Google Glass and an "stsd box 
could not be found" error appears in the logcat.

What version of the product are you using? On what operating system?
libstreaming commit: e46c57e0aeba0e6bb989b23872f8448ac7db1971
Google glass build XE11. Android 4.0.3.

Please provide any additional information below.
logcat output:
12-11 14:11:10.587: E/RtspServer(5059): stsd box could not be found
12-11 14:11:10.587: W/System.err(5059): java.io.IOException: stsd box could not 
be found
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.mp4.MP4Parser.getStsdBox(MP4Parser.java:82)
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.mp4.MP4Config.<init>(MP4Config.java:71)
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.video.H264Stream.testMediaRecorderAPI(H264Stream.
java:369)
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.video.H264Stream.testH264(H264Stream.java:115)
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.video.H264Stream.generateSessionDescription(H264S
tream.java:93)
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.Session.getSessionDescription(Session.java:165)
12-11 14:11:10.587: W/System.err(5059):     at 
net.majorkernelpanic.streaming.rtsp.RtspServer$WorkerThread.processRequest(RtspS
erver.java:440)
12-11 14:11:10.594: W/System.err(5059):     at 
net.majorkernelpanic.streaming.rtsp.RtspServer$WorkerThread.run(RtspServer.java:
390)
12-11 14:11:10.594: D/RtspServer(5059): RTSP/1.0 500 Internal Server Error
12-11 14:11:10.594: D/RtspServer(5059): Server: MajorKernelPanic RTSP Server

Note: This appears to be related to comment #5 on this previously fixed bug 
report: 
https://code.google.com/p/spydroid-ipcamera/issues/detail?id=61&q=stsd%20box

Original issue reported on code.google.com by emotient...@gmail.com on 11 Dec 2013 at 10:13

GoogleCodeExporter commented 9 years ago
Would love to use this on Glass

Original comment by waterset...@gmail.com on 30 Jan 2014 at 11:33