[jira] [Commented] (CB-11314) Live Streams are not playing on Android 6
[ https://issues.apache.org/jira/browse/CB-11314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616815#comment-16616815 ] ASF GitHub Bot commented on CB-11314: - janpio commented on issue #97: CB-11314 android: avoid seeking on media without duration URL: https://github.com/apache/cordova-plugin-media/pull/97#issuecomment-421803569 There is a merge conflict now @schoetty. Could you maybe fix that please? Thanks. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Live Streams are not playing on Android 6 > - > > Key: CB-11314 > URL: https://issues.apache.org/jira/browse/CB-11314 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-media > Environment: Android >= 6.0 >Reporter: Stefan Schöttelndreyer >Priority: Major > > On Android >= 6.0, live streams do not start playing. This is because the > {{onPrepared}} method of {{AudioPlayer}} invokes {{seekTo}}, what leads to an > error because live streams have no duration and hence can not be seeked. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11314) Live Streams are not playing on Android 6
[ https://issues.apache.org/jira/browse/CB-11314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326715#comment-15326715 ] ASF GitHub Bot commented on CB-11314: - Github user ghenry22 commented on the issue: https://github.com/apache/cordova-plugin-media/pull/97 This is also a problem with MP3 files where android (for whatever reason) cannot read the duration of the file. This could be some slight corruption to the file over time or it could be simply an encoding format that android doesn't like. This is pretty well documented with people having to work around the same issue in native audioplayers that use the same underlying frameworks. I went insane trying to figure out why iOS would seek within a local file but Android intermittently wouldn't. I'm definitely going to give this PR a test! > Live Streams are not playing on Android 6 > - > > Key: CB-11314 > URL: https://issues.apache.org/jira/browse/CB-11314 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media > Environment: Android >= 6.0 >Reporter: Stefan Schöttelndreyer > > On Android >= 6.0, live streams do not start playing. This is because the > {{onPrepared}} method of {{AudioPlayer}} invokes {{seekTo}}, what leads to an > error because live streams have no duration and hence can not be seeked. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11314) Live Streams are not playing on Android 6
[ https://issues.apache.org/jira/browse/CB-11314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298503#comment-15298503 ] ASF GitHub Bot commented on CB-11314: - Github user cordova-qa commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/97#issuecomment-221336149 Cordova CI Build has one or more failures. **Commit** - [Link](https://github.com/apache/cordova-plugin-media/pull/97/commits/131386125ab7913f53cd555063cde8c2d983cf25) **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23/) | Builder Name | Console Output | Test Report | Device Logs | | :---: | :---: | :---: | :---:| | [Windows 8.1 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-store/artifact/) | | [Windows 10 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-10-store/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-10-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-10-store/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-10-store/artifact/) | | [Windows 8.1 Phone]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-phone/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-phone/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-phone/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=windows-slave,platformName=windows-8.1-phone/artifact/) | | [iOS]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=ios/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=ios/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=ios/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=ios/artifact/) | | [Android Mac]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=android/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=android/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=android/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/23//label=mac-slave,platformName=android/artifact/) | > Live Streams are not playing on Android 6 > - > > Key: CB-11314 > URL: https://issues.apache.org/jira/browse/CB-11314 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media > Environment: Android >= 6.0 >Reporter: Stefan Schöttelndreyer > > On Android >= 6.0, live streams do not start playing. This is because the > {{onPrepared}} method of {{AudioPlayer}} invokes {{seekTo}}, what leads to an > error because live streams have no duration and hence can not be seeked. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11314) Live Streams are not playing on Android 6
[ https://issues.apache.org/jira/browse/CB-11314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298249#comment-15298249 ] ASF GitHub Bot commented on CB-11314: - GitHub user schoetty opened a pull request: https://github.com/apache/cordova-plugin-media/pull/97 CB-11314 android: avoid seeking on media without duration On Android >= 6.0, live streams do not start playing. This is because the `onPrepared` method of `AudioPlayer` invokes `seekTo`, what leads to an error because live streams have no duration and hence can not be seeked. You can merge this pull request into a Git repository by running: $ git pull https://github.com/schoetty/cordova-plugin-media master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-media/pull/97.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #97 commit 131386125ab7913f53cd555063cde8c2d983cf25 Author: Stefan Schoettelndreyer Date: 2016-05-24T14:19:44Z CB-11314: avoid seeking on media without duration > Live Streams are not playing on Android 6 > - > > Key: CB-11314 > URL: https://issues.apache.org/jira/browse/CB-11314 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media > Environment: Android >= 6.0 >Reporter: Stefan Schöttelndreyer > > On Android >= 6.0, live streams do not start playing. This is because the > {{onPrepared}} method of {{AudioPlayer}} invokes {{seekTo}}, what leads to an > error because live streams have no duration and hence can not be seeked. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org