JMF API 中文概要1.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
JMF API 中文概要1

?JMF API 中文指导台湾版(2)收藏 JavaTM Media Framework API Guide ???NO.3 ?September 11, 2000   Presenting Time-Based Media with JMF Controlling a Player? ?????? Creating a Player? ?????? Displaying Media Interface Components? ?????? Setting the Playback Rate? ?????? Setting the Start Position? ?????? Preparing to Start? ?????? Starting and Stopping the Presentation? ?????? Releasing Player Resources? Querying a Player? ?????? Getting the Playback Rate? ?????? Getting the Media Time? ?????? Getting the Time-Base Time? ?????? Getting the Duration of the Media Stream? Responding to Media Events? ??????? Implementing the ControllerListener Interface? ?????? Using ControllerAdapter? Synchronizing Multiple Media Streams? ?????? Using a Player to Synchronize Controllers? ?????? Synchronizing Players Directly? Example: Playing an MPEG Movie in an Applet? ????? Overview of PlayerApplet? ????? Initializing the Applet? ????? Controlling the Player? ????? Responding to Media Events? Presenting Media with the MediaPlayer Bean? Presenting RTP Media Streams? ????? Listening for RTP Format Changes?   Presenting Time-Based Media with JMF 以JMF呈現以time-base為主的 Media像是audio或video,我們可以使用 Playback去控制媒體,或是讓使用者用控制面板去控制錄放功能。 如果有多個media streams,要撥放每一個,都需要用單獨的player去撥放;若要同步撥放它們,需要使用一個player物件去控制其他的operation。 Processor是種特殊裝置的player,它可以去處理、控制展示前的媒體資料,不論是使用基本的或較高階的player都需要用到一些methods去管理錄放裝置,MediaPlayer bean是可以提供一個簡單的方法在我們在Applet或Applictation實現media player,當選擇不同的串流媒體時,MediaPlayer bean會自動產生一個新的player。 Controlling a Player 撥放media stream,我們需要先建構一個plyaer,安裝並且準備執行。 Creating a Player 我們可以透過media Manager間接地去建構一個player,首先取得player的元件,並且將它們加至Applet或Application上。如果你需要建立一個新的player,你可以從Manager去呼叫createPlayer 或 createProcessor。Manager使用media URL或MediaLocator去具體的建立一個player,使用URL必須要安裝URLStreamHandler才行,MediaLocator則沒有限制。 Blocking Until a Player is Realized 在Realized狀態下,Player可以呼叫許多methods,當我們呼叫createRealizedPlayer去建立一個Player時,我們可以保證Player是在Realized狀態下;這個method提供一個間單的步驟去建立player。當這個method被呼叫,它會被blocks住直到player完成Realiz

文档评论(0)

yaocen + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档