Fix LinphonePlayer call

This commit is contained in:
Erwan Croze 2017-04-27 10:02:24 +02:00
parent 990c074856
commit 96148f65dd
2 changed files with 2 additions and 8 deletions

View file

@ -1194,13 +1194,7 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
LinphonePlayer player = call.getPlayer();
String path = intent.getData().getPath();
Log.i("Openning " + path);
int openRes = player.open(path, new LinphonePlayer.Listener() {
@Override
public void endOfFile(LinphonePlayer player) {
player.close();
}
});
int openRes = player.open(path);
if(openRes == -1) {
String message = "Could not open " + path;
Log.e(message);

@ -1 +1 @@
Subproject commit 9d1bb6b6a88961bdda07029f759a86df1ca7c71c
Subproject commit 68f5085d8426b4c572e9f538bedbbc87b49bc36a