I'm curious, how do you integrate a webcam with an ASP.NET C# application in a 'live broadcast' type scenario? I have no idea where to start with this but really interested to learn how it works in terms of detection and live streaming. A point in the right direction would be great, thanks.
Nothing to do with ASP.NET MVC really. The camera's on the client, so you need to use client scripting such as Flash or Silverlight to access it. Here's for example a jquery plugin (based on Flash) which allows you to control the camera (once the client authorizes the site to do so).
HTML5 might also be an option one day.
Related
I have no idea at all about the 3D Visualization ,and i want to create an application ,the application idea depends totally on the 3D structure .
I'll do my best to clarify my question to avoid considering it vague .
The main goal of my application is the (navigation) part in 3D environment .I want to upload maps of a specific area and the application allow to guide the user to its destination.(real time 3d rendering).
The application should work on kiosk ,smart phones and on web.(multiple platforms).
The following video clarify what i want to do exactly :
3D wayfinder
Now I want to know a start point to begin without reinventing the wheel,if there are some frameworks should i learn about first?
I'm a.net developer(asp.net) and i begin to learn CMS (Joomla),so it 'll be great to find APIs or frameworks near to this area to achieve my goal as soon as possible.
From requirements you specified, I would like to advice to look at Unity3D.
Unity3D will help to develop application which will work on almost all major platforms including kiosk, smart phones and on web.
You can develop using C# language which should be familiar to you.
There are number of projects which aims similar goal as rendering 3D map. There are "Google Maps for Unity" plugin and I can advise to look at Displaying Maps in Unity3D post.
Unity can be integrated to Joomla if necessary
Another option would be to build the front-end of the app using HTML5 and do the 3D using Three.js http://threejs.org/
Your back-end could serve up the map and navigation data to the front-end and you render everything in the browser or in your HTML5 smartphone app. If you need to update information in your visualization or load a new location dynamically, this can be done with a simple AJAX call and your callback would add the new info into your Three.js scene.
Forget about what others suggest you in regards to looking at 3D frameworks. Mapping and navigation is a complexity of it's own - 3D frameworks like unity will give you 3D. But they won't give you GIS. Depending on your requirements, you could check Micello for 2D mapping and Deep Map for mobile 3D mapping (http://www.deep-map.com/en). They also help you with creating the maps - which is something you should consider for beforementioned reasons.
You can use OpenCV library in C# for image processing and get help from HTML5 and AJAX .
Try X3DOM. Its a programming language that can be used in applications, web browsers, and much more. And the language is ALOT like HTML and JavaScript. In fact, you can use JavaScript and HTML to access the 3D space in X3DOM.
The website for this language is: x3dom.org
Apparently, there is a way to add C# XNA projects to websites such that they can be viewed on the site from a normal web browser, presumably there are concessions to safety that the browser will enforce.
How is this done?
edit: I think the C# project might only ever runs on the server, the client being sent something it can understand.
There is http://jsil.org which will convert a compiled .Net application into a client side Javascript "app" ... and has been demonstrated to work rather successfully on XNA games.
It only handles 2D stuff and sound is / was needing to manually rewritten last time I checked but it does a pretty impressive job from what I've seen of it.
It should be noted that whilst this may get the job done, it's certainly not going to produce JS that is anywhere near the quality (i.e. maintainability) of a game that was written in JS from the start (using something like three.js or easle.js)... so if this for a commercial product, you may wish to explore rewriting / porting the game specifically for web as a serious alternative.
This isn't possible without a plugin. The plugin would work only on Windows, obviously, since XNA is built on DirectX.
There's no plugin that currently does this, to my knowledge.
It's not difficult to write a plugin, however, you'd have to do this for each browser you want the plugin to run in.
If you want your game content on the web, a better route is probably HTML5 and its Canvas functionality, which works on all modern browsers. You might be interested in this article, which discusses porting a 2D XNA game to HTML5 Canvas.
If you need 3D support, you could go the HTML5 WebGL route, although Internet Explorer doesn't support it.
Probably what you want is Google Native Client (NaCl). I haven't played with it (yet), but as far as I know, some game engines like Unity works on it.
Hope it helps.
I want build an application on web which records the audio sound through Mic.
If any one can provide some appropriate approach or some links would be helpful.
also if you can suggest some third party control which is free.
The technology for Implementation - ASP.NET , C#
Since you are looking to use C#, check out Silverlight 4 which added microphone support to Silverlight. Here is a tutorial on accessing the microphone in Silverlight 4. Scratch Audio is a great example of a Silverlight support with microphone support.
javascript does not give mic support. You would have to include another technology to do this.
I know flash supports microsoft input. It might be the best place to start. I don't know if silverlight has these features.
The only other things i can think of would be an activeX control for IE, or a standalone application. Both of these look like much worse approaches
You can use flash to record from microphone and upload it to a server. For the server you can use Red5 which is great open source server.
Here are some examples:
http:// => fms.denniehoopingarner.com/
http:// => mariofalomir.com/blog/?p=101
(Sorry but i can only post 1 hyperlink)
I'm looking for an idea for a final project in .net.
I thought about building an IM AJAX app with .net but am kind of getting the feeling that the only way to do the video/audio chat is with flash and action script...
I have 4 month to do the project and the idea that in that time i will have the ability to learn a new language and implement the .net project with the flash part just for the video/audio doesn't seem very good.
Can any one correct me/give me any idea/help me/tell me if it is possible or should i look for a deferent project for that time frame?????
I really need some direction with that, I am looking for the past week at every answer over the wed and cant find a good solution.....please HELP!!!!!
10x.....What kind of server do i need if i want to use Silverlight (for the streaming, like red5 for flash and so on) and does visual studio 2008 support Silverlight?
Erez
audio/video chat is only possible (under current technologies) via a plugin of some kind; flash is the more common one but Silverlight is good if you're already familiar w/ .net stuff.
Silverlight 4.0 was just announced with cam support. From the demo it looked pretty easy. You can download the beta.
You really should check WebORB. If you install it, you'll get an example Flex Video Chat with source code (Flex and .NET). --> Link
FluorineFX is also an alternative for .NET but I don't know if it comes with a Video Chat example.
You can use Opentok-.NET-SDK as video stearming service and signalr to map the users togetter
I would love know if i could combine Air, and ASP.Net in one application and what design strategy would suit this type of application. Please.
Not as such. ASP is a sever side technology and AIR doesn't have a server it just hands out static pages which can be interacted with using javascript or flash. You could have AIR call out to a server somewhere which is running ASP.net, that would be fine.