• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to access Webcam using java  RSS feed

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to implement video-conferencing feature inside my chatting application so please tell me how can i do it
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "chatting application" is this? Tell us about its architecture and technology.
 
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is a pretty broad question. What web cam will you use? There is probably some kind of API for it. I'd suggest you start by reading the docs for it.
 
Neeraj jain
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Ulf basically it's a swing Based application i have completed the other messaging application (private as well as broadcasting ) now want to implement the video chatting service can it be done with swing ? and if yes then how please tell me
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing isn't the answer, but you can capture video using JMF. See http://www.coderanch.com/t/628706/java/java/capture-video-JMF for a recent discussion that points to some example code. You still have a lot of things to think about with respect to sending video over the network and displaying it, but it's a start. This is a sizable project that you should expect to spend a lot of time on.
 
Neeraj jain
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Ulf can't i send the video using stream as i send the normal messages ?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "normal message"? Video not a one-time text message, it's a continuous binary stream of data that is also time-sensitive. It is a much more ambitious project than text chat.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!