title: Google glass live stream video using RTSP server of Wowza
body: <p>I'm trying to build a Google glass app that supports live streaming. Am aware that Livestream app is available to do this but i don't think we can integrate it in our application or am i wrong? is there a way to integrate the livestream in our app? </p>
  
  <p>I came across this <a href="https://github.com/andermaco/GlassStream" rel="nofollow">https://github.com/andermaco/GlassStream</a> open source project which do the same thing using RTSP server of Wowza. As per the instructions i have given the user name/password and updated the url. But while running there is an issue while running the application., i tried to debug it but am not successful. This is the log am getting repeatedly</p>
  
  <p>java.lang.IllegalStateException at android.media.MediaCodec.dequeueOutputBuffer(Native Method)
  at net.majorkernelpanic.streaming.rtp.MediaCodecInputStream.read(MediaCodecInputStream.java :75)
  at net.majorkernelpanic.streaming.rtp.AACLATMPacketizer.run(AACLATMPacketizer.java:88)
  at java.lang.Thread.run(Thread.java:841)</p>
  
  <p>Some of the users have used and are successful, Please share me the source code or let me know if am missing something in setting up the server. Even if there are any other resource for implementing, it would be great.</p>
  
  <p>Thanks in Advance.</p>