diff --git a/package.json b/package.json index cf86e2b..cab6a79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-streaming-media", - "version": "2.1.0", + "version": "2.1.1", "description": "This plugin allows you to stream audio and video in a fullscreen, native player on iOS and Android.", "main": "index.js", "scripts": { diff --git a/plugin.xml b/plugin.xml index 11d6912..6cc6ebc 100755 --- a/plugin.xml +++ b/plugin.xml @@ -3,7 +3,7 @@ xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-streaming-media" - version="2.1.0"> + version="2.1.1"> StreamingMedia diff --git a/src/android/com/hutchind/cordova/plugins/streamingmedia/SimpleVideoStream.java b/src/android/com/hutchind/cordova/plugins/streamingmedia/SimpleVideoStream.java index 9e54f65..463a747 100755 --- a/src/android/com/hutchind/cordova/plugins/streamingmedia/SimpleVideoStream.java +++ b/src/android/com/hutchind/cordova/plugins/streamingmedia/SimpleVideoStream.java @@ -125,7 +125,6 @@ public void onPrepared(MediaPlayer mp) { private void pause() { Log.d(TAG, "Pausing video."); - StreamingMedia.callbackContext.sendPluginResult(StreamingMedia.onPause); mVideoView.pause(); }