1 / 13

Development of a Remote Object Webcam Controller (ROWC) using CORBA and JMF

Development of a Remote Object Webcam Controller (ROWC) using CORBA and JMF. Thesis Project University of Arkansas at Little Rock Frank McCown http://www.harding.edu/fmccown/rowc/. Technologies Used. CORBA Middleware for remote method invocations in a heterogeneous environment

duena
Download Presentation

Development of a Remote Object Webcam Controller (ROWC) using CORBA and JMF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Development of a Remote Object Webcam Controller (ROWC) using CORBA and JMF Thesis Project University of Arkansas at Little Rock Frank McCown http://www.harding.edu/fmccown/rowc/

  2. Technologies Used • CORBA • Middleware for remote method invocations in a heterogeneous environment • Java Virtual Machine • Platform independent run-time environment • Java Media Framework (JMF) • API for development and incorporation of time-based media (like audio and video) into Java applications • Real-time Transfer Protocol (RTP) • Quick delivery protocol layered on top of UDP for providing streaming video

  3. System Architecture Streaming video Streaming archived video QuickTime video files Media Server WebCam Processors WebCam Controllers

  4. WebCam Processor • Running on machine with JMF-compatible webcam

  5. WebCam Controller • Can view video from any webcam and any archived video

  6. Media Server • Stores QuickTime video to file • Metadata stored in MS SQLServer

  7. Architectural View

  8. Event Notification • CORBA’s Event Service and Notification Service • Useful in large distributed systems where management and proliferation of events are difficult to control • Distributed Callback Model1 • Client calls method on Server and supplies a callback • Server responds using client’s callback 1D. Schmidt and S. Vinoski, “Distributed Callbacks and Decoupled Communication in CORBA,” C++ Report, vol. 8, October 1996.

  9. Registration Object IDL interface Registration { // Notify MediaServer that a new CamController has started oneway void addCamController(in string hostName, in CamControllerCallback callback); // Notify MediaServer that CamController is going down oneway void removeCamController(in string hostName); // Notify MediaServer that a new CamProcessor is available oneway void addWebCam(in string location); // Notify MediaServer that a CamProcessor is no longer available oneway void removeWebCam(in string location); // Used by CamProcessor to get MediaServer's host name string getServerHostName(); // Return array containing locations of all active CamProcessors StringArray getLocations(); };

  10. CamControllerCallback IDL interface CamControllerCallback { // Notifies all CamControllers that a new CamProcessor is // available oneway void addWebCam(in string location); // Notifies all CamControllers that a CamProcessor is no longer // available oneway void removeWebCam(in string location); };

  11. RegistrationImpl.java public class RegistrationImpl extends rowc.RegistrationPOA { protected Hashtable camControllers; public synchronized void addCamController(String hostName, CamControllerCallback callback) { camControllers.put(hostName, callback); … } public synchronized void addWebCam(String location) { // Notify all webcam controllers of new webcam at given location Enumeration enum = camControllers.elements(); while(enum.hasMoreElements()) { CamControllerCallback callback = (CamControllerCallback)enum.nextElement(); callback.addWebCam(location); } … }

  12. VideoViewer.java This class controls the GUI for the Webcam Controller. public class CamControllerCallbackImpl extends rowc.CamControllerCallbackPOA { // Server notifying us that new webcam is available. Add it to our list of locations. public synchronized void addWebCam(String location) { locationsComboBox.addItem(location); locationsComboBox.repaint(); } … }

  13. For More Information • Thesis, source code, and presentation is available at http://www.harding.edu/fmccown/rowc/

More Related