Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

vedio streaming using servlet and jsp

 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my final year project(ECG related), I need to upload the acquired ECG signal to a database through a web application, which interact via mobile, so the doctor can view the patient's ECG remotely. I've done the ECG acquiring part, but I need suggestion regarding the uploading the video signals.

How can I do it? Please give me some suggestions.

Thanks.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a file upload FAQ in the FAQs here; I'd suggest starting there.
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4589
302
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abimaran Kugathasan wrote:I've done the ECG acquiring part, but I need suggestion regarding the uploading the video signals.

Does ECG produce video signals?
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devaka Cooray wrote:
Does ECG produce video signals?


Not a video signal, but the data extract from it(ECG), to be used for visual context. So I do mean it as video signal. But, actually it's a sequence of bits of the acquired waves.

Thanks for helping the question clearly.
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Asking question made the thing easier. Thanks Devaka....

Can I use a data file(for example, a text file) consisting the data to be visualized in a web application?
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4589
302
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Video streaming and uploading a sequence of bits are two different things. You can simply upload the acquired signal sequence as a file (text file, XML, or your own format) to the Servlet. Have a look at FileUpload FAQ for that. Once the file is uploaded to the servlet, visualization or whatever it is supposed to do is up to the business logic you use at server side.
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a user used his own format(in client side), then how can it read in server side?
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4589
302
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not the *user* is using their own file formats. Perhaps, you introduce a new file format as the compatible format for your application, and use your own encoded data structure with it.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I had to display a time-varying signal on a browser I certainly would NOT be playing with video - a great waste of bandwidth and not really useful.

I would use a Java applet to show a CRT-like display of the last N time ticks of the signal, the applet would be polling a servlet for the latest data points on a frequent basis. By storing only the data points, the applet could replay the signal again and again and perform various analysis functions.

Bill
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
Clojure IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for these suggestions....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic