Just a draft example about using libstreaming lib into google glass, just for testing purposes..
streamtest is hosted in the following web site
https://github.com/andermaco/streamtest
If you think the Android project streamtest listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of streamtest.
Item | Value |
---|---|
Java File Count | 40 |
Supported screen sizes | [hdpi] |
Activity Count | 1 |
Required Permissions | android.permission.CAMERA android.permission.INTERNET android.permission.RECORD_AUDIO android.permission.WAKE_LOCK android.permission.WRITE_EXTERNAL_STORAGE com.google.android.glass.permission.DEVELOPMENT |
There are 2 image files in streamtest. The names of the image files are listed as follows.
ic_glass_logo.png ic_stop.png
The following screenshort is generated from the image listed above.
streamtest has the following Java source files.
com.scalardrone.stream.ApplicationTest.java com.scalardrone.stream.MainActivity.java net.majorkernelpanic.streaming.MediaStream.java net.majorkernelpanic.streaming.Session.java net.majorkernelpanic.streaming.SessionBuilder.java net.majorkernelpanic.streaming.Stream.java net.majorkernelpanic.streaming.audio.AACStream.java net.majorkernelpanic.streaming.audio.AMRNBStream.java net.majorkernelpanic.streaming.audio.AudioQuality.java net.majorkernelpanic.streaming.audio.AudioStream.java net.majorkernelpanic.streaming.exceptions.CameraInUseException.java net.majorkernelpanic.streaming.exceptions.ConfNotSupportedException.java net.majorkernelpanic.streaming.exceptions.InvalidSurfaceException.java net.majorkernelpanic.streaming.exceptions.StorageUnavailableException.java net.majorkernelpanic.streaming.gl.SurfaceManager.java net.majorkernelpanic.streaming.gl.SurfaceView.java net.majorkernelpanic.streaming.gl.TextureManager.java net.majorkernelpanic.streaming.hw.CodecManager.java net.majorkernelpanic.streaming.hw.EncoderDebugger.java net.majorkernelpanic.streaming.hw.NV21Convertor.java net.majorkernelpanic.streaming.mp4.MP4Config.java net.majorkernelpanic.streaming.mp4.MP4Parser.java net.majorkernelpanic.streaming.rtcp.SenderReport.java net.majorkernelpanic.streaming.rtp.AACADTSPacketizer.java net.majorkernelpanic.streaming.rtp.AACLATMPacketizer.java net.majorkernelpanic.streaming.rtp.AMRNBPacketizer.java net.majorkernelpanic.streaming.rtp.AbstractPacketizer.java net.majorkernelpanic.streaming.rtp.H263Packetizer.java net.majorkernelpanic.streaming.rtp.H264Packetizer.java net.majorkernelpanic.streaming.rtp.MediaCodecInputStream.java net.majorkernelpanic.streaming.rtp.RtpSocket.java net.majorkernelpanic.streaming.rtsp.RtspClient.java net.majorkernelpanic.streaming.rtsp.RtspServer.java net.majorkernelpanic.streaming.rtsp.UriParser.java net.majorkernelpanic.streaming.video.CodecManager.java net.majorkernelpanic.streaming.video.H263Stream.java net.majorkernelpanic.streaming.video.H264Stream.java net.majorkernelpanic.streaming.video.VideoQuality.java net.majorkernelpanic.streaming.video.VideoStream.java