CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2011
    Posts
    3

    Lightbulb Webcam streaming project

    Prolog: I'm picking up ideas since I'm not a great expert in this field.

    I need to record a webcam from a house desktop pc (a simple usb webcam) and streaming it in a website, allowing people visiting the website to interact with a chat which will be visible from both website and transmission pc (the one with the webcam put on).

    This is the idea and sounds pretty cool. Now realizing all this it's another story..

    I don't think this project would fit any of the forums I've found here, but I really didn't know where to post it so if you feel this post is totally OT or will cause a lot of flame (I don't see the reason but.. let's be sighted as we can) please move/delete it or advice me where to repost it.

    The pc with the webcam which will transmit the images is linked across the internet with a 384 kbps upstreaming connection (Adsl) so this should be sufficient for the transmission to a single machine (I think).

    My idea was to use an intermediate server (with a fixed ip and at least 4-5 Mbps flatband) which would grab the webcam images and transmit it to the various website surfers. The website should be using a flash applet connecting to the server where a C++ program would accept connections, send data, and get data back regarding the chat.

    I don't know a lot of implementation details.. like: better using a windows server or a linux server? And what about the C++ program, should it open multiple ports (one for every client connecting) or what? I've never worked with streaming (if you have suggestions about a great guide to start with I'd appreciate it very much, I'm just willingful to learn). For the flash applet part I have to figure out a lot of things but I suppose that whether the underground mechanics of all this system could work, I surely will think about it and find a way out.

    Can someone please provide me a good point to start or a suggestion about why my idea could work/couldn't work?

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Webcam streaming project

    You can pay a host about $30/month for audio only, 20-user at once limit, 1 hour show, 3 times per week, based on what a client is using. He uploads his show a few times, replacing the file name that is streamed.

    You'd have to pay a bit more to get 24/7 video, but look around. I can give you one site, if you have problems finding one. Send me a PM.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2011
    Posts
    3

    Re: Webcam streaming project

    Very kind of you sir, but I'd like to realize or project such a system for my customers (and future ones too). The idea was realizing something simple and scalable

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Webcam streaming project

    Hard to know. We expect <20 users at once. #21 gets an ERROR.

    Scalable is hard. If you get 10K users tomorrow, you know what happens to the server.

    Look into the CLOUD, where you can pay-as-you-go as it were...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jan 2011
    Posts
    3

    Re: Webcam streaming project

    You mean azure?

  6. #6
    Join Date
    Jan 2011
    Posts
    6

    Re: Webcam streaming project

    i am new to this forums..........

  7. #7
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Webcam streaming project

    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured