[android-developers] Re: Audio streaming/progressive download over HTTP

2009-05-11 Thread Dilli

Hi Dave Sparks,

According to above discussion
raw aac file format not supported in the android.

If i send RTP packets which contains AAC audio frame in mp4a-latm
format , then the android will capable to play the stream ?

i am using android sdk  android-sdk-windows-1.0_r2



On Apr 23, 10:16 pm, Dave Sparks davidspa...@android.com wrote:
 I'm not sure which reference you a referring to, but MPEG4-SP decode
 is supported.

 Encoding implies streaming upload, but the subject of this thread is
 download, not upload. If you are asking about RTSP upload streaming,
 that is not supported in any format today.

 On Apr 23, 12:02 am, tainy tainy.zh...@gmail.com wrote:

  what is more:

  according to media-formats.html in the reference, MPEG4 SP is not
  supported for both encoding and decoding,
  so how can it support streaming?
  quite confusing.

  On 4月23日, 上午7时59分, Dave Sparks davidspa...@android.com wrote:

   Progressive streaming using HTTP is well-supported.

   RTSP support isn't great yet, but it will get better with the 1.5
   release (Cupcake), which fixes the 302 redirect problem. There may be
   some issues with RTSP and H.264 - we found some issues with the
   hardware codec late in the test cycle that we're too risky to fix. H.
   263 and MPEG4-SP should work pretty well.

   The caveat with RTSP is that carriers may block the streams.

   On Apr 22, 2:04 am, tainy tainy.zh...@gmail.com wrote:

Hi Dave:

for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
right?
what about video streaming? I found no place saying that is not
supported, but someone said video streaming is not available by now.
and if it will be supported, what format will be ok for streaming?
thanks!

tainy

On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:

 AAC inside an MP4 file is fine. There is no support for raw AAC
 streams.

 On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:

  When you say no support for AAC, does it mean no AAC support for
  pure audio stream?
  Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
  channel?

  On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

   We don't have an API for progressive download yet. Technically, 
   the
   website should say progressivestreaming, but from a file 
   authoring
   perspective there is no distinction between the two.

   RTSP support is only available for MPEG-4 file formats. There is 
   no
   support for raw AMR, AAC, or MP3 streams.

   On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

Hi All,

I have a couple questions regarding audiostreaming/progressive
download over
HTTP. Could you please help me?

1. MediaPlayer supports progressive download according to the
developer guide from
this 
linkhttp://developer.android.com/guide/topics/media/index.html
(If you're
passing a URL to an online media file, the file must be capable 
of
progressive
download.). As far as I understand progressive download means 
media
playback during
download process with saving the media file to file system(SD 
card or
internal FS) after
the downloading is finished (if it's a file, not a stream in the
passed URL).
So, I tried to set the following URL: setDataSource
(http://84.204.154.49/mmapi/music.mp3). Playback is fine, but 
the file
isn't saved to
SD card or internal phone file system. Can MediaPlayer save 
media
content to the file system
after downloading is completed? Is there a way to turn on such
capability?

2. Does MediaPlayer support HTTPstreaming? I tried to 
usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
also AMR-, AAC-
audio stream over HTTP on the local server, but playback does 
not
work. For example,
RTSPstreamingworks fine with AMR and AAC.

Thank you,
   Alexander- 隐藏被引用文字 -

 - 显示引用的文字 -- 隐藏被引用文字 -

   - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-05-11 Thread David Liu

I'm currently using the MediaPlayer class to play some files. However,
it seems that whenever I seek back and forth, it needs to re-download
and buffer parts it has already played.

Is this what you mean by no progressive download yet?

On Apr 14, 2:56 pm, Dave Sparks davidspa...@android.com wrote:
 We don't have an API for progressive download yet. Technically, the
 website should say progressive streaming, but from a file authoring
 perspective there is no distinction between the two.

 RTSP support is only available for MPEG-4 file formats. There is no
 support for raw AMR, AAC, or MP3 streams.

 On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

  Hi All,

  I have a couple questions regarding audio streaming/progressive
  download over
  HTTP. Could you please help me?

  1. MediaPlayer supports progressive download according to the
  developer guide from
  this linkhttp://developer.android.com/guide/topics/media/index.html
  (If you're
  passing a URL to an online media file, the file must be capable of
  progressive
  download.). As far as I understand progressive download means media
  playback during
  download process with saving the media file to file system(SD card or
  internal FS) after
  the downloading is finished (if it's a file, not a stream in the
  passed URL).
  So, I tried to set the following URL: setDataSource
  (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file
  isn't saved to
  SD card or internal phone file system. Can MediaPlayer save media
  content to the file system
  after downloading is completed? Is there a way to turn on such
  capability?

  2. Does MediaPlayer support HTTP streaming? I tried to 
  usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
  also AMR-, AAC-
  audio stream over HTTP on the local server, but playback does not
  work. For example,
  RTSP streaming works fine with AMR and AAC.

  Thank you,
     Alexander

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-23 Thread tainy

what is more:

according to media-formats.html in the reference, MPEG4 SP is not
supported for both encoding and decoding,
so how can it support streaming?
quite confusing.

On 4月23日, 上午7时59分, Dave Sparks davidspa...@android.com wrote:
 Progressive streaming using HTTP is well-supported.

 RTSP support isn't great yet, but it will get better with the 1.5
 release (Cupcake), which fixes the 302 redirect problem. There may be
 some issues with RTSP and H.264 - we found some issues with the
 hardware codec late in the test cycle that we're too risky to fix. H.
 263 and MPEG4-SP should work pretty well.

 The caveat with RTSP is that carriers may block the streams.

 On Apr 22, 2:04 am, tainy tainy.zh...@gmail.com wrote:



  Hi Dave:

  for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
  right?
  what about video streaming? I found no place saying that is not
  supported, but someone said video streaming is not available by now.
  and if it will be supported, what format will be ok for streaming?
  thanks!

  tainy

  On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:

   AAC inside an MP4 file is fine. There is no support for raw AAC
   streams.

   On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:

When you say no support for AAC, does it mean no AAC support for
pure audio stream?
Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
channel?

On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

 We don't have an API for progressive download yet. Technically, the
 website should say progressivestreaming, but from a file authoring
 perspective there is no distinction between the two.

 RTSP support is only available for MPEG-4 file formats. There is no
 support for raw AMR, AAC, or MP3 streams.

 On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

  Hi All,

  I have a couple questions regarding audiostreaming/progressive
  download over
  HTTP. Could you please help me?

  1. MediaPlayer supports progressive download according to the
  developer guide from
  this linkhttp://developer.android.com/guide/topics/media/index.html
  (If you're
  passing a URL to an online media file, the file must be capable of
  progressive
  download.). As far as I understand progressive download means media
  playback during
  download process with saving the media file to file system(SD card 
  or
  internal FS) after
  the downloading is finished (if it's a file, not a stream in the
  passed URL).
  So, I tried to set the following URL: setDataSource
  (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the 
  file
  isn't saved to
  SD card or internal phone file system. Can MediaPlayer save media
  content to the file system
  after downloading is completed? Is there a way to turn on such
  capability?

  2. Does MediaPlayer support HTTPstreaming? I tried to 
  usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
  also AMR-, AAC-
  audio stream over HTTP on the local server, but playback does not
  work. For example,
  RTSPstreamingworks fine with AMR and AAC.

  Thank you,
 Alexander- 隐藏被引用文字 -

   - 显示引用的文字 -- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-23 Thread Dave Sparks

There is currently no support for Flash in Android.

On Apr 22, 7:37 pm, tainy tainy.zh...@gmail.com wrote:
 Thanks a lof , Dave.

 So I can use http streaming on H.264/H.263/MPEG4-SP
and use rtsp streaming on H.263/MPEG4-SP,  the issue with H.264
 will be fixed
 thanks for your work.

 what is more, how about the support for flash video(flv)? Do you know
 anything about that? and will it being supported for streaming?

 tainy

 On 4月23日, 上午7时59分, Dave Sparks davidspa...@android.com wrote:

  Progressive streaming using HTTP is well-supported.

  RTSP support isn't great yet, but it will get better with the 1.5
  release (Cupcake), which fixes the 302 redirect problem. There may be
  some issues with RTSP and H.264 - we found some issues with the
  hardware codec late in the test cycle that we're too risky to fix. H.
  263 and MPEG4-SP should work pretty well.

  The caveat with RTSP is that carriers may block the streams.

  On Apr 22, 2:04 am, tainy tainy.zh...@gmail.com wrote:

   Hi Dave:

   for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
   right?
   what about video streaming? I found no place saying that is not
   supported, but someone said video streaming is not available by now.
   and if it will be supported, what format will be ok for streaming?
   thanks!

   tainy

   On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:

AAC inside an MP4 file is fine. There is no support for raw AAC
streams.

On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:

 When you say no support for AAC, does it mean no AAC support for
 pure audio stream?
 Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
 channel?

 On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

  We don't have an API for progressive download yet. Technically, the
  website should say progressivestreaming, but from a file authoring
  perspective there is no distinction between the two.

  RTSP support is only available for MPEG-4 file formats. There is no
  support for raw AMR, AAC, or MP3 streams.

  On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

   Hi All,

   I have a couple questions regarding audiostreaming/progressive
   download over
   HTTP. Could you please help me?

   1. MediaPlayer supports progressive download according to the
   developer guide from
   this 
   linkhttp://developer.android.com/guide/topics/media/index.html
   (If you're
   passing a URL to an online media file, the file must be capable of
   progressive
   download.). As far as I understand progressive download means 
   media
   playback during
   download process with saving the media file to file system(SD 
   card or
   internal FS) after
   the downloading is finished (if it's a file, not a stream in the
   passed URL).
   So, I tried to set the following URL: setDataSource
   (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the 
   file
   isn't saved to
   SD card or internal phone file system. Can MediaPlayer save media
   content to the file system
   after downloading is completed? Is there a way to turn on such
   capability?

   2. Does MediaPlayer support HTTPstreaming? I tried to 
   usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
   also AMR-, AAC-
   audio stream over HTTP on the local server, but playback does not
   work. For example,
   RTSPstreamingworks fine with AMR and AAC.

   Thank you,
  Alexander- 隐藏被引用文字 -

- 显示引用的文字 -- 隐藏被引用文字 -

  - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-23 Thread tainy

Thank you Dave

I have checked the newest version of android supported Media Formats
 and found that MEPG4 SP is is Decoder supported.

And what I am asking here is all about downloading:-)

Best regards!

tainy

On 4月24日, 上午1时16分, Dave Sparks davidspa...@android.com wrote:
 I'm not sure which reference you a referring to, but MPEG4-SP decode
 is supported.

 Encoding implies streaming upload, but the subject of this thread is
 download, not upload. If you are asking about RTSP upload streaming,
 that is not supported in any format today.

 On Apr 23, 12:02 am, tainy tainy.zh...@gmail.com wrote:



  what is more:

  according to media-formats.html in the reference, MPEG4 SP is not
  supported for both encoding and decoding,
  so how can it support streaming?
  quite confusing.

  On 4月23日, 上午7时59分, Dave Sparks davidspa...@android.com wrote:

   Progressive streaming using HTTP is well-supported.

   RTSP support isn't great yet, but it will get better with the 1.5
   release (Cupcake), which fixes the 302 redirect problem. There may be
   some issues with RTSP and H.264 - we found some issues with the
   hardware codec late in the test cycle that we're too risky to fix. H.
   263 and MPEG4-SP should work pretty well.

   The caveat with RTSP is that carriers may block the streams.

   On Apr 22, 2:04 am, tainy tainy.zh...@gmail.com wrote:

Hi Dave:

for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
right?
what about video streaming? I found no place saying that is not
supported, but someone said video streaming is not available by now.
and if it will be supported, what format will be ok for streaming?
thanks!

tainy

On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:

 AAC inside an MP4 file is fine. There is no support for raw AAC
 streams.

 On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:

  When you say no support for AAC, does it mean no AAC support for
  pure audio stream?
  Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
  channel?

  On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

   We don't have an API for progressive download yet. Technically, 
   the
   website should say progressivestreaming, but from a file 
   authoring
   perspective there is no distinction between the two.

   RTSP support is only available for MPEG-4 file formats. There is 
   no
   support for raw AMR, AAC, or MP3 streams.

   On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

Hi All,

I have a couple questions regarding audiostreaming/progressive
download over
HTTP. Could you please help me?

1. MediaPlayer supports progressive download according to the
developer guide from
this 
linkhttp://developer.android.com/guide/topics/media/index.html
(If you're
passing a URL to an online media file, the file must be capable 
of
progressive
download.). As far as I understand progressive download means 
media
playback during
download process with saving the media file to file system(SD 
card or
internal FS) after
the downloading is finished (if it's a file, not a stream in the
passed URL).
So, I tried to set the following URL: setDataSource
(http://84.204.154.49/mmapi/music.mp3). Playback is fine, but 
the file
isn't saved to
SD card or internal phone file system. Can MediaPlayer save 
media
content to the file system
after downloading is completed? Is there a way to turn on such
capability?

2. Does MediaPlayer support HTTPstreaming? I tried to 
usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
also AMR-, AAC-
audio stream over HTTP on the local server, but playback does 
not
work. For example,
RTSPstreamingworks fine with AMR and AAC.

Thank you,
   Alexander- 隐藏被引用文字 -

 - 显示引用的文字 -- 隐藏被引用文字 -

   - 显示引用的文字 -- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-22 Thread tainy

Hi Dave:

for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
right?
what about video streaming? I found no place saying that is not
supported, but someone said video streaming is not available by now.
and if it will be supported, what format will be ok for streaming?
thanks!

tainy

On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:
 AAC inside an MP4 file is fine. There is no support for raw AAC
 streams.

 On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:



  When you say no support for AAC, does it mean no AAC support for
  pure audio stream?
  Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
  channel?

  On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

   We don't have an API for progressive download yet. Technically, the
   website should say progressivestreaming, but from a file authoring
   perspective there is no distinction between the two.

   RTSP support is only available for MPEG-4 file formats. There is no
   support for raw AMR, AAC, or MP3 streams.

   On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

Hi All,

I have a couple questions regarding audiostreaming/progressive
download over
HTTP. Could you please help me?

1. MediaPlayer supports progressive download according to the
developer guide from
this linkhttp://developer.android.com/guide/topics/media/index.html
(If you're
passing a URL to an online media file, the file must be capable of
progressive
download.). As far as I understand progressive download means media
playback during
download process with saving the media file to file system(SD card or
internal FS) after
the downloading is finished (if it's a file, not a stream in the
passed URL).
So, I tried to set the following URL: setDataSource
(http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file
isn't saved to
SD card or internal phone file system. Can MediaPlayer save media
content to the file system
after downloading is completed? Is there a way to turn on such
capability?

2. Does MediaPlayer support HTTPstreaming? I tried to 
usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
also AMR-, AAC-
audio stream over HTTP on the local server, but playback does not
work. For example,
RTSPstreamingworks fine with AMR and AAC.

Thank you,
   Alexander- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-22 Thread Dave Sparks

Progressive streaming using HTTP is well-supported.

RTSP support isn't great yet, but it will get better with the 1.5
release (Cupcake), which fixes the 302 redirect problem. There may be
some issues with RTSP and H.264 - we found some issues with the
hardware codec late in the test cycle that we're too risky to fix. H.
263 and MPEG4-SP should work pretty well.

The caveat with RTSP is that carriers may block the streams.

On Apr 22, 2:04 am, tainy tainy.zh...@gmail.com wrote:
 Hi Dave:

 for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
 right?
 what about video streaming? I found no place saying that is not
 supported, but someone said video streaming is not available by now.
 and if it will be supported, what format will be ok for streaming?
 thanks!

 tainy

 On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:

  AAC inside an MP4 file is fine. There is no support for raw AAC
  streams.

  On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:

   When you say no support for AAC, does it mean no AAC support for
   pure audio stream?
   Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
   channel?

   On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

We don't have an API for progressive download yet. Technically, the
website should say progressivestreaming, but from a file authoring
perspective there is no distinction between the two.

RTSP support is only available for MPEG-4 file formats. There is no
support for raw AMR, AAC, or MP3 streams.

On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

 Hi All,

 I have a couple questions regarding audiostreaming/progressive
 download over
 HTTP. Could you please help me?

 1. MediaPlayer supports progressive download according to the
 developer guide from
 this linkhttp://developer.android.com/guide/topics/media/index.html
 (If you're
 passing a URL to an online media file, the file must be capable of
 progressive
 download.). As far as I understand progressive download means media
 playback during
 download process with saving the media file to file system(SD card or
 internal FS) after
 the downloading is finished (if it's a file, not a stream in the
 passed URL).
 So, I tried to set the following URL: setDataSource
 (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file
 isn't saved to
 SD card or internal phone file system. Can MediaPlayer save media
 content to the file system
 after downloading is completed? Is there a way to turn on such
 capability?

 2. Does MediaPlayer support HTTPstreaming? I tried to 
 usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
 also AMR-, AAC-
 audio stream over HTTP on the local server, but playback does not
 work. For example,
 RTSPstreamingworks fine with AMR and AAC.

 Thank you,
Alexander- 隐藏被引用文字 -

  - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-22 Thread tainy

Thanks a lof , Dave.

So I can use http streaming on H.264/H.263/MPEG4-SP
   and use rtsp streaming on H.263/MPEG4-SP,  the issue with H.264
will be fixed
thanks for your work.

what is more, how about the support for flash video(flv)? Do you know
anything about that? and will it being supported for streaming?

tainy

On 4月23日, 上午7时59分, Dave Sparks davidspa...@android.com wrote:
 Progressive streaming using HTTP is well-supported.

 RTSP support isn't great yet, but it will get better with the 1.5
 release (Cupcake), which fixes the 302 redirect problem. There may be
 some issues with RTSP and H.264 - we found some issues with the
 hardware codec late in the test cycle that we're too risky to fix. H.
 263 and MPEG4-SP should work pretty well.

 The caveat with RTSP is that carriers may block the streams.

 On Apr 22, 2:04 am, tainy tainy.zh...@gmail.com wrote:



  Hi Dave:

  for audio streaming, only MPEG-4(AAC LC/LTP decoding) is supported,
  right?
  what about video streaming? I found no place saying that is not
  supported, but someone said video streaming is not available by now.
  and if it will be supported, what format will be ok for streaming?
  thanks!

  tainy

  On 4月16日, 上午3时40分, Dave Sparks davidspa...@android.com wrote:

   AAC inside an MP4 file is fine. There is no support for raw AAC
   streams.

   On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:

When you say no support for AAC, does it mean no AAC support for
pure audio stream?
Can we use rtspstreamingwith a MPEG-4 video containing an AAC audio
channel?

On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

 We don't have an API for progressive download yet. Technically, the
 website should say progressivestreaming, but from a file authoring
 perspective there is no distinction between the two.

 RTSP support is only available for MPEG-4 file formats. There is no
 support for raw AMR, AAC, or MP3 streams.

 On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

  Hi All,

  I have a couple questions regarding audiostreaming/progressive
  download over
  HTTP. Could you please help me?

  1. MediaPlayer supports progressive download according to the
  developer guide from
  this linkhttp://developer.android.com/guide/topics/media/index.html
  (If you're
  passing a URL to an online media file, the file must be capable of
  progressive
  download.). As far as I understand progressive download means media
  playback during
  download process with saving the media file to file system(SD card 
  or
  internal FS) after
  the downloading is finished (if it's a file, not a stream in the
  passed URL).
  So, I tried to set the following URL: setDataSource
  (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the 
  file
  isn't saved to
  SD card or internal phone file system. Can MediaPlayer save media
  content to the file system
  after downloading is completed? Is there a way to turn on such
  capability?

  2. Does MediaPlayer support HTTPstreaming? I tried to 
  usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
  also AMR-, AAC-
  audio stream over HTTP on the local server, but playback does not
  work. For example,
  RTSPstreamingworks fine with AMR and AAC.

  Thank you,
 Alexander- 隐藏被引用文字 -

   - 显示引用的文字 -- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-15 Thread patrick

When you say no support for AAC, does it mean no AAC support for
pure audio stream?
Can we use rtsp streaming with a MPEG-4 video containing an AAC audio
channel?

On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:
 We don't have an API for progressive download yet. Technically, the
 website should say progressive streaming, but from a file authoring
 perspective there is no distinction between the two.

 RTSP support is only available for MPEG-4 file formats. There is no
 support for raw AMR, AAC, or MP3 streams.

 On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

  Hi All,

  I have a couple questions regarding audio streaming/progressive
  download over
  HTTP. Could you please help me?

  1. MediaPlayer supports progressive download according to the
  developer guide from
  this linkhttp://developer.android.com/guide/topics/media/index.html
  (If you're
  passing a URL to an online media file, the file must be capable of
  progressive
  download.). As far as I understand progressive download means media
  playback during
  download process with saving the media file to file system(SD card or
  internal FS) after
  the downloading is finished (if it's a file, not a stream in the
  passed URL).
  So, I tried to set the following URL: setDataSource
  (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file
  isn't saved to
  SD card or internal phone file system. Can MediaPlayer save media
  content to the file system
  after downloading is completed? Is there a way to turn on such
  capability?

  2. Does MediaPlayer support HTTP streaming? I tried to 
  usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
  also AMR-, AAC-
  audio stream over HTTP on the local server, but playback does not
  work. For example,
  RTSP streaming works fine with AMR and AAC.

  Thank you,
     Alexander
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-15 Thread Dave Sparks

AAC inside an MP4 file is fine. There is no support for raw AAC
streams.

On Apr 15, 5:53 am, patrick patrick.boul...@gmail.com wrote:
 When you say no support for AAC, does it mean no AAC support for
 pure audio stream?
 Can we use rtsp streaming with a MPEG-4 video containing an AAC audio
 channel?

 On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote:

  We don't have an API for progressive download yet. Technically, the
  website should say progressive streaming, but from a file authoring
  perspective there is no distinction between the two.

  RTSP support is only available for MPEG-4 file formats. There is no
  support for raw AMR, AAC, or MP3 streams.

  On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:

   Hi All,

   I have a couple questions regarding audio streaming/progressive
   download over
   HTTP. Could you please help me?

   1. MediaPlayer supports progressive download according to the
   developer guide from
   this linkhttp://developer.android.com/guide/topics/media/index.html
   (If you're
   passing a URL to an online media file, the file must be capable of
   progressive
   download.). As far as I understand progressive download means media
   playback during
   download process with saving the media file to file system(SD card or
   internal FS) after
   the downloading is finished (if it's a file, not a stream in the
   passed URL).
   So, I tried to set the following URL: setDataSource
   (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file
   isn't saved to
   SD card or internal phone file system. Can MediaPlayer save media
   content to the file system
   after downloading is completed? Is there a way to turn on such
   capability?

   2. Does MediaPlayer support HTTP streaming? I tried to 
   usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
   also AMR-, AAC-
   audio stream over HTTP on the local server, but playback does not
   work. For example,
   RTSP streaming works fine with AMR and AAC.

   Thank you,
      Alexander
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-14 Thread Dave Sparks

We don't have an API for progressive download yet. Technically, the
website should say progressive streaming, but from a file authoring
perspective there is no distinction between the two.

RTSP support is only available for MPEG-4 file formats. There is no
support for raw AMR, AAC, or MP3 streams.

On Apr 14, 1:12 pm, Alexander forw...@mail.ru wrote:
 Hi All,

 I have a couple questions regarding audio streaming/progressive
 download over
 HTTP. Could you please help me?

 1. MediaPlayer supports progressive download according to the
 developer guide from
 this linkhttp://developer.android.com/guide/topics/media/index.html
 (If you're
 passing a URL to an online media file, the file must be capable of
 progressive
 download.). As far as I understand progressive download means media
 playback during
 download process with saving the media file to file system(SD card or
 internal FS) after
 the downloading is finished (if it's a file, not a stream in the
 passed URL).
 So, I tried to set the following URL: setDataSource
 (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file
 isn't saved to
 SD card or internal phone file system. Can MediaPlayer save media
 content to the file system
 after downloading is completed? Is there a way to turn on such
 capability?

 2. Does MediaPlayer support HTTP streaming? I tried to 
 usehttp://217.10.32.134:8129/ultrafan128.mp3,http://62.32.66.180:8800,
 also AMR-, AAC-
 audio stream over HTTP on the local server, but playback does not
 work. For example,
 RTSP streaming works fine with AMR and AAC.

 Thank you,
    Alexander
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---