Could not find Stsd window when using libstreaming in Google Glass

I am trying to transfer video from a camera from an Android device to a web page. I currently used the libstreaming library for streaming a video camera for a VLC player.

When I deployed the project to the Nexus 5 device, it works fine, and I see the video stream of the camera in the VLC player. But when I tried to deploy the same code in Google Glass, he threw me the error message " Error: could not find the stsd box "

This error comes from the file MP4Parser.java in line line 63 .

public StsdBox getStsdBox() throws IOException {
                try {
                        return new StsdBox(fis,getBoxPos("/moov/trak/mdia/minf/stbl/stsd"));
                } catch (IOException e) {
                        throw new IOException("Error: stsd box could not be found");
                }
        }

Please help me if anyone has an idea on this issue.

Thanks, Happy coding :)

+3
2

, libstream, (17 ).

0

All Articles