Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: StreamingDemo Download
 Description: 第一步: 声明两个Player,分别由两个独立的线程掌控着; 第二步: HttpConnection开始向服务器请求该audio文件的第一部分字节,我们定这次读取的字节数为18KB; 第三步: 等第一部分数据到位后,Player A开始realize和prefetch,并开始播放; 第四步: 在Player A播放同时,(18KB的amr数据可以播放10秒钟),HttpConnection继续请求第二部分数据(假设GPRS每秒钟传输3KB,那么18KB需要传输6秒,算上前后通讯损失的时间,应该不会超过10秒钟); 第五步: 第二部分数据到位后,假设Player A还没有播放完(这需要调整你的每一部份数据字节数来使得假设成立),那么将数据喂给Player B让它realize和prefetch; 第六步: Player A播放完后,得到事件通知,于是让Player B开始播放。 如此往复。
 Downloaders recently: [More information of uploader msgshy]
 To Search:
File list (Check if you may need any files):
StreamingDemo\.classpath
.............\.eclipseme
.............\.project
.............\StreamingDemo.jad
.............\verified\classes\.classpath
.............\........\.......\.eclipseme
.............\........\.......\.project
.............\........\.......\res\icons\command.png
.............\........\.......\...\.....\logo.png
.............\........\.......\com\ultrapower\view\FormPlayer$FormListener.class
.............\........\.......\...\..........\....\FormPlayer.class
.............\........\.......\...\..........\model\Audio.class
.............\........\.......\...\..........\.....\NonInteractiveGaugeRunnable.class
.............\........\.......\...\..........\.....\ThreadPlayMain.class
.............\........\.......\...\..........\.idlet\StreamingDemo.class
.............\........\.......\...\..........\control\GUIController$EventID.class
.............\........\.......\...\..........\.......\GUIController.class
.............\........\.......\...\..........\..mmon\CommandResources.class
.............\........\.......\.settings\org.eclipse.jdt.core.prefs
.............\src\com\ultrapower\view\FormPlayer.java
.............\...\...\..........\model\Audio.java
.............\...\...\..........\.....\NonInteractiveGaugeRunnable.java
.............\...\...\..........\.....\ThreadPlayMain.java
.............\...\...\..........\.idlet\StreamingDemo.java
.............\...\...\..........\control\GUIController.java
.............\...\...\..........\..mmon\CommandResources.java
.............\res\icons\command.png
.............\...\.....\logo.png
.............\deployed\StreamingDemo.jad
.............\........\StreamingDemo.jar
.............\bin\.classpath
.............\...\.eclipseme
.............\...\.project
.............\...\StreamingDemo.jad
.............\...\res\icons\command.png
.............\...\...\.....\logo.png
.............\...\com\ultrapower\view\FormPlayer$FormListener.class
.............\...\...\..........\....\FormPlayer.class
.............\...\...\..........\model\Audio.class
.............\...\...\..........\.....\NonInteractiveGaugeRunnable.class
.............\...\...\..........\.....\ThreadPlayMain.class
.............\...\...\..........\.idlet\StreamingDemo.class
.............\...\...\..........\control\GUIController$EventID.class
.............\...\...\..........\.......\GUIController.class
.............\...\...\..........\..mmon\CommandResources.class
.............\...\.settings\org.eclipse.jdt.core.prefs
.............\.settings\org.eclipse.jdt.core.prefs
.............\verified\classes\jp\jayf\framework\io
.............\........\.......\..\....\framework
.............\........\.......\com\ultrapower\view
.............\........\.......\...\..........\model
.............\........\.......\...\..........\midlet
.............\........\.......\...\..........\control
.............\........\.......\...\..........\common
.............\........\.......\res\icons
.............\........\.......\jp\jayf
.............\........\.......\com\ultrapower
.............\src\com\ultrapower\view
.............\...\...\..........\model
.............\...\...\..........\midlet
.............\...\...\..........\control
.............\...\...\..........\common
.............\bin\com\ultrapower\view
.............\...\...\..........\model
.............\...\...\..........\midlet
.............\...\...\..........\control
.............\...\...\..........\common
.............\verified\classes\res
.............\........\.......\jp
.............\........\.......\com
.............\........\.......\.settings
.............\src\com\ultrapower
.............\bin\res\icons
.............\...\com\ultrapower
.............\verified\libs
.............\........\classes
.............\src\com
.............\res\icons
.............\bin\res
.............\...\com
.............\...\.settings
.............\verified
.............\src
.............\res
.............\deployed
.............\bin
.............\.settings
StreamingDemo
    

CodeBus www.codebus.net