Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Global Multimedia Collaboration System


Published on

  • Be the first to comment

Global Multimedia Collaboration System

  1. 1. Global Multimedia Collaboration System Wenjun Wu Indiana University Bloomington IN 47401 [email_address] http://
  2. 2. Outline <ul><li>Service-Oriented Collaboration </li></ul><ul><li>Current main stream real-time collaboration technologies </li></ul><ul><ul><li>Videoconferencing: H.323, SIP, Access Grid </li></ul></ul><ul><ul><li>Instant messaging & VoIP: MSN/Aol/Yahoo, Jabber, Skype </li></ul></ul><ul><li>Global-MMCS introduction </li></ul>
  3. 3. Service Oriented Collaboration <ul><li>Collaboration has </li></ul><ul><ul><li>Mechanism to set up members (people, devices) of a “collaborative sessions” </li></ul></ul><ul><ul><li>Shared generic tools such as text chat, white boards, audio-video conferencing </li></ul></ul><ul><ul><li>Shared applications such as Web Pages, PowerPoint, Visualization, maps, (medical) instruments …. </li></ul></ul><ul><li>b) and c) are “just shared objects” where objects could be regarded as Web Services </li></ul><ul><li>We can port objects to Web Services and build a general approach for making Web services collaborative </li></ul><ul><li>a) is a “Session Service” which is set up in many different ways </li></ul>
  4. 4. Shared Event in Collaboration <ul><li>All collaboration is about sharing events defining state changes </li></ul><ul><ul><li>Audio/Video conferencing shares events specifying in compressed form audio or video </li></ul></ul><ul><ul><li>Shared display shares events corresponding to change in pixels of a frame buffer </li></ul></ul><ul><ul><li>Instant Messengers share updates to text message streams </li></ul></ul><ul><ul><li>Microsoft events for shared PowerPoint (file replicated between clients) as in Access Grid </li></ul></ul><ul><li>Using Web services allows one to expose update events of all kinds as message streams </li></ul><ul><li>Need publish/subscrib e approach to share messages </li></ul>
  5. 5. Session Service in Collaboration <ul><li>Membership: Participant list </li></ul><ul><li>Role & floor assignment </li></ul><ul><ul><li>Management policy based on shared objects ( audio/video, text, whiteboard, game </li></ul></ul><ul><li>Ad-hoc or formally schedule </li></ul><ul><li>Session is also a “shared meta object” associated with shared objects </li></ul><ul><ul><li>It needs eventing to keep consistent state as well </li></ul></ul>
  6. 6. Multimedia Streaming Service <ul><li>Streaming-In  Stream-Out filter </li></ul><ul><li>process media “events” between a stream source and stream sink; and can be shared </li></ul><ul><li>composite media service is a DAG ( directed acyclic graph) </li></ul><ul><li>common case ~ a filter chain </li></ul><ul><li>QoS(in)  QoS(out) ( bandwidth, delay, jitter,loss) </li></ul><ul><li>for example: video/audio mixing, transcoding, video-audio synchronization </li></ul>
  7. 7. VoIP & Videoconferencing technology
  8. 8. H.323 Introduction <ul><li>Major audio-video standard but broader </li></ul><ul><li>“ Binary” format for both “data” and “control” </li></ul><ul><li>Supported by many commercial vendors and used throughout the world in commercial and educational markets </li></ul><ul><li>Supports small-scale multipoint conferences </li></ul><ul><li>Has conference management functionality and the call signaling functionality </li></ul><ul><li>H.225 ~ call set-up </li></ul><ul><li>H.245 ~ call control </li></ul><ul><li>H.243 ~ Audio/Video multipoint control </li></ul><ul><li>T.120 ~ Data Collaboration </li></ul>
  9. 9. H.323 Protocols <ul><li>H.323 is a “framework” document that describes how the various pieces fit together </li></ul><ul><li>H.225.0 defines the call signaling and communication between endpoints (Call Signaling) and the Gatekeeper (RAS) </li></ul><ul><li>Annex G/H.225.0 defines communication between Border Elements </li></ul><ul><li>H.245/H.243 is the conference control protocol </li></ul><ul><li>T.120 is the data conference protocol </li></ul>
  10. 10. Typical H.323 Stack H.323 IP UDP RTP RTCP TCP/UDP TCP UDP UDP TCP Audio Codecs G.711 G.723.1 G.729 .. Video Codecs H.261 H.263 H.264 .. V.150 T.120 TCP/UDP T.38 H.225.0 Call Signaling H.245 H.225.0 RAS Terminal Control and Management Data Applications Media Control Multimedia Applications, User Interface
  11. 11. H.323 Architecture Gatekeeper (security, QoS, routing etc.) MC MP MCU H.323 Terminal 1 H.323 Terminal 2 H.323 Terminal N .... Packet Switch Network
  12. 12. SIP <ul><li>Initially SIP was designed to solve problems for IP telephony. </li></ul><ul><li>SIP basic functions </li></ul><ul><ul><li>user location resolution, </li></ul></ul><ul><ul><li>capability negotiation </li></ul></ul><ul><ul><li>call management. </li></ul></ul><ul><ul><li>equivalent to the service H.225 and point to point part of H.245 </li></ul></ul><ul><li>The major difference from H.323 </li></ul><ul><ul><li>SIP was designed in a text format and took request-response protocol style like HTTP </li></ul></ul><ul><ul><li>SIP doesn’t define the conference control procedures like multipoint parts of H.245 and T.120. </li></ul></ul>
  13. 13. CINEMA clouds rtspd Gatekeeper SIP H.323 RTSP sipd sipum sip323 SIP-H.323 signaling gateway Conferencing Programmable SIP servers Unified messaging Streaming media Hardware SIP phone Desktop SIP clients sipgw PSTN MGCP SIP-MGCP gateway SIP-PSTN gateway Regular telephones A Integrated SIP Service System: CINEMA From Columbia University Quick-time SIPUA sipc e*phone Netmeeting e*phone sipconf
  14. 14. Sipconf : SIP based Centralized conferencing <ul><li>SIP based conferencing server </li></ul><ul><li>SIP/SDP and RTP/RTCP </li></ul><ul><li>Audio mixing </li></ul><ul><li>Play-out delay algorithm </li></ul><ul><li>Web based conference setup </li></ul><ul><li>G.711 A and Mu law, G.721, DVI ADPCM </li></ul><ul><li>Multiple simultaneous conferences </li></ul>sipc sipconf e*phone SIP323 Netmeeting SIP/PSTN
  15. 15. Summary of H.323/SIP Conferencing Systems <ul><li>Most products are Centralized conferencing system </li></ul><ul><li>MCU integrates the service of media processing service and session management </li></ul><ul><li>Call-based </li></ul><ul><li>A conference call represents control connections between clients and MCUs. </li></ul><ul><li>MCU is just a endpoint connected to VoIP softswitch cloud </li></ul><ul><li>Most vendors offer hardware solutions </li></ul><ul><li>Thought as services and controllers but specialized protocols and implementations; NOT Service-Oriented Architectures! </li></ul><ul><li>Only support small size or medium size meetings ( < 20 sites ) </li></ul>
  16. 16. Access Grid <ul><li>Access Grid : a large scale audio/videoconference based on a multicast network </li></ul><ul><li>provides the group-to-group collaborations among 150 nodes connected to Internet 2 world wide. </li></ul><ul><li>Use improved MBONE audiovisual tools VIC and RAT </li></ul><ul><li>Depends upon high-speed network ( each node needs 20Mbps ) </li></ul><ul><li>Peer to peer architecture for distribution with centralized non standard session control (venue server) </li></ul><ul><li>Did not develop many new capabilities but made existing public domain software better packaged and easier to use </li></ul>
  17. 17. Access Grid II <ul><li>Supports multiple screens and dominates some research communities </li></ul>
  18. 18. Instant Messaging & VoIP
  19. 19. Proprietary IM <ul><li>MSN/Yahoo/AOL </li></ul><ul><ul><li>Ah-hoc small-group collaboration </li></ul></ul><ul><ul><li>Text, audio-video, gaming and others…. </li></ul></ul><ul><ul><li>Remote Presence Service </li></ul></ul><ul><ul><li>( typical publish/subscribe messaging application ) </li></ul></ul><ul><ul><li>Massive “chat servers” running behind to support millions of users across the world </li></ul></ul><ul><ul><li>Limited size of buddy list and multi-party meeting </li></ul></ul><ul><ul><li>Poor/fair quality for audio/video communication </li></ul></ul><ul><ul><li>Close protocol which is unfriendly to third-party developers </li></ul></ul>
  20. 20. Skype <ul><li>Skype: p2p IM&VoIP solution </li></ul><ul><li>gained a big success. </li></ul><ul><ul><li>improving sound quality ( use new iLBC audio codec ) from Global Sound </li></ul></ul><ul><ul><li>Uses a variant of IETF Stun to identify NAT and firewall </li></ul></ul><ul><ul><li>using p2p overlay (Kazaa) rather than expensive, centralized infrastructure. </li></ul></ul><ul><ul><li>provided supplemental features like instant messaging service. </li></ul></ul><ul><ul><li>Free on-net VoIP service and a fee-based off-net SkypeOut service that allows calling to PSTN and cellular phones </li></ul></ul><ul><ul><li>Millions of download and on-line users in the world </li></ul></ul>
  21. 21. Why is Skype so successful? <ul><li>Better voice quality </li></ul><ul><li>excellent audio codec, fancy echo cancellation algorithm </li></ul><ul><li>Global IP Sound ( iLBC audio codec ) </li></ul><ul><li>Ability to work behind firewalls and NAT </li></ul><ul><li>Ease of use ( quite simple UI ) based on IM metaphor </li></ul><ul><li>P2P style without centralized MCU </li></ul><ul><li>any peer that has enough resource can be selected to host the mixing service </li></ul><ul><li>limited the number of participants in a conference ( at most 4 which is common for private social meetings ) </li></ul><ul><li>use p2p overlay to discover resources and route packets </li></ul>
  22. 22. But they are simply not good enough! <ul><li>Although all of these systems have advantages, they are not sufficient for building more advanced and integrated collaboration systems: </li></ul><ul><li>SIP : </li></ul><ul><li>had a huge development recently, especially in wireless world </li></ul><ul><li>very limited supported for conference control </li></ul><ul><li>H.323 : </li></ul><ul><ul><li>AV collaboration and T.120 are not well integrated. </li></ul></ul><ul><ul><li>the AV communication services and T.120 overlay networks don’t have very </li></ul></ul><ul><ul><li>good scalability. </li></ul></ul><ul><ul><li>H.323 and T.120 are designed in a relative complicated OSI model. It is not easy to understand and develop in their APIs </li></ul></ul><ul><ul><li>Most H.323 and SIP conferencing products are based on centralized MCU </li></ul></ul><ul><ul><li>And no way to take full use of private MCU resources </li></ul></ul><ul><ul><li>( Imagine how to use these private MCUs to create a meeting that have thousands of participants ) </li></ul></ul>
  23. 23. But they are simply not good enough! <ul><li>Access Grid </li></ul><ul><li>heavily depends on multicast service and limited number of uni-cast bridge servers in the Internet 2 </li></ul><ul><ul><li>No way to be deployed in current Internet </li></ul></ul><ul><li>Skype : Most promising </li></ul><ul><ul><li>use its own propriety protocols and can’t interoperate with other legacy VoIP clients such as H.323 and SIP </li></ul></ul><ul><ul><li>only support small-scale audio conferencing ( at most 5-party ) and have no video service </li></ul></ul><ul><ul><li>Skype-2 is said to be able to support 10-party in dual-core Intel machines </li></ul></ul><ul><ul><li>Above all, no system can support medium / large size meetings in current Internet and adapt different client devices </li></ul></ul>
  24. 24. What’s the ideal videoconferencing system I <ul><li>A unified, scalable, robust “overlay” network is needed to support AV and data group communication over heterogeneous networking environments </li></ul><ul><ul><li>go through firewall and NAT </li></ul></ul><ul><ul><li>provide group communication service in whatever unicast and multicast networks </li></ul></ul><ul><ul><li>offer reliable data delivery in whatever loss network </li></ul></ul><ul><ul><li>to be configured as P2P or distributed server-based overlay to provide differential services for VIP and regular users </li></ul></ul><ul><li>A service-oriented architecture for hosting media processing service and session control service </li></ul><ul><ul><li>More scalable than centralized MCU </li></ul></ul><ul><ul><li>Support various style of conferencing ( massive scale of broadcasting as well as medium size of private social meetings ) </li></ul></ul><ul><ul><li>Service providers can be highly distributed and p2p </li></ul></ul><ul><ul><li>~ Skype p2p audio mixing </li></ul></ul><ul><ul><li>Scalable service discovery based on p2p search </li></ul></ul><ul><ul><li>Customized media filters for different clients ( PC, PDA, … ) </li></ul></ul>
  25. 25. What’s the ideal videoconferencing system II <ul><li>A core conference control mechanism is required for establishing and managing the multi-point conference </li></ul><ul><ul><li>Complete conference control service like T.124 (Generic Conference Control) in T.120 framework </li></ul></ul><ul><ul><li>more flexible facilities to describe application sessions and entities ( role-based, XML ) for all kinds of collaboration: </li></ul></ul><ul><ul><li>audio/video, game, whiteboard </li></ul></ul><ul><ul><li>Session border management </li></ul></ul><ul><ul><li>Integrate different AV sessions ( H.323 , SIP, Access Grid, RealStreaming … ) </li></ul></ul><ul><ul><li>Simply regard these bridging gateways as “add-on services” </li></ul></ul>
  26. 26. Global-MMCS Service Architecture
  27. 27. XGSP Web Service MCU Architecture Gateways convert to uniform XGSP Messaging High Performance (RTP) and XML/SOAP and .. Use Multiple Media servers to scale to many codecs and many versions of audio/video mixing NB Scales as distributed Web Services NaradaBrokering SIP H323 Access Grid Native XGSP Admire Media Servers Filters Session Server XGSP-based Control NaradaBrokering All Messaging
  28. 28. Break up into “Services” <ul><li>Monolithic MCU becomes many different “Simple Services” </li></ul><ul><ul><li>Session Control </li></ul></ul><ul><ul><li>Thumbnail “image” grabber </li></ul></ul><ul><ul><li>Audio Mixer </li></ul></ul><ul><ul><li>Video Mixer </li></ul></ul><ul><ul><li>Codec Conversion </li></ul></ul><ul><ul><li>Helix Real Streaming </li></ul></ul><ul><ul><li>PDA Conversion </li></ul></ul><ul><ul><li>H323/SIP Session/Signaling Gateways </li></ul></ul><ul><li>As independent can replicate particular services as needed </li></ul><ul><ul><li>Codec conversion might require 20 services for 20 streams spread over 5 machines </li></ul></ul><ul><li>1000 simultaneous users could require: </li></ul><ul><ul><li>1 session controller, 1 audio mixer, 10 video mixers, 20 codec converters, 2 PDA converters and 20 NaradaBrokers </li></ul></ul><ul><li>Support with a stream optimized Grid Farm in the sky </li></ul><ul><ul><li>Future billion way “Video over IP” serving 3G Phones and home media centers/ TV ’s could require a lot of computing </li></ul></ul>
  29. 29. GlobalMMCS and NaradaBrokering <ul><li>All communication – both control and “binary” codecs are handled by NaradaBrokering </li></ul><ul><li>Control uses SOAP and codecs use RTP transport </li></ul><ul><li>Each stream is regarded as a “topic” for NB </li></ul><ul><li>Each RTP packet from this stream is regarded as an “event” for this topic </li></ul><ul><li>Can use replay and persistency support in NB to support archiving and late clients </li></ul><ul><li>Can build customized stream management to administer replay, and who gets what stream in what codec </li></ul><ul><li>NaradaBrokering supports unicast and multicast </li></ul><ul><li>Use firewall penetration and network monitoring services in NB to improve Q0S </li></ul>
  30. 30. NaradaBrokering Stream NB supports messages and streams NB role for Grid is Similar to MPI role for MPP Queues
  31. 31. Incorporating Support for Audio/Video Delivery into NaradaBrokering <ul><li>Added support for an unreliable transport protocol, UDP </li></ul><ul><li>Implemented a fixed size (fast) topic (8 bytes). </li></ul><ul><li>Designed a new compact event with minimum headers. </li></ul><ul><li>Added support for legacy RTP clients (both unicast clients and multicast groups) </li></ul><ul><li>Improved the routing algorithm to handle real-time audio and video stream delivery. </li></ul>
  32. 32. XGSP Conference Control Architecture
  33. 33. XML based General Session Protocol <ul><li>The XGSP conference control includes three services: </li></ul><ul><li>Conference management </li></ul><ul><li>supports user sign-in, user create/terminate/join/leave/invite-into XGSP conferences </li></ul><ul><li>conference calendar service </li></ul><ul><li>Application session management </li></ul><ul><li>provides users with the service for creating/terminating application sessions, managing session related services such as audio/video mixing </li></ul><ul><li>Floor control </li></ul><ul><li>manages the access to shared collaboration resources in different application sessions </li></ul><ul><li>for example, in a large scale of meetings having thousands of people, only limited people are allowed to become presenters so that they can send audio/video </li></ul>
  34. 34. Global-MMCS Community Grid <ul><li>This includes an open source protocol independent Web Service “MCU” which will scale to an arbitrary number of users and provides support for thousands of simultaneous users of collaboration services. </li></ul><ul><li>The function of A/V media server is distributed using NaradaBrokering architecture. </li></ul><ul><ul><li>Media Servers mix and convert A/V streams </li></ul></ul><ul><li>Open XGSP MCU based on the following open source projects </li></ul><ul><ul><li>openh323 is basis of H323 Gateway </li></ul></ul><ul><ul><li>NIST SIP stack is basis of SIP Gateway </li></ul></ul><ul><ul><li>NaradaBrokering is open source messaging </li></ul></ul><ul><ul><li>Java Media Framework basis of Media Servers </li></ul></ul><ul><ul><li>Helix Community http:// for Real Media </li></ul></ul><ul><li> open source release </li></ul>
  35. 35. Audio/Video Meeting Tests for single broker Audio Meeting Tests Video Meeting Tests
  36. 36. Distributed Brokers Tests <ul><li>Going through multiple brokers does not introduce considerable overhead. </li></ul><ul><li>Scalability of the system can be increased almost linearly by adding new brokers </li></ul>
  37. 38. Analysis of the broker network’s performance <ul><li>Test results showed that the broker network can scale well for both single large size meetings and multiple smaller size meetings. </li></ul><ul><li>In large size meetings, the capacity of the broker network is increased with respect to the capacity of the added brokers. </li></ul><ul><li>In multiple smaller size meetings, the distribution of users among brokers are important. Inter-broker stream exchange can reduce the scalability. Few users should not be scattered around the broker network. </li></ul><ul><li>In wide area networks, this videoconferencing system provides many benefits with distributed broker architecture: bandwidth savings, latency savings, and better quality services. </li></ul><ul><li>In summary, thousands of concurrent users can easily be supported in distributed broker settings. </li></ul>
  38. 39. media services computation overhead 90% while 4, 23fps stream producers are running Real Streaming Producer 70% while 50 image grabbers are running Image Grabber 94% while 4 video mixers ( 4-way mixing ) are running Video Mixing 46% while 20 audio mixers ( six active speakers ) are running Audio Mixing Computation Overhead Media Services
  39. 40. Improved JMF Performance Fraction of CPU used versus number of received streams The CIF-size video sequence from a 30-second movie with a lot of motions is streamed to the clients. Each stream is encoded in H.261, and has average bandwidth of 400Kbps and 20 fps. 34% - 35% 62% - 63% 40% - 41% 8 31% - 32% 58% - 59% 35% - 36% 7 27% - 28% 51% - 52% 32% - 33% 6 23% -24% 46% - 47% 26% - 27% 5 17% - 18% 40% - 41% 23% - 24% 4 15% - 16% 33% - 34 % 17% - 18% 3 9% - 10% 24% - 25 % 13% - 14% 2 6% - 7% 15% - 16 % 8% - 9% 1 Fast JMF Client Old JMF Client VIC
  40. 41. Global-mmcs user interface
  41. 43. Polycom, Access Grid and RealVideo views of video-mixed streams using GlobalMMCS
  42. 44. MPEG-4 vs. H.261 <ul><li>We added MPEG4 video to Java Media Framework </li></ul><ul><li>Higher quality and flexible video sizes including distributed pixels </li></ul>
  43. 45. Coupled Diverse Streams <ul><li>GlobalMMCS supports many diverse streams managed by “video system” </li></ul><ul><ul><li>Different audio and video codecs </li></ul></ul><ul><ul><li>Shared display using video codecs (MPEG4 or H261) </li></ul></ul><ul><ul><li>Motion JPEG – stream of images to and from PDA </li></ul></ul><ul><li>NaradaBrokering represents these and other collaborative streams just a “topics”; collaboration from multiple clients subscribing to a topic </li></ul><ul><ul><li>Text Chat </li></ul></ul><ul><ul><li>Traditional lossless codec based shared display </li></ul></ul><ul><ul><li>White boards </li></ul></ul><ul><ul><li>Control streams </li></ul></ul><ul><li>Streams can be linked to provide composite topics </li></ul><ul><ul><li>eSports project linking video streams and real time annotation of any frame </li></ul></ul><ul><ul><li>Can rewind and choose any frame of a real-time stream </li></ul></ul>
  44. 46. eSports Snapshot Master Video Annotation Whiteboard Collaborative Video Annotation Whiteboard Synchronized Replay of archived video and annotation
  45. 47. Esports with sport movies
  46. 48. Integration of PDA, Cell phone and Desktop Grid Access NB Support for optimized PDA Communication
  47. 49. PDA Download video as images
  48. 50. GlobalMMCS Status/Futures I <ul><li>1. New Collaboration tools </li></ul><ul><ul><li>Shared IDL (Visualization), PowerPoint, OpenOffice (Applications need a month or so more) </li></ul></ul><ul><ul><li>SVG game ( stable ) </li></ul></ul><ul><ul><li>Whiteboard ( stable ) </li></ul></ul><ul><ul><li>e-Sport ( prototype) </li></ul></ul><ul><ul><li>Jabber IM client ( prototype) </li></ul></ul><ul><ul><li>XGSP needs extension to support </li></ul></ul><ul><li>2. JMF Audio/Video client ( stable) </li></ul><ul><ul><li>performance enhancement finished </li></ul></ul><ul><ul><li>new codec ( MPEG4-DivX finished; try MPEG4-Xvid and H.264) </li></ul></ul><ul><ul><li>support different platform ( Linux, Mac – Mac well developed but need to chase bug(s) ) </li></ul></ul><ul><ul><li>support NAT/firewall transparently like Skype </li></ul></ul><ul><ul><li>Google Desktop PlugIn (under development ) </li></ul></ul>
  49. 51. GlobalMMCS Status/Futures II <ul><li>3. Replay & Archive (prototype) </li></ul><ul><ul><li>Replay Engine based on NaradaBroker Storage Service </li></ul></ul><ul><ul><li>XGSP-RTSP gateway </li></ul></ul><ul><ul><li>Extend RTSP and NaradaBrokering for Instant Replay </li></ul></ul><ul><li>4. Web Server Portal ( stable) </li></ul><ul><ul><li>Standard calendar service ( iCalendar, vCalendar) </li></ul></ul><ul><ul><li>Flexible conference management </li></ul></ul><ul><ul><li>Need to package UI’s as portlets </li></ul></ul><ul><li>5. Conferencing Media Processing Service ( Stable) </li></ul><ul><ul><li>Support new codec (H.264 ) </li></ul></ul><ul><ul><li>Add DCT domain MPEG4-H.261 transcoder </li></ul></ul><ul><li>6. H.323 Gateway ( Stable) </li></ul><ul><ul><li>Import it to Linux platform </li></ul></ul>
  50. 52. GlobalMMCS Status/Futures III <ul><li>7. RealStreaming Gateway ( Stable ) </li></ul><ul><ul><li>Import it to Linux </li></ul></ul><ul><ul><li>Support Mobile clients </li></ul></ul><ul><li>8. Global-MMCS deployment & test </li></ul><ul><ul><li>Core performance measurements complete </li></ul></ul><ul><ul><li>Test under the setting of multiple NaradaBroker and NAT/Firewall </li></ul></ul><ul><ul><li>support deployment for AFRL, NASA, DOE portals </li></ul></ul><ul><ul><li>test with remote sites </li></ul></ul><ul><li>9. SmartPhone Clients (prototype) </li></ul><ul><li>10. Improved video codec-based shared display </li></ul><ul><li>11. S cheduler of dynamic services sensitive to streaming bandwidth requirement as well as CPU use of codec conversion </li></ul>