can anybody tell me where can i find some tutorials/ sample code on how to stream a webcam using ActionScript 3
Look for tutorials about the Camera class. Here's a pretty good one from the looks of it:
www.communitymx.com/abstract.cfm?cid=2816A
If you're streaming you're probably streaming to Flash Media Server or Red5, Wowza, etc. You'd do well to visit fmsguru.com and flashcomguru.com to read the tutorials there. Flash Player 10 also now supports direct client to client streaming and Adobe's also got the new Flash Collaboration Service which provides some of the functionality of FMS. There's an Adobe blog post here:
http://blogs.adobe.com/collabmethods/2008/12/try_rtmfp_and_clienttoclient_d.html
Related
hi i am new to video streaming. Is it possible to trace the timestamp of a particular advertisement fragment in live video streaming? Is there any tool to achieve it? If yes, how to integrate that tool with dot net application?
Can anyone suggest me anything to achieve it ASAP?
Detectors (analysis components) can be written in C++
You could detect commercials via few tools, but doesn't look simple.
http://spench.net/drupal/book/export/html/24
To integrate it with .NET app, it depends on how the tool exposes its features, if you are lucky to get an API, wonderful. If its a console app, you could integrate it easily with C#.
I'm working on Virtual Classroom Project. I want to provide LIVE video streaming facility in my project. I don't want to add much functionality in it. Can anybody tell me how can I achieve it...
You can use Microsoft Encoder, in the following article there is a very good explanation about how to provide LIVE video streaming.
http://blogs.msdn.com/b/jitghosh/archive/2007/11/30/demo-live-streams-in-silverlight.aspx
also read this - http://www.codeproject.com/Articles/23190/Creating-Encoding-and-Delivering-Silverlight-Strea
you can also look at this question - How to display a live streaming video via Silverlight?
I wish to do screen sharing application using as3 as the part of one project.
how to get screen sharing video using as3. Thanks.
Screen sharing with flash is already possible with LiveCycle Collaboration Service. Read this article for more info
Update:
LiveCycle Collaboration Service is now known as Influxis Collaboration Service
AS3 does not support this per se. There are some solutions that use java or other technologies to stream through a streaming media server such as Flash Media Server (I'm guessing Fuze Meetings uses something like this), but you cannot do this with just the Flash Player alone. Adobe's Connect Now supports some screen sharing through their Acrobat.com service.
ScreenCamera SDK is definitily your best option here. It installs a camera on the system just like a regular webcam to which you can connect using Flex. ScreenCamera SDK remains completely invisibe to the end user so it looks like your app is doing all the video capture and recording and sharing.
You can test it from here:
http://www.pcwinsoft.com/download/slsdk/
I think this is the simplest way to do what you want to do,
Suppose you have an encrypted video file and the associated AES key. Is it possible to play that video in a flex AIR application without saving the decrypted version of the file? How?
If you do go the DRM route, I believe the Flash Media server supports all this.
Yes, you can.
The easiest way would be to use flash access or flash media server as others have suggested.
The hard way is to create everything yourself using NetStream and the appendBytes method. With appendBytes the data for the video can come from anywhere in any form and it is up to you to put it into the correct form to be played.
Take a look at this question on appendBytes:
In AS3 while using NetStream for video playback how do I seek when I use appendBytes
If you are protecting content, being adobe, I suspect that AIR will have some form of DRM api that you can use.
This returns alot of data about protecting videos in Flash/AIR and other adobe products.
I am wondering if there is any codes sample for ASP.NET with Voice recording.
Ok, Basically, i want to create a web page that allow user to click a record button and record his voice thru his/her microphone and then convert it into mp3 file, then i want to click PLAY button to play what was recorded.
I have searched google alot and cannot find any codes that code do just that.
I have seen site that can do just that and it is using FLASH with RoR (i think).
Is there any way to record voice using ASP.NET?
I dont care if it need to combine with FLASH with ASP.NET, as long as it is possible.
Thanks.
EDIT:
Stephen M. Redd,
Appreciate your input. Yes, i know there is no simple way to accomplish what i am asking for. I also have researched and google alot on this question. Yes,I have come to know the best way to do this is through using FLASH with either FMS or RED5 (open source).
So i am trying to figure out how to write a simple FLASH (.swf) that i can record voice and then save into mp3 format to RED5 server.
Do you know or can you provide any directions to what i am asking above?
1) Tutorial on Microphone class in FLASH (i am reading some basic implementation from a book called "FLASH Actionscript in a classroom", which doesnt tell me how to record voice but ONLY how to use microphone object in FLASH)
2) Tutorial on how to setup and use RED5 (FMS is NOT an option due to its cost)
3) how to integrate 1) and 2) with asp.net and javascript (if there is any flashvars that the FLASH microphon .swf i can access so that ASP.NET can be used with javascript)
Thanks.
EDIT 2:
I cant consider to accept an answer BECAUSE none of them has provided a good answer.
Take a look on my question and read the comments i got, and you will see that my question was NOT being provided a good answer.
My question is to find a web-based Audio/Voice recorder so that the users can record their voice on the site.
To better convey what i exactly asked for, take a look at www.snapvine.com or www.pubclip.com . Both of them provide a way for users to record their voice right on the webpage.
So, i am looking for a FLASH component (.swf) similar to what they offer to integrate with my site.
EDIT 3:
This voice/microphone recording thing seem to be a challenging project for most developers.
I guess this means i am all alone.
I think this is something that would have to be done with Flash.
This guy appears to have some examples of doing voice recording in Flash, with code samples:
http://fms.denniehoopingarner.com/
There is no simple way to do this kind of thing. Standard web technologies based on HTTP and HTML just don't have the features. HTTP doesn't work well with moving audio data, and HTML and Javascript are not able to talk directly to the hosting OS or hardware resources like the microphone.
There are 3rd party browser plug-ins and applets that you may be able to use via a web application to do this kind of thing.
Most people use Flash and the Flash Media Server to do audio input via the web.
There are also some Java applets that have similar capabilities such as the ListenUp SDK (I have not used this, so it isn't an endorsement).
There is a lot of discussion on this topic related to Microsoft Silverlight, but as I understand it voice and camera inputs from the client side are not supported as of Silverlight 2, though it may get put into Silverlight 3. There is a good bit of information about how to use the necessary Flash bits within a Silverlight application though. For more info on that, check out this post.
ASP.net is a Server-Side Technology, but voice recording is done Client side. So regardless if you use ASP.net, PHP, Ruby on Rails or Cobol, you can't do it directly.
What you need is a Client-Side Application that works together with the Server Side to accomplish this. I do not know if Silverlight can do Microphone recording, but Flash can. This is apparently quite easy using the Flash Media Interactive Server, but normally you should be able to do this without, i.e. just by having a Flash Application doing the recording and then Uploading it to the server.
Hi Sam in Silverlight 4 it is possible to record voice from microphone and webcams.
Just follow the blog.
http://blog.ondrejsv.com/post/Audio-recorder-Silverlight-4-sample.aspx
Good Luck