Media Server :: VideoDisplay Component - Disconnecting Attached Webcam?
Sep 21, 2011
I'm working in a videoconference system with Flex 4. My problem is in the s:VideoDisplay component. I declare it as follows:
<s:VideoDisplay id="localVideoDisplay" width="320" height="240"/>
And then I attach my webcam:
var camera:Camera = Camera.getCamera("mycamera");
localVideoDisplay.attachCamera(camera);
All works properly but when I try to disconnect de cam by using:
localVideoDisplay.attachCamera(null);
It doesn't work. However, this method works perfectly with the mx:VideoDisplay component. How can I do this in a s:VideoDisplay?
View 2 Replies
Similar Posts:
Aug 17, 2010
We have Streaming Server installed to stream online-seminars to the clients. We want to manually disconnect some clients during the translation while leaving others online. What is the way to do it? Clients connect to server by opening a web-page on the other web-server with embedded flash player which has the source streamer uri
View 5 Replies
Apr 16, 2010
The documentation for FMIS is in my mind poor. All I want is to display a videostream from my server in an swf. I've manage to display the file using http or local but rtmp seems to be another ballgame. The file play using rtmp using jwplayer. So far I have this code:
[Code]....
View 18 Replies
Oct 18, 2011
i have encountered a problem last night. my code looks like the following:
[Code]...
View 1 Replies
Oct 9, 2011
No I have installed fms4.5, but I can't find good docs how to set something like this up. In Learning section I saw a lesson, but this one isn't ready.So I want to publish using flash and the subscribers to the livestream can be iPhones or Browsers.
View 13 Replies
Jan 13, 2010
I'm trying to troubleshoot a Flash Media Server working with a little video playback application I wrote a few years ago that has suddenly stopped working.I'm using CS3/Actionscript 3.My app uses the FLVPlayback Component, and was working well last time I checked. I recevied a report that the videos stopped working, and have been looking into it.I figured I'd add a bunch of event listeners to the FLVPlayback's ncMgr.netConnection so I could get debug info on things like io errors, net status, etc.The problem I'm running into is that the netConnection is null when I set it to anything on my Flash Media Server, and adding any event listeners to this netConnection throws errors.Here's what I've tried so far:
Playback of a local FLV file works fine.In the FLVPlayback documentation, I found an example and stole the URL of the stream they were using in the example, and that works fine, although it is an HTTP protocol stream rather than RTMP.Any attempt to access FLV files on my Media Server, which has worked fine in the past, basically cause the FLVPlayback object to sit and hang in "buffering" mode and never progresses beyond this point.The netConnection object in this case is null.Here's my code:[code]........
Again the purpose of this is to troubleshoot the video streaming from the Flash Media Server, and it seems like there is no netconnection to the server being created.Does this mean that the server is not working, or is there a problem with the way I'm trying to access the content on the server?This was all working fine before, and I have set up the server-side application .ASC files and such to allow things to work fine on the server end.
View 6 Replies
Nov 15, 2010
I have this video chat(video, text and audio) program written in actionscript and using FMS as the media server, that I would like to test out with diff comps. I don't have enough webcams to go around and also not all have a built-in webcam. Is there anyway I can use some software to record the screen activity as a video and than stream it over? I am aware that there are softwares that can record the screen activity, but how do I stream it over after that, while still in my video chat applicaton?
View 4 Replies
Apr 23, 2009
I'm trying to stream a webcam from 1 server to many client, what I really need to know is :1. How to adjust a bitrate video for bandwidth streaming, is it enough just using a Camera.setQuality() ?2. If u set Camera.setMode() at large resolution, for example at 1024x768 is it could make the bandwidth for client access increase too ?I mean is it affect the bandwidth for set the resolution at small (ex: 160x120) or set at large (ex: 1024x768) resolution.3. Same as number 2. just it was for video=new Video(w, h) . Is setting a video size affecting the bandwidth ?
View 1 Replies
Sep 28, 2009
I am wondering if it is possible to add/inject a cue point to an FLV server-side that has been recorded/published from a users webcam using FMS3.5.
View 5 Replies
Oct 26, 2010
Am trying to record video from my webcam.
here is my code
[code]...
When i click record_btn, flash asks me permission to access my webcam. If i alow in the screen i am able to see live video. But I want to store the video and replay it.
View 16 Replies
Mar 31, 2011
I managed to record webcam stream by using the FMS developper version locally my computer.And if I try to use a remote FMS (FMS Stream EDTN 3.5 ALP), my doesn't work anymore!
import mx.rpc.http.HTTPService;
import flash.net.ObjectEncoding;
private var nc:NetConnection;
[code].....
View 1 Replies
May 20, 2011
I wonder if i can do the following, send a stream to fms from a webcam and then serve it with apache on http x-flv format.
View 6 Replies
Apr 15, 2011
I know that is possible to make a p2p webcam stream with Cirrus/Stratus or with Adobe liveCycle, but the first is not for commercial use and the second use an adobe's server. Is possible to set up a my own server with Flash media server 4 and then create a application to do what i want? I would to create a webcam stream 1->n using p2p. I cant find any example or any documentation about that and how work the rtmpf protocol of fms4. If i was not clear make me any question.
View 1 Replies
Mar 4, 2009
Is there a possibility - instead of attaching a camera [via ns.attachcamera()] to a netstream - to "attach" e.g. BitmapData to netstream. The reason is, that I use BitmapData's .draw method to get the webcam video in order to change it, such as with the .treshold method. And I want to record and save these altered bitmaps (as a video) on the FMS instead the original webcam video.
[URL]
Two videos are shown, the left one is the original from the webcam, the right one the "modified" video. Only the modified video shall be recorded via the netstream .publish method.
View 1 Replies
Jun 4, 2009
Before I buy the Flash Media Server, I would like to know that:
- Is it possible to crop the webcam video (because I need just one part of the whole picture) before streaming from the client's Flash Player to the Media Server? (it would reduce the bandwidth a lot)
- If not, can the player store some parts of video until it is fully streamed with all it's data (30 fps) to the Server? (e.g: client: low bandwidth, I need all frames that the webcam records, real-time doesn't matter if it takes 1 minutes for 20sec video, that would be ok.
View 1 Replies
Jul 17, 2009
I have implemented an application for webcam broadcasting and receiving. I have tested the application using a developer version of flash media server. Thus its working finely. Also i am recording the stream and storing it in the application folder. The recording feature is implemented with the broadcaster. Every thing works finely while i checked locally.
Now the client installed media server and I tried to set every thing in the server. I placed all the files in the server and created a directory with the name "live_test" in the applications folder inside the Flash Media Server folder. Then I run the application. Thus the status is showing as NetConnection.Connect.Failed.
View 1 Replies
Aug 20, 2009
Should I buffer a live webcam stream?
View 1 Replies
Mar 23, 2010
I'm recording a stream from a webcam as an f4v file using FMS 3.5. The file is created in the live folder, and i can stream it back to the client no problem, however when I try to play the file in Adobe Media Player (or anything else) it won't play. I've used the f4v post processor which claims to run successfully, but with no joy.
View 5 Replies
Apr 26, 2010
I want to make a live webcam or audio broadcast for a user(not a chat or conference).For example a user will broadcast live and people can be able to wacth it when open that user's page. But what is the meaning of 10 users limitation of FMS? If I open a live webcam, Does it says max 10 users can be watch it?
View 5 Replies
May 27, 2010
My company is about to launch an online teaching product allowing users to use a webcam to record themselves giving a presentation. That presentation can then be submitted to a supervisor to review and comment on. While making their recordings, users can record multiple attempts and review each immediately after stopping the recording. All of this is being done with a browser based Flash application connecting to an instance of FMS 3.5.
All of this is working well. However, we recently found out that due to some of our other products, we are getting hammered with fees based on the amount of bandwidth we are using in our data center. We have made some alterations to curtail these problems, but we are concerned that this new product is going to push us over the edge again. Our original plan was to keep the video stream right around 115 kbps, a relatively low data rate. But when thinking about the expected concurrent users, the bandwidth starts to stack up and really spike.
So we are now looking for ways to limit the bandwidth that this new product will use. One idea was to figure out how to record the video locally when users where recording their test presentations. I thought that was now possible, but apparently that is not yet the case with the Flash Player.
Another idea was to limit the bandwidth that is allocated to each user that connects to our FMS. We are hoping to address the spiking issue with this limitation. I am, however, concerned about what will happen to a video stream that is getting squeezed on the server site. I know when users have limited bandwidth, video files that are published to the FMS are compromised (poor quality). But what happens when the bandwidth is limited on the server side? Do the same things happen to the published video file? Or can the server somehow queue up the data coming in and deal with it in full when it finally gets to it. My guess is that this is not the case, but was curious what others though.
View 5 Replies
Jun 10, 2010
I am trying to broadcast live video using a webcam. I am using the developer version of FMS3.0. Actually i have a working code of webcam broadcasting, which i used before. But now i am using a free version of FMS3.0. When i tried to connect, the following error is showing:
"NC.onStatus> info.code: NetConnection.Connect.InvalidAppNC.onStatus> info.code: NetConnection.Connect.Closed"
I am trying to connect with [URL]
View 10 Replies
Jul 15, 2010
Is there any way to detect webcam and microphone connections in runtime in flex.Suppose the clients are participated in a videoconnference .One of clients joins the conference without webcam.In meantime he connects to webcam as he in the conference.How to stream that user video to all connected clints.
View 5 Replies
Nov 4, 2010
I am building an enterprise application which involves many to many video chat. Most of the chats at any given time will be idle but they still need to trasmit some frames to keep the video chat alive and let other person know that someone is available. Will I be able to achieve this without any media server such as FMS and wowza? I heard about data packet loss during RTMFP. Is that true? What would be my limitations?
View 1 Replies
Jan 10, 2011
There's just one thing I still don't get about the sample app: As a client, you always have to check the checkboxes (send/receive Audio/Video) in order to define who is sending/receiving what kind of stream. How is it possible to manage the feeds from the FMS server? So the clients can't set the checkboxes, but the server determines who is sending and who is receiving?
View 2 Replies
Nov 23, 2011
We've purchased the FMS 4.5 and are now planning an application that lets users record a video to the server using their webcam. Straight forward, if we were to stream only to a flash video object. BUT, we would like our padders to be able to see the videos on demand too. Can't find a tutorial on this, seems like everyone's more interested in live streams.The server is able to record a stream in mp4, but when I'm testing these files in Adobe Media Player it won't play :| What codec is used, and is it possible to play this format on an iPad? If not, is there som sort of solution other than manually transcode to the right format.
View 5 Replies
Nov 29, 2011
I am using these settings for media server but there's too much noise when a mic is attached to stream. Code is as following, can you suggest changes to remove the noise for more crystal clear voice?
[Code]...
View 2 Replies
Jan 14, 2010
i'm developing a web site, and i'm trying to let the user record some video from his webcam. I'm using actionscript and flash media server. I got it work in my delevoper enviroment, but when i deployed it to the production server, the webcam can't get connected to the FMS. I'm afraid this is because of port blocking from the firewall. Does anyone knows wich ports are userd for recording from a browser by the Flash Media Server? I open the 1935 port in the Flas Media Server, but it still doesn't work.
View 19 Replies
Sep 27, 2010
The problem is a weird problem, because I can connect to the application through an RTMP test site, Adobe Flash Server reconginzes the connection and allows it. But when I try to connect from the flash applet (It's called Videowhisper), the connection doesn't go through. I was wondering if anyone knew what the problem is? I host Joomla (open source networking site) on a WAMP server, and Adobe Flash Server on the same machine. Adobe Flash Server is acception connections, just not from Joomla, for some reason.
View 2 Replies
Dec 9, 2010
I have installed flash media server, flash cs5, media live encoder to be able to view my webcam feed via my website. Now in addition to these, i started streaming to localhost, and installed a dns updater which updates a name server according to my current ip. Then i wrote this dns address in the feed's source from flash 5 as rtmp://thednsname.somedns.net/live/livestream
so far so good, i also forwarded the ports 1935 incoming and outgoing from modem to my computer as well (because 1935 is said to be the default port number for media server). firewall -> closed (just in case); and my internet provider doesn't block ports...started the media server (with admin privilage in 7), started the live encoder, connect to localhost, start live feed.
NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.
View 1 Replies
Apr 28, 2011
goal is to record a stream from a webcam with the best possible quality regardless the bandwith of the user.(it doesn't have to be live or broadcast, just stored on the server)
is it best to record from server side with asc script or directly from the flash player ?what are the parameters on the server that i can play with in order to cache locally the stream if the bandwith is not high enough ?
View 5 Replies