Hello Guys & girls,
I'm trying to take a screenshot of a video stream and store it on my server as a jpeg file.
I made a test file which takes a screenshot of whats on my webcam, convert it to a bitmap and then send it piece by piece to my php file and put it together with GD. That all works perfectly.
For example:
[login to view URL] = [login to view URL]()
[login to view URL]([login to view URL])
bmp= new BitmapData(144, 104, true, 0x00000000)
[login to view URL]([login to view URL])
And then i split it up and send it.
However when i then change it to convert a VIDEO STREAM im WATCHING into a bitmap it doesn't seem to get anywhere.
For example:
[login to view URL] = new NetStream([login to view URL])
[login to view URL] = function(infoObject)
{
if([login to view URL] == "[login to view URL]")
{
[login to view URL]([login to view URL])
bmp= new BitmapData(144, 104, true, 0x00000000)
[login to view URL]([login to view URL])
}
}
[login to view URL]("thatuserscam")
Thats not exactly my code but thats a simple version of it
This script is for a REPORT SYSTEM in our cam chat. Example: If one of our members is watching another members web cam in cam chat, and that member gets naked, the member can hit a REPORT BUTTON, this will then take a screen shot of the cam and send it too us.
CAN ANYONE DO THIS ??