Media Server :: Allowing Camera Access Programatically?
Feb 4, 2010
I want to publish camera over FMS. But I don't want to use adobe security panel to be displayed(not even once) with setting as "access" by default.I wan't to set it allowed programatically.
I have a video capture device on a machine. I have written a windows application to capture the video from this device. While capturing, if i try to broadcast using flash it does not connect. If i'm already broadcasting and then try to capture then my windows application does not get the capture pin of the device. So, flash seems to be taking the capture pin. Is there anyway to broadcast using the preview pin on the device so that i can capture using my application. Or is there way where i can split the capture pin and give one to my app and one to the broadcaster
I have a setup where I have some edge servers (as in <Mode>remote</Mode>) that pull content from an origin server. I only want to allow RTMPE connections to the edge server. I'm trying to do this by using the <DisallowedProtocols> element on the origin server. I'm setting: <DisallowedProtocols>rtmp,rtmps,rtmpt</DisallowedProtocols>
in the relevant Vhost.xml on the origin server. However, when I do that, proxying through the edge server stops working. I get a "Connection attempt rejected by FMS server [ Server.Reject ] : Connection failed." from OSMFPlayer (which I'm using for testing) and these lines show up on the origin server's core.00.log file:
so i was getting people embedding my player to there site and stealing my thunder.. so i changed allow all to my domain and well i cant connected with fme
How to detect camera is in use or not? Adobe says, if Camera.getCamera(); returns null, it means camera not installed, or in use , i use below, then when i start swf, first one is ok, but then i start new instance of app, it throws and error " .... flash 10 r2has stopped" how can i solve that problem...
How I can use ip/network camera with Flash Media Server.I am not able to configure it.Is there any other way of configuring such cameras ?I want to publish live stream data captured by ip camera on Flash Media Server.
I've been chased a lot of things, but so far not found anything very practical, such an example that makes me understand the workings of Flash Media Server, something like transmit, share my webcam or camera!
Sets the camera capture mode to the native mode that best meets the specified requirements. If the camera does not have a native mode that matches all the parameters you pass, Flash Player selects a capture mode that most closely synthesizes the requested mode. This manipulation may involve cropping the image and dropping frames.Does it mean that the frames captured is not necessarily the same as required by setMode(width:int, height:int, fps:Number, favorArea:Boolean = true) ? The actual frame captured may be either wider/ narrower,higher/lower in size and have higher/lower frequency than required ,is this true?
i have problem with publish with fms.i have a song play in back i have microphone to sing and camera when publish in mp4 the voice is ok and camera good. But the song play in background dont have good quality.
1- can i separate voice and song in my microphone? if yes do you have an exemple? because the sound o f voice is ok but song in background not good
2- else can mix my original song mp4 to camera and microphone? and publish record all with fms?
i am building an live streaming website and i am use
1- FMS 2- Apache webserver
i have made the subcriber and i works well .but i need to build the publisher to allow users to broadcast thier stream from thier cameras.i have tested a publisher which was build using actionscript and it didn't work untill i have installed the fms on my localhost , but i need a publisher which any user can use in his web browser .
I'm not sure if this is the appropriate place to post this, but I was wandering its possible to build your own Player in Flash? The situation is: I have an external digital camera, and i need to capture its contents and display it in a player/window. This will all be on a local machine. I don't need to record anything, or stream it to other machines..... I just need the player to be able to display what ever the camera is displaying. Kind of like the Live Encoder (input and output views). With that I could hopefuly embed the player into other applications.
I have a delicate question for you which i cant find an answer to.Problem:I want to add an object (lets say it's a logo) to a camera stream before i save it to the FMIS. So the logo is integrated with the camera as it would have been placed in a layer above.Is that possible and if it is, how do i do it? It is quite urgent so any quick tips or solutions are more than welcome
When user first time log into site camera start the capturing and stream is saved in application folder with the streamname (straemname.flv). then user logout and then logged in then i have to append that stream in same straemname.flv file .By this code i have done that task
camera = Camera.getCamera(); camera.setQuality(0,80); camera.setMode(videoWidth,videoheight,15,true);camera.setLoopback(false); video.attachCamera(camera);ns.attachCamera(camera);ns.publish(stream, "append");
when user again logged in ,the video which is saved previously start playing,I dont want start that video.I just want to show camera control
I learned from some previous post that the default encoding format used when you publish the camera from a Flash player is Soreson. I'm wondering whether it is possible to select to use other codec such as VP2 or H.264?
I know the FMS is good for streaming things video to clients and for clients to publish videos from their attached camera. Is it possible for a client to publish something other than a stream from a connected camera, for example, the contents of my swf stage? Is it possible to draw something like a text overlay onto a published stream?
I'm completely new to FMS but a seasoned Flex developer. We're building a Flash Builder 4.5 application which will be deployed to iPads. The basic functional requirements are as follows:
1. Presenter in a room has a camera streaming video of themselves2. Participants in the same room have an iPad - there are 30 participants and the stream is sent to all 30 iPads simultaneously.3. There must be lowest delay possible with good quality video - we understand this can be achieved with RTMP and that VP6 has to be used (as there is no H.264 support at present in AIR on iOS)4. The presenter will trigger certain things from their iPad which will then display certain alerts, content on the partcipants iPad (from server connection the participant iPads are listening to)
Firstly, I'm interested to know your thoughts on this current spec. This was put together from zero initial experience with FMS and having read a lot online and creating a proof-of-concept. Secondly, with regards to the two-way interaction: Is this something FMS handles? Previously I have used LCDS or BlazeDS for the data events & streaming aspects of our applications. Initially I was planning on using BlazeDS again, in addition to FMS. But from what I have read FMS possible handles data push too? Does FMS have LCDS/Blaze built in in some way?
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
I know the stream can only be modified at publishing side by previous posts. I was thinking of using Server shared objects, but it's not supported by lite.
I am Trying to Apply some information Like text and An Image as an overlay to create a overlay effect as lice a security camera with time and date on the video along with a png based Logo.
I can record VIDEO Using Flex and FMS or any other Media Server. But I want to save a modified version of the stream being uploaded.
currently I use the following workflow for Live video streaming.I have FMLE on a computer streaming the Video feed to my FMS.I currenlty use Dreamweaver to create window with a few instances of a video window and one of the windows is configured to rtmp to my server and the stream name of the stream I have setup in FMLE.This then streams to one of the windows.I then assign a different Stream name to the other windows.
I send an FMLE client to a user in the locations that want to have a video presence on the webpage.I send them instructions and running FMLE and the parameters to use to get their camera up and running.This works fine to a point.Most of the users are not technically minded and so often this leads to issues and delays to get these things to work.
I want to move on and improve this flow.I want to create the video instances on the page where:Below each video window is a text input field where a user can type in their name which will be used as the stream name.Below each video window is a button that the user clicks to connect their camera automatically without having to install FMLE.Once the video feed is running, only that user can click the button again to disconnect it. ( The button changes to "Stop Broadcast" etc).
I have looked at the structure of Ustream for example, and this seems to be the method they use as you can download the XML file of your channe,l and the RTMP URL and stream name can be copied and then used directly in FMLE and you can stream with more control of your camera that way.
From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
Usually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?