Apache Cordova
  1. Apache Cordova
  2. CB-57

Feature request: update media to support streaming

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugin Media
    • Labels:
      None
    • Environment:

      iOS

      Description

      reported at: https://github.com/phonegap/phonegap-iphone/issues/55
      by: https://github.com/hardeep

      The AVAudioPlayer used to implement iOS media does not support streaming audio. In order to do that we need to use the Audio Toolbox. Example and more info here: http://cocoawithlove.com/2009/06/revisiting-old-post-streaming-and.html

      [Original LightHouse ticket](http://phonegap.lighthouseapp.com/projects/20116/tickets/105)

      This ticket has 0 attachment(s).

        Activity

        Hide
        Shazron Abdullah added a comment -

        First step should be a 3rd party plugin. Then discussion can proceed to add to all platforms or just iOS, then possibly graduation to core.

        Show
        Shazron Abdullah added a comment - First step should be a 3rd party plugin. Then discussion can proceed to add to all platforms or just iOS, then possibly graduation to core.
        Hide
        Jean Vean added a comment -

        +1 for this feature. Pretty important in my humble opinion.

        Show
        Jean Vean added a comment - +1 for this feature. Pretty important in my humble opinion.
        Hide
        Shazron Abdullah added a comment -

        by: http://github.com/becka11y

        another useful link: http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/introduction/introduction.html

        by: lux (on lighthouseapp.com)

        There’s a link on cocoawithlove.com in the comments with updates to support fixed length audio streaming, but it’s broken. Here’s a working link to that code: http://www.atwofer.com/2009/06/streaming-and-playing-fixed-length-mp3s.html

        by: http://github.com/shazron

        Note: Nitobi actually has code to support media streaming already that has been used on a project and tested (based on the cocoawithlove.com code)

        by: tiago (on lighthouseapp.com)

        is it freely available? can you please post the address? ty

        by: https://github.com/davechekan

        +1 for this feature in addition to adding support for getDuration, getCurrentPosition in iOS. This is my first time developing with phonegap, and posting a comment here- so I apologize for my ignorance in doing both properly.

        by: https://github.com/devgeeks

        I have a plugin I am finishing up that uses [Matt Gallagher's AudioStreamer code](https://github.com/mattgallagher/AudioStreamer) mentioned above.

        If anyone feels like helping to test it maybe we can get any bugs out and get it into the phonegap-plugins repo sooner...

        https://github.com/devgeeks/phonegap-plugins/tree/AudioStreamer/iPhone/AudioStream

        Show
        Shazron Abdullah added a comment - by: http://github.com/becka11y another useful link: http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/streamingmediaguide/introduction/introduction.html by: lux (on lighthouseapp.com) There’s a link on cocoawithlove.com in the comments with updates to support fixed length audio streaming, but it’s broken. Here’s a working link to that code: http://www.atwofer.com/2009/06/streaming-and-playing-fixed-length-mp3s.html by: http://github.com/shazron Note: Nitobi actually has code to support media streaming already that has been used on a project and tested (based on the cocoawithlove.com code) by: tiago (on lighthouseapp.com) is it freely available? can you please post the address? ty by: https://github.com/davechekan +1 for this feature in addition to adding support for getDuration, getCurrentPosition in iOS. This is my first time developing with phonegap, and posting a comment here- so I apologize for my ignorance in doing both properly. by: https://github.com/devgeeks I have a plugin I am finishing up that uses [Matt Gallagher's AudioStreamer code] ( https://github.com/mattgallagher/AudioStreamer ) mentioned above. If anyone feels like helping to test it maybe we can get any bugs out and get it into the phonegap-plugins repo sooner... https://github.com/devgeeks/phonegap-plugins/tree/AudioStreamer/iPhone/AudioStream

          People

          • Assignee:
            Unassigned
            Reporter:
            Shazron Abdullah
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development