Is there any API or JNI wrapper that enables Glass to decode a raw H.264 video stream over a network? - google-glass

We are wondering if there is any API or JNI wrapper that enables Glass to decode raw H.264 video stream over network?
Our understanding is that API 16 has the MediaCodec api which supports En/Decoding of the H.264 format but since glass runs on API 15, it complains about media class not found.
We have also tried other third party libraries but of no avail. Any help is appreciated, thanks.

It looks like your research is correct. This isn't something that's available as of on Glass a this time.
If this is something that you'd like GDK to support, please let Google know by creating an issue in the official issue tracker.

Related

How can I implement the video recording feature on Agora in a Vuejs project?

I am building a project using Vuejs (frontend) and Django (backend) in which I have integrated Agora-Web-SDK-NG for video calls.
Now, I want to add a feature of video recording and recordings will be stored in the cloud. I have researched a lot but couldn't found that Agora-Web-SDK-NG provides this feature and that too in Vuejs. I have read its official documentation too but couldn't found an understanding way to implement.
Has anyone ever been implemented this feature in Vuejs?
Agora has a separate Cloud Recording SDK which works irrespective of which Video Calling SDK you're using (in this case Agora-Web-SDK-NG). Check out the documentation for the REST API here.
You're just making API requests using Axios so it can be added asynchronously with your video calling application.
This step by step guide will also help you out.

GoCoder SDK - not creating the stream file

I have an iPhone app which users can broadcast their camera to other users.
I have a self hosted Wowza Streaming Engine server.
I'm using GoCoder SDK and have couple of issues or maybe things that I did not understand:
I configure the connection parameters with a new generated StreamName but my expectation is that the SDK will create the streamFile in Wowza stream files, but it does not. It says that everything is ok but when I go to Wowza StreamFile nothing is in there.
If I create manually the stream file with the stream uri in advance than I can see the phone camera stemming, but I just don't get it how can I manage different users streaming if I need to create the stream files in advanced?
I was able to connect the streamFile I created in advanced with stream uri "wowz://host:port" to the live application but not to the webrtc application which I need it to present in my web site. Is there any limitation here?
I tried hard to find in Wowza docs some explanations on how things should works but with no success :-(

Voice Recognition SDK/API and Windows 8 Store App (C++)

I'm currently trying to find a SDK or API that I can integrate into a Windows 8 Store App (C++). I have found several but they either require desktop APIs not accessable in Store Apps or is only for C# (Such as Bing Voice Recognition, which would be perfect if it was available for c++). I know there is minimal support for what I'm asking, but I've searched extensively so any help/suggestions on what to try or to use for very basic voice to text would be tremendously helpful.
Thank you!
If you are using a Windows 8 Store App (C++), the best option I found for using voice recognition is to use the AT&T Speech API. The C# have an SDK, but for C++ you can POST to their server using OAuth2 and get a JSON response back with the speech transcribed.

Using Google Api: Speech To Text on PC Version

Google Chrome provide speech to text(STT) and So many smart phone apps provide STT. It has good recognition.
I want program in Visual Studio(MFC), But there's no methods to do STT. If I use Google Speech To Text Api, It's so easy to settle this problem.
If there's no public google api about STT, Tell me another way to this except with start.
To my knowledge, Google has not documented their speech API and do not intend it to be used by general purpose clients. I believe their intent is for the speech API to support their Android and Chrome products. That said, there is more information at Does Anyone Uses Google Speech API in Production? and Is there an API for Google's speech recognition technology?.
Since you're programming for Windows, why don't you use the built in Windows speech engine. You can use the System.Speech features of .Net or Microsoft.Speech and install the free recognizers Microsoft provides. Windows 7 includes a full speech engine. Others are downloadable for free. There is a C++ API to the same engines known as SAPI. See at http://msdn.microsoft.com/en-us/magazine/cc163663.aspx. or http://msdn.microsoft.com/en-us/library/ms723627(v=vs.85).aspx. More background on Microsoft engines for Windows
What is the difference between System.Speech.Recognition and Microsoft.Speech.Recognition?
One last link that I hope is helpful, here is a simple example of speech recogntion in .NET - SAPI and Windows 7 Problem
You may find this: https://gist.github.com/alotaiba/1730160 useful. Basically you need to send FLAC-encoded audio file to google servers in POST request. Be aware that it accept only audio files of 15 seconds of less (for simple voice command app it would be enough).
I'm looking into thing like this and MS Speech API isn't for me, even if is good, because it doesn't support most languages Google's API does (example being Polish, same for MS text-to-speech).

Using the Facebook API from Mono

I am developing a mobile application with MonoTouch and Mono for Android, and possibly Win8. I need to access the Facebook API, and I would prefer to do that in C# given the above mentioned platforms.
I know that I can make HTTP requests towards the Facebook API myself, but I am wondering if there are any libraries that wraps these for me and give me an object model to program against. I have done some searching around but have mostly come across libraries that are no longer supported or shut down.
Does anyone have recent experience with my problem and can give recommendations?
This should help you get started with the facebook integration using Mono for Android.
I am not sure what limitations (if any) there are with regard to using these libraries on a mobile device, but there are some Facebook SDK's for C#.
Here is one -
facebook-csharp-sdk
I have decided to follow a native approach to get as close to a seamless integration as I can get.
For iOS that means https://github.com/mono/monotouch-bindings/tree/master/facebook which are bindings to the official Objective-C Facebook SDK. I have done login so far and that was very easy. With the access token in place I can make future Facebook API calls from a library like the above or I can create a Mono class library with a service that wraps HTTP calls. This service can then be reused in any C# project (such as Mono for Android).
My plan is to do something similar for Android. I have seen people compile the java library in MonoDevelop as an AndroidResource and then create a wrapper which calls into the Java.