File tree 1 file changed +3
-3
lines changed
app/src/main/java/com/fpvout/digiview
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ public void onPlayerError(ExoPlaybackException error) {
101
101
(new Handler (Looper .getMainLooper ())).postDelayed (() -> restart (), 1000 );
102
102
break ;
103
103
case ExoPlaybackException .TYPE_REMOTE :
104
- Log .e (TAG , "PLAYER_SOURCE - TYPE_REMOTE: " + error .getSourceException (). getMessage ());
104
+ Log .e (TAG , "PLAYER_SOURCE - TYPE_REMOTE: " + error .getMessage ());
105
105
break ;
106
106
case ExoPlaybackException .TYPE_RENDERER :
107
- Log .e (TAG , "PLAYER_SOURCE - TYPE_RENDERER: " + error .getSourceException ().getMessage ());
107
+ Log .e (TAG , "PLAYER_SOURCE - TYPE_RENDERER: " + error .getRendererException ().getMessage ());
108
108
break ;
109
109
case ExoPlaybackException .TYPE_UNEXPECTED :
110
- Log .e (TAG , "PLAYER_SOURCE - TYPE_UNEXPECTED: " + error .getSourceException ().getMessage ());
110
+ Log .e (TAG , "PLAYER_SOURCE - TYPE_UNEXPECTED: " + error .getUnexpectedException ().getMessage ());
111
111
break ;
112
112
}
113
113
}
You can’t perform that action at this time.
0 commit comments