Video streaming via VB app

Posted on 2007-08-01
Medium Priority
Last Modified: 2013-12-07
One of my clients has the following scenario:

He wants to set up his classes on video so that the students can view them online (not live, just the recorded video and it may be just as a user on his network rather than on an actual web site).  I have a VB app that will allow you to watch videos on Windows Media Player.  He also wants to restrict the usage to one viewing per student, which can easily be controlled by my app.  Students will get a password when they sign up for the course and they then have 6 months to watch the videos.

How do we make this work with a remote workstation where the student dials in, logs into the system and then watches the video?  My biggest concern is that the video is going to a remote desktop that is essentially a dumb terminal.  What do we need to require of the users ion order to make this work?
Question by:gburditt
  • 2
LVL 10

Accepted Solution

sakuya_su earned 1336 total points
ID: 19614714
the very first thing that came to my mind is the Licensing mechanism that come with WMV format files.. I always find them nasty as they track how many times something has been viewed, and can also stop play back. a search on DRM would show you how to go about that..

But the down side to that is it does cost you money, i think its like a monthly license fee or something.

Now, without making your own Muxers and decoders, there is not alot of things you can do to stop it.. I mean if you are just streaming video, someone could easily just save that right off, and without things like DRM, you can play that back anytime you want.

This should explain to you in a more structured way:
LVL 10

Assisted Solution

sakuya_su earned 1336 total points
ID: 19614736
Now one thing I can think of, is downloading the entire file, then ask for a exclusive File Lock on that file so nothing else will be able to access it at all apart from your own process, then play it back within your application (with a embeded player, etc). Then once its completed playing, delete the file, remove the lock.

Now I do not know how a File Lock is done on Visual Basic, but in C++ you can create one by doing:


//You need the old <io.h> header
LVL 10

Assisted Solution

cool12399 earned 664 total points
ID: 21754073
Well, technically speaking a very skilled student can get the video no matter what, for later viewing (including simply looking at cache files, etc).

But to prevent the 'average' user, its an easy solution. Use a webbrowser control to navigate to a 'hidden' website/webpage on the guys website, and on the guys website end, simply track how many times the video has been downloaded. If it has been downloaded more than once, simply print a message that says 'sorry bud, you've already seen this video!'. And of course if you want, you can clean up the cache yourself once the software exits, etc.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question