1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Audio and video conferencing using php

Discussion in 'PHP' started by vishalonne, Feb 5, 2010.

  1. #1
    Is there a way to do Audio and video conferencing using php?
    Is there ant open source tool through which I can do Audio and video conferencing using php from my Web site?:confused:
     
    vishalonne, Feb 5, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No. PHP is server side scripting. PHP itself cannot read webcams, etc. You'll need something else in addition to it. (and it's not going to run on shared hosting most likely, 99.9999% of the time)
     
    krsix, Feb 5, 2010 IP
  3. vishalonne

    vishalonne Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    I am trying to implement online class for student they will login on my web site and can listen and see the teacher taken classes at remote location. This my requirement is it possible in PHP wen site.
     
    vishalonne, Feb 5, 2010 IP
  4. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You want a ONE WAY stream from teacher (fixed stream) to student (at home)?
     
    krsix, Feb 5, 2010 IP
  5. vishalonne

    vishalonne Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    YES exactly you got my idea
     
    vishalonne, Feb 5, 2010 IP
  6. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It makes it much easier then.. is this going to be live stream or recorded?
     
    krsix, Feb 5, 2010 IP
  7. vishalonne

    vishalonne Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    Live Stream only no recording required. Once class is over story ends. Again user login for next session as per schedule.
     
    vishalonne, Feb 5, 2010 IP
  8. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Does this absolutely have to be self hosted, or can you just utilise a service like justin.tv?
     
    krsix, Feb 5, 2010 IP
  9. vishalonne

    vishalonne Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #9
    See there will be security issues because students has to pay online for classes then they will get login authorization. I don't know about justin.tv
    Can you give me some idea how it can work with my web site and user logged in my site.
     
    vishalonne, Feb 5, 2010 IP
  10. vishalonne

    vishalonne Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #10
    Can you take a look at
    http://www.videowhisper.com/?p=Video+Conference

    and guide me will this fulfill my requirement
     
    vishalonne, Feb 5, 2010 IP
  11. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #11
    PHP is not a good language/platform for this.

    You need an asynchronous language like Java or Flash for something like this. PHP is synchronous, which basically means "send request" -> "receive request" -> stop. Obviously video doesn't work like this, and a video conference especially doesn't work like this.
     
    jestep, Feb 5, 2010 IP
  12. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #12
    danx10, Feb 5, 2010 IP
  13. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #13
    PHP has all the asynchronous capabilities of Java; just use socket_select(). Flash is sort of orthogonal to the question.

    The bigger issue is that of re-inventing the wheel. Streaming is complicated and there are already a million solutions out there, VLC (www.videolan.org) for example. PHP could be used for the gatekeeping and control functionality.
     
    SmallPotatoes, Feb 5, 2010 IP
  14. pranjith

    pranjith Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    hi all i have to do the same thing for teaching

    please give more information hou to use voice chat your project
     
    pranjith, Feb 16, 2010 IP