Sun Java Solaris Communities My SDN Account Join SDN
 
Documentation

1.0 Programmers Guide

 
TOC  Prev  Next  

Version 1.0.5, May 11, 1998

Java Media Framework is being developed by
Sun Microsystems, Inc., Silicon Graphics, Inc., and Intel Corporation

Preface

Java Media Players

1 Overview

Data Sources

Players

Media Events

Player States

Calling JMF Methods

2 Example: Creating an Applet to Play a Media File

Overview of PlayerApplet

PlayerApplet Code Listing

Initializing the Applet

Controlling the Player

Responding to Media Events

3 Creating and Displaying a Player

Creating a Player

Displaying a Player and Player Controls

4 Controlling Media Players

Starting a Player

Stopping a Player

5 Managing Player States

Preparing a Player to Start

Starting and Stopping a Player

Releasing Player Resources

Implementing the ControllerListener Interface

6 Managing Timing

Setting the Media Time

Getting the Current Time

Setting a Player's Rate

Getting a Player's Duration

7 Synchronizing Players

8 Using a Player to Manage and Synchronize other Controllers

Adding a Controller

Managing the Operation of Added Controllers

Removing a Controller

9 Extending JMF

Understanding the Player Architecture

Integrating a New Player Implementation

Implementing a New Data Source

Integrating a New Data Source Implementation

Appendix A:
Java Media Applet

Appendix B:
Sample Data Source Implementation

Appendix C:
Sample Controller Implementation

Appendix D:
ControllerAdapter

TOC  Prev  Next