digadiga for office 2003

Upload: tayyabanuml

Post on 30-May-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 DigaDiga for Office 2003

    1/45

    DIGADIGADIGADIGAVirtualVirtualClassClass

  • 8/14/2019 DigaDiga for Office 2003

    2/45

    CH. NAUMAN BIN NASIRCH. NAUMAN BIN NASIR(03fbs014)

  • 8/14/2019 DigaDiga for Office 2003

    3/45

    INTRODUCTIONINTRODUCTION

  • 8/14/2019 DigaDiga for Office 2003

    4/45

    INTRODUCTIONINTRODUCTION

    Virtual class is actually an application that

    has two parts

    Teachers:Teachers: teachers can make the changes in

    widgets. Like in whiteboard he canwrite/draw.

    Students:Students: students can just see in all thewidgets what is happening. Like inwhiteboard they cannot make any change.

  • 8/14/2019 DigaDiga for Office 2003

    5/45

    INTRODUCTIONINTRODUCTION

    Virtual class is an application through whichstudents can interact in real time with teacherover the internet and intranet. Besides audio andvisual transmission of teacher, virtual class can be

    used to share documents, computer-displayedinformation, and whiteboards.

  • 8/14/2019 DigaDiga for Office 2003

    6/45

    FUNCTIONALFUNCTIONAL

    REQUIREMENTSREQUIREMENTS

  • 8/14/2019 DigaDiga for Office 2003

    7/45

    FUNCTIONAL REQUIREMENTSFUNCTIONAL REQUIREMENTS

    1.1. Video Sharing:Video Sharing: Students can seeteacher's gesture and posture, as it is veryimportant for getting things clear.

    2.2. Audio Sharing: Audio Sharing: Teacher can share

    his/her voice to all students for betterunderstanding.

    3.3. Whiteboard:Whiteboard: Which is a shared drawingspace where teacher can demonstratethings in real time.

  • 8/14/2019 DigaDiga for Office 2003

    8/45

    FUNCTIONAL REQUIREMENTSFUNCTIONAL REQUIREMENTS

    Desktop Sharing:Desktop Sharing: Where teacher can sharehis desktop with his class to describe anyapplication to students more effectively.

    Files Transfer:Files Transfer: A file transfer application for

    sending files. Teacher can send assignments,quizzes and lecture notes to students.Students can send the solutions and otherfiles that they want to discuss with teacher.

  • 8/14/2019 DigaDiga for Office 2003

    9/45

    FUNCTIONAL REQUIREMENTSFUNCTIONAL REQUIREMENTS

    Attendance:Attendance: Automatic attendance of thestudents should be marked.

    List of Students:List of Students: Everybody attending anddelivering the lecture should get the list ofpresent students.

  • 8/14/2019 DigaDiga for Office 2003

    10/45

    PLATFORMSPLATFORMS

  • 8/14/2019 DigaDiga for Office 2003

    11/45

    PLATFORMSPLATFORMS

    Apache Tomcat

    Red5 (RTMP Streaming Server)

    Flash 8.0

    ActionScript 2 (AS2) MySQL

  • 8/14/2019 DigaDiga for Office 2003

    12/45

    DATABASEDATABASE

  • 8/14/2019 DigaDiga for Office 2003

    13/45

    DATABASE (ENTITIES)DATABASE (ENTITIES)

    student:student: carries students information

    teacher:teacher: carries teacher information

    sessionOn:sessionOn: which session are going on now session:session: students in the running session.

    upload:upload: files that are uploaded by teacher

  • 8/14/2019 DigaDiga for Office 2003

    14/45

    RELATIONSHIPRELATIONSHIP

  • 8/14/2019 DigaDiga for Office 2003

    15/45

    RTMP AND RTMP SERVERRTMP AND RTMP SERVER

  • 8/14/2019 DigaDiga for Office 2003

    16/45

    RTMPRTMP

    Real Time Messaging Protocol (RTMP)Real Time Messaging Protocol (RTMP) is aproprietary protocol developed by AdobeSystems for streaming audio, video and dataover the Internet, between a Flash player and

    a server.

  • 8/14/2019 DigaDiga for Office 2003

    17/45

    RTMP SERVERRTMP SERVER

    RTMPRTMP server using Real Time MessagingProtocol handles audio/video streaming, anddata transfer from flash player to other flashplayer.

  • 8/14/2019 DigaDiga for Office 2003

    18/45

    RED5 (RTMP SERVER)RED5 (RTMP SERVER)

    Red5 is an open source Flash RTMP serverwritten in Java that supports:

    Streaming Audio/Video (FLV and MP3)

    Recording Client Streams (FLV only) Shared Objects

    Live Stream Publishing

    Remoting

  • 8/14/2019 DigaDiga for Office 2003

    19/45

    CONNECTION ANDCONNECTION AND

    STREAMSSTREAMS

  • 8/14/2019 DigaDiga for Office 2003

    20/45

    CONNECTIONCONNECTION

    Connection establishes to serverthrough NetConnection class

    The NetConnection class manages a

    bidirectional connection between FlashPlayer and a server, which lets youconnect to Flash Remoting or to FlashMedia Server. Flash Media Server

    enables you to share audio, video, anddata using the Macromedia Real-TimeMessaging Protocol (RTMP).

  • 8/14/2019 DigaDiga for Office 2003

    21/45

    STREAMSSTREAMS

    Stream is a constant delivery of video andaudio to subscriber from provider.

    Streaming in RTMP occurs through aNetStream Class.

    The NetStream class opens a one-waystreaming connection between Client andServer through a connection made availableby a NetConnection object.

  • 8/14/2019 DigaDiga for Office 2003

    22/45

    STRUCTURE OF STREAMINGSTRUCTURE OF STREAMING

    A NetStream object is like a channel inside aNetConnection object; this channel can eitherpublish audio and/or video data.

    Connection

    Stream

    Stream

  • 8/14/2019 DigaDiga for Office 2003

    23/45

    AUDIO/VIDEO SHARINGAUDIO/VIDEO SHARING

  • 8/14/2019 DigaDiga for Office 2003

    24/45

    AUDIO / VIDEOAUDIO / VIDEO

    Receiving and sending of both audio andvideo is same.

    One client publishes the stream to server andserver sends it to everybody connected tothat stream.

  • 8/14/2019 DigaDiga for Office 2003

    25/45

    STRUCTURE OF VIDEO/AUDIOSTRUCTURE OF VIDEO/AUDIO

    SHARINGSHARING

    RTMP Server

    Client Client

    Stream

    (A)

    Stream

    (B) Stream

    (B)

    Stream(A)

  • 8/14/2019 DigaDiga for Office 2003

    26/45

    SHARED WHITEBOARDSHARED WHITEBOARD

  • 8/14/2019 DigaDiga for Office 2003

    27/45

    SHARED WHITEBOARDSHARED WHITEBOARD

    Whiteboard has two parts/ends.

    Teachers End: Teacher can make changes toit using tools available at the side of

    Students End: Students can just see, whatteacher is doing on his end.

  • 8/14/2019 DigaDiga for Office 2003

    28/45

    TEACHERS INTERFACE FOR WHITETEACHERS INTERFACE FOR WHITE

    BOARDBOARD

  • 8/14/2019 DigaDiga for Office 2003

    29/45

    STUDENTS INTERFACE FOR WHITESTUDENTS INTERFACE FOR WHITE

    BOARDBOARD

  • 8/14/2019 DigaDiga for Office 2003

    30/45

    SHARED WHITEBOARDSHARED WHITEBOARD

    Shared whiteboard works using sharedobjects.

    Teacher puts the data in shared objects andall the attendee pick the new information and

    update there whiteboard.

  • 8/14/2019 DigaDiga for Office 2003

    31/45

    SHARED OBJECTSSHARED OBJECTS

  • 8/14/2019 DigaDiga for Office 2003

    32/45

    SHARED OBJECTSSHARED OBJECTS

    Shared-objects enable Flash movies tosave data which persists across multiplesessions.

    Shared objects are of two types :

    1) Local shared objects.

    2) Remote shared objects.

  • 8/14/2019 DigaDiga for Office 2003

    33/45

    LOCAL SHARED OBJECTSLOCAL SHARED OBJECTS

    Local shared objects are sometimes referredas Flash cookies.

    Local shared objects are stored to the usershard drive.

  • 8/14/2019 DigaDiga for Office 2003

    34/45

    REMOTE SHARED OBJECTSREMOTE SHARED OBJECTS

    Remote shared objects are stored on theCommunication server. So that, everybodyconnected to the application can use it.

    It can be of two types

    1) Persistent.

    2) Non-Persistent.

  • 8/14/2019 DigaDiga for Office 2003

    35/45

    PERSISTENT SHARED OBJECTSPERSISTENT SHARED OBJECTS

    If a shared object is declared persistent theserver keeps the value of object.

    When all the clients disconnected from theserver even then server do not flush the

    values of persistent shared objects.These types of shared objects can help us in

    many situations. Where we want absentattendees to get the same lecture

    afterwards.

  • 8/14/2019 DigaDiga for Office 2003

    36/45

    NON-PERSISTENT SHAREDNON-PERSISTENT SHARED

    OBJECTSOBJECTS

    As by name it is clear that, this kind ofshared objects are opposite to the persistentshared objects.

    Server do not save the value of Non-

    Persistent shared objects. When all clients checked out from the server,

    server flushes the value of this kind of sharedobjects.

  • 8/14/2019 DigaDiga for Office 2003

    37/45

    WORKING OF WHITEBOARDWORKING OF WHITEBOARD

  • 8/14/2019 DigaDiga for Office 2003

    38/45

    TEACHERS ENDTEACHERS END

    Teacher can select any of the tool from toolbar, to draw rectangle, filled rectangle, circle,line, free hand writing to do the appropriatetask for the application.

    After selection teacher click and drag withinthe working area (white surface), to draw theselected object on board.

    Adjusts the size according to the requirement

    and release the mouse to paste the objectthere.

    As the mouse releases all the attendeesconnected to the session will see the changeon the board.

  • 8/14/2019 DigaDiga for Office 2003

    39/45

    SHARING OF WHITE BOARDSHARING OF WHITE BOARD

    OBJECTSOBJECTS

    This sharing of objects just send 1 or 2 points toserver, this do not over load the bandwidth.

    For Example: if teacher draws rectangle, teachersend of shared board will send two points, color, linethickness and a flag to shared object on the server.

    COLOR

    (x1,y1)

    (x2,y2)

    Flag = filledRectangle

  • 8/14/2019 DigaDiga for Office 2003

    40/45

    SHARING OF WHITE BOARDSHARING OF WHITE BOARD

    OBJECTSOBJECTS

    Student end will get the changes in shared board fromthe server and draws, the rectangle using thespecifications it got from the shared object.

    COLOR

    (x1,y1)

    (x2,y2)

    Flag = filledRectangle

    (x2,y1)

    (x1,y2)

  • 8/14/2019 DigaDiga for Office 2003

    41/45

    STUDENTS PRESENTSTUDENTS PRESENT

  • 8/14/2019 DigaDiga for Office 2003

    42/45

    LIST OF PRESENT STUDENTSLIST OF PRESENT STUDENTS

    All the attendees including teacher will getthe list of everybody connected to thesession.

    When a new person enters the session all the

    connected people will get his name alongwith the picture in the list at on side.

    This list is working using AJAX and PHP.

    When a person gets connected, System

    makes an entry in database. After every 10 secs system sends request to

    database using AJAX and displays the resultin the list.

  • 8/14/2019 DigaDiga for Office 2003

    43/45

    ARC

    HITECTU

    RE

  • 8/14/2019 DigaDiga for Office 2003

    44/45

    SCREEN SHOT OF THE SYSTEMSCREEN SHOT OF THE SYSTEM

  • 8/14/2019 DigaDiga for Office 2003

    45/45

    THANKSTHANKS Presenter:Ch. Nauman bin Nasir