Breaking Changes:
- GH-384 fix!: remove deprecated
windows
platform - GH-378 feat(android)!: bump file & Android requirements
Features:
- GH-362 feat(ios): load media files with custom scheme+hostname and leading directory paths
- GH-383 feat(android): increase audio encoding bitrate and sampling rate
- GH-382 feat(android): support Android 13 permission checks and requests
Others:
- GH-381 dep(dev)!: bump
@cordova/eslint-config@5.0.0
- GH-377 ci: sync github action workflow w/ paramedic base configs
- GH-357 feat(android): add '
message
' field to media error CB-11641 - GH-352 feat(ios): support
file
scheme - GH-354 fix(ios): Reset default audio session category when release (CB-13243)
- GH-353 fix(ios): error on
getPosition
when time isnan
- GH-355 test(spec.22): pause media before calling
getCurrentPosition
- GH-356 test(spec.timeout): try to improve against timeout failures
- GH-351 ci: sync workflow with paramedic
- GH-349 ci(android): update java requirement for
cordova-android@11
- GH-344 feat(android): drop
WRITE_EXTERNAL_STORAGE
permission - GH-195 feat(ios): Add error call for
stalled_playback
- GH-341 feat(android): add
setRate
- GH-340 fix(ios): set rate with current playback rate
- GH-197 feat: add
durationUpdate
callback - GH-232 fix(android): remove
READ_PHONE_STATE
permission - GH-285 fix: remove deprecated platform code snippets
- GH-338 fix: missing parenthesis from #328
- GH-328 fix(android): issue #325
- GH-334 dep!: bump
cordova-plugin-file@^7.0.0
- GH-337 chore: bump
cordovaDependencies
next next major cordova requirement - GH-336 chore: rebuilt
package-lock
- GH-329 dep: bump
@cordova/eslint-config@4.0.0
w/ fix &package-lock
rebuild - GH-317 fix(android): get external files directory for Android 10+
- GH-320 ci(ios): update workflow w/ iOS 15
- GH-318 test(browser): disable test cases w/ play() due to Chrome's Autoplay Policy
- GH-313 ci: add action-badge
- GH-312 ci: remove travis & appveyor
- GH-311 ci: add gh-actions workflows
- GH-298 ci: add node-14.x to workflow
- GH-292 ci(travis): update osx xcode image
- GH-291 ci(travis): updates Android API level
- GH-284 chore: adds
package-lock
file - GH-283 refactor(eslint): use
cordova-eslint
/w fix - GH-282 chore(npm): use short notation in
package.json
- chore(asf): update git notification settings
- Update CONTRIBUTING.md
- GH-249 Fix #248 delete javascript reference to released media
- GH-274 ci: updates Node.js versions
- GH-275 chore(npm): improve ignore list
- ci(travis): upgrade to node8
- GH-241 fix(types): Add type definition for getCurrentAmplitude
- chore: fix repo and issue urls and license in package.json and plugin.xml (
784ac7b
) - build: add
.gitattributes
to force LF (instead of possible CRLF on Windows) (5244c4a
) - build: add
.npmignore
to remove unneeded files from npm package (aa1586d
) - ci(travis): Update Travis CI configuration for new paramedic (#227) (
b0ed6bd
) - chore(github): Add or update GitHub pull request and issue template (
b1c1353
) - docs: remove JIRA link (
2acd3c2
) - ci(travis): also accept terms for android sdk
android-27
(74772c3
) - docs: remove outdated docs that haven't been updated for 3 years (
a006da3
) - fix(types): add types for callback in constructor (#90) (
7094582
) - docs: (iOS) document setRate method (#142) (
5f18902
) - fix(ios): CB-13445 (iOS) Streaming media can take up to 8-10 seconds to start (#169) (
43d57ca
) - fix(android): CB-12849 checking mediaState in destroy method, and moving file by stream when renameTo failing (#168) (
86660dd
) - tests: CB-14091 fix tests code for stream url and remove browser (#166) (
524c337
)
- CB-13706 Fix to allow 5.0.0 version install (#160)
- Bump cordova-plugin-file dependency to 6.0.0
- CB-13678 Remove deprecated platforms
- CB-12264 (README): fix
media.getCurrentAmplitude
definition - CB-13265 Remove iOS usage description from media plugin
- CB-13517 (all): Add 'protective' entry to
cordovaDependencies
- CB-13473 (CI) Removed Browser builds from AppVeyor
- CB-13294 Remove
cordova-plugin-compat
- CB-13299 (CI) Fix Android builds
- CB-13028 (CI) Browser builds on Travis and AppVeyor
- CB-12671 iOS: Fix auto-test with stopping media that is in starting state
- CB-12847 added
bugs
entry topackage.json
.
- CB-12542 (ios) Fix wav file recording, add m4a extension. make iOS status handling compatible with Android/Windows
- CB-12622 Added Android 6.0 build badges to
README
- CB-12685 added
package.json
to tests folder
- Android: fix
NullPointerException
inAudioPlayer.readyPlayer
- Android: fix
java.lang.NullPointerException
onresumeAllGainedFocus
- CB-12493 (Tests) Fixed spec.21 flakyness
- major version bump, added
cordovaDependencies
requirement forcordova-android>=6.1.0
- Add engine tag for checking
cordova-android
- Make the output file of Android an
acc
file. - CB-12422 iOS: Fix readme issue on background needed plist modification
- CB-12434 Android: fix Stoping a Paused Recording throws exception
- CB-12411 Stoping a Paused Recording throws illegal state exception
- CB-1187 iOS: Fix unused recording settings
- CB-12353 Corrected merges usage in
plugin.xml
- CB-12369 Add plugin typings from DefinitelyTyped
- CB-12363 Added build badges for iOS 9.3 and iOS 10.0
- CB-12230 Removed Windows 8.1 build badges
- CB-12224 Updated version and RELEASENOTES.md for release 2.4.1
- CB-12034 (ios) Add mandatory iOS 10 privacy description
- CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
- CB-11529 ios: Make available setting volume for player on ios device
- CB-11832 Incremented plugin version.
- CB-11795 Add 'protective' entry to cordovaDependencies
- CB-11793 fixed android build issue with last commit
- CB-11085 Fix error output using
println
toLOG.e
- CB-11757 (ios) Error out if trying to stop playback while in a wrong state
- CB-11380 (ios) Overloaded
audioFileForResource
method instead of modifying its signature - CB-11380 (ios) Updated modified method signature in the .h file
- CB-11380 (ios) Fixed an unexpected error callback when initializing Media with file that doesn't exist
- CB-10849 (ios) Fixed a crash when playing soundfiles consecutively
- CB-11754 (Android) Fixed the build error
- CB-11086 (Android) Fixed a crash when
setVolume()
is called on unitialized audio This closes #93 - Plugin uses
Android Log class
and notCordova LOG class
- CB-11655 (Android) Enabled asynchronous error handling
- CB-11430 Report duration NaN value to JS properly
- CB-11429 Update test stream URL
- CB-11430 Skip audio playback tests on Saucelabs
- CB-11458 -
media.spec.25
'should be able to play an audio stream' fails on iOS platform - Add badges for paramedic builds on Jenkins
- CB-11313 Can't start media streaming on Android 6.0
- Add pull request template.
- Readme: Add fenced code blocks with langauage hints
- CB-11165 removed peer dependency
- CB-10776 Add the ability to pause and resume an audio recording (Android)
- CB-10776 Add the ability to pause and resume an audio recording (iOS)
- CB-9487 Don't update position when getting amplitude
- CB-10996 Adding front matter to README.md
- Request audio focus when playing; Pause audio when audio focus is lost; resume playing when audio focus is granted again.
- Replace
PermissionHelper.java
withcordova-plugin-compat
- CB-10783 Modify expected position to be in a proper range.
- CB-9487 Support getting amplitude for recording
- iOS audio should handle naked local file sources
- CB-10720 Fixing README for display on Cordova website
- CB-10636 Add
JSHint
for plugins - CB-10535 Fix CI crash caused by media plugin
- CB-10476 Fix problem where callbacks were not invoked on android due to messageChannel being overridden by callbackContext in every execute() call
- Edit package.json license to match SPDX id
- CB-10455 android: Adding permission helper to remove cordova-android 5.0.0 constraint
- CB-57 Updated to use avplayer when url starts with http:// or https:// for full streaming support
- CB-8222 Background thread on play to prevent locking during initial load of media
- Fixed example referencing non-existent variable
- CB-9452 Treat
RTSP streams
asremote URLs
- add JIRA issue tracker link
- fix CB-9884 & CB-9885
- CB-10100 updated file dependency to not grab new majors
- Fix block usage of self
- CB-10035 Updated
RELEASENOTES
to be newest to oldest - Media now supports new permissions for Android 6.0 aka Marshmallow
- Fixing contribute link.
- CB-9619 Fixed tests waiting for precise position
- CB-9606 Fixes arguments parsing in
seekAudio
- CB-9605 Fixes issue with playback resume after pause on WP8
- fix record and play
NullPointerException
- CB-9237 Add
cdvfile://
support to media plugin on Windows platform - CB-9238 Media plugin cannot record audio on Windows
- Added iOS platform
media.setRate
auto test - Add iOS platform check in
Media.prototype.setRate
- Add
Media.prototype.setRate
method (only for iOS)
- CB-9128 cordova-plugin-media documentation translation: cordova-plugin-media
- fix npm md issue
- CB-9079 Increased timeout for playback tests
- CB-8888 Makes media status reporting on windows more precise
- CB-8793 Increased playback timeout in tests
- CB-8793 Fixed tests to pass on wp8 and windows
- CB-8746 bumped version of file dependency
- CB-8746 gave plugin major version bump
- CB-8779 Fixed media status reporting on wp8
- CB-8747 added missing comma
- CB-8747 updated dependency, added peer dependency
- CB-8683 changed plugin-id to pacakge-name
- CB-8653 properly updated translated docs to use new id
- CB-8653 updated translated docs to use new id
- CB-8541 Adds information about available recording formats on Windows
- Use TRAVIS_BUILD_DIR, install paramedic by npm
- CB-8686 - remove musicLibrary capability
- CB-7962 Adds browser platform support
- CB-8653 Updated Readme
- CB-8659: ios: 4.0.x Compatibility: Remove use of deprecated headers
- CB-8572 Integrate TravisCI
- CB-8438 cordova-plugin-media documentation translation: cordova-plugin-media
- CB-8538 Added package.json file
- CB-8428 Fix tests on Windows if no audio playback hardware is available
- CB-8428 Fix multiple
done()
calls in media plugin test on devices where audio is not configured - CB-8426 Add Windows platform section to Media plugin
- CB-8425 Media plugin .ctr: make src param required as per spec
- CB-8351 ios: Stop using (newly) deprecated CDVJSON.h
- CB-8351 ios: Use argumentForIndex rather than NSArray extension
- CB-8252 android: Fire audio events from native via message channel
- CB-8152 ios: Remove deprecated methods in Media plugin (deprecated since 2.5)
- CB-6153 Android: Add docs for volume control behaviour, and fix controls not being reset on page navigation
- CB-6153 Android: Make volume buttons control music stream while any audio players are created
- CB-7977 Mention
deviceready
in plugin docs - CB-7945 Made media.spec.15 and media.spec.16 auto tests green
- CB-7700 cordova-plugin-media documentation translation: cordova-plugin-media
- Amazon Specific changes: Added READ_PHONE_STATE permission same as done in Android
- make possible plays wav file
- CB-7638 Get audio duration properly on windows
- CB-7454 Adds support for m4a audio format for Windows
- CB-7547 Fixes audio recording on windows platform
- CB-7531 Fixes play() failure after release() call
- CB-6963 renamed folder to tests + added nested plugin.xml
- added documentation for manual tests
- CB-6963 Port Media manual & automated tests
- CB-6963 Port media tests to plugin-test-framework
- CB-6127 Updated translations for docs
- ios: Make it easier to play media and record audio simultaneously
- code #s for MediaError
- CB-6127 Spanish and French Translations added. Github close #13
- CB-6807 Add license
- CB-6706: Relax dependency on file plugin
- CB-6478: Fix exception when try to record audio file on windows 8
- CB-6477: Add musicLibrary and microphone capabilities to windows 8 platform
- CB-6491 add CONTRIBUTING.md
- CB-6422: [windows8] use cordova/exec/proxy
- CB-6212: [iOS] fix warnings compiled under arm64 64-bit
- CB-6225: Specify plugin dependency on File plugin 1.0.1
- CB-6460: Update license headers
- CB-6465: Add license headers to Tizen code
- Add NOTICE file
- CB-6051 Update media plugin to work with new cdvfile:// urls
- CB-5748 Make sure that Media.onStatus is called when recording is started.
- Add preliminary support for Tizen.
- CB-4755 Fix crash in Media.setVolume on iOS
- CB-5658 Add doc/index.md for Media plugin
- Adding READ_PHONE_STATE to the plugin permissions
- [ubuntu] specify policy_group
- add ubuntu platform
- Added amazon-fireos platform. Change to use amazon-fireos as a platform if the user agent string contains 'cordova-amazon-fireos'
- CB-5128: add repo + issue tag to plugin.xml for media plugin
- CB-5010 Incremented plugin version on dev branch.
- CB-4889 bumping&resetting version
- [windows8] commandProxy was moved
- CB-4889 renaming references
- CB-4889 renaming org.apache.cordova.core.media to org.apache.cordova.media
- CB-4847 iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly
- Rename CHANGELOG.md -> RELEASENOTES.md
- CB-4799 Fix incorrect JS references within native code on Android & iOS
- Fix compiler/lint warnings
- Rename plugin id from AudioHandler -> media
- CB-4763 Remove reference to cordova-android's FileHelper.
- CB-4752 Incremented plugin version on dev branch.
- CB-4432 copyright notice change