Results 1 to 5 of 5

Thread: Ext.Audio getCurrentTime() not works with streaming?

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Location
    Salvador, Bahia - Brazil
    Posts
    35

    Default Ext.Audio getCurrentTime() not works with streaming?

    Have a radio app with play live streaming.
    On Browser I can change the time elapsed in HTML container by timeupdate event.
    But in device, this event is not fired and the getCurrentTime() method always return 0;

    I'm testing on Android Lollypop 5.1.1 and Sencha Touch 2.4.1

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I haven't heard of this issue. Do you have a test case with which we can see this in action?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Location
    Salvador, Bahia - Brazil
    Posts
    35

    Default

    Hello Gary.


    I have no way to provide a test case because this problem occurs only in real device. In desktop browser everything works perfectly.


    I searched for this limitation in the Android webview and found nothing about it.

    Thanks.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    It's OK if the test case works in the browser. It still helps to see what might be going on in the code, and we can test in the appropriate device. Thanks.

  5. #5
    Sencha User
    Join Date
    Jan 2013
    Location
    Salvador, Bahia - Brazil
    Posts
    35

    Default

    Here is the fiddle: https://fiddle.sencha.com/#fiddle/19p6
    In desktop browser, timeupdate event is fired showing time in console.
    In android device only show play event.
    When pause the streaming, timeupdate is fired with time = 0

Similar Threads

  1. Sencha Touch 2.3 audio streaming app
    By rayba in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 21 Feb 2014, 7:54 AM
  2. Replies: 4
    Last Post: 6 Jul 2012, 2:48 AM
  3. Stream audio from streaming-server
    By colombod in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 18 Jan 2012, 4:28 PM
  4. Audio Streaming
    By colombod in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 3 Aug 2011, 12:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •