-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[r2.14.0, rtsp library] setting repeat mode causes fatal error, resulting in force close #8994
Comments
RTSP announcements: =================== https://exoplayer.dev/rtsp.html https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md#2140-2021-05-13 google/ExoPlayer#3854 (comment) references: =========== https://github.com/google/ExoPlayer/blob/r2.14.0/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsMediaSource.java#L368 https://github.com/google/ExoPlayer/blob/r2.14.0/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashMediaSource.java#L371 https://github.com/google/ExoPlayer/blob/r2.14.0/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/SsMediaSource.java#L316 https://github.com/google/ExoPlayer/blob/r2.14.0/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/RtspMediaSource.java#L123 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/source/ProgressiveMediaSource.java#L221 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/source/SingleSampleMediaSource.java#L122 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/upstream/RawResourceDataSource.java#L75 https://github.com/google/ExoPlayer/blob/r2.14.0/library/common/src/main/java/com/google/android/exoplayer2/MediaItem.java#L58 https://github.com/google/ExoPlayer/blob/r2.14.0/library/common/src/main/java/com/google/android/exoplayer2/util/MimeTypes.java#L115 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/util/EventLogger.java#L79 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java#L215 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/analytics/AnalyticsCollector.java#L91 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/DefaultLoadControl.java#L112 https://github.com/google/ExoPlayer/blob/r2.14.0/library/core/src/main/java/com/google/android/exoplayer2/text/TextRenderer.java https://github.com/google/ExoPlayer/blob/r2.14.0/demos/main/src/main/java/com/google/android/exoplayer2/demo/TrackSelectionDialog.java#L356 issue: ====== google/ExoPlayer#8994 - there appears to be a minor problem with RTSP support in r2.14.0 - attempting to play an RTSP stream causes the app to crash - this should be resolved by updating ExoPlayer after a fix is released * TBD
Hello there, can you also post the RTSP messages? You can print the messages by following this simple step |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Sorry I meant the instructions to add the logs to see the actual exchanged RTSP messages. To start, could you try plugging your link to any of RTSP links in I can verify the link |
This comment has been minimized.
This comment has been minimized.
Could you try building the player with a I.e., build your player using
And call |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
references: =========== google/ExoPlayer#8994 important: ========== * until this issue is resolved, a fatal error causing the app to crash will occur while playing an RTSP stream if the user changes "repeat mode"
OK, so the problem was this line: player.setRepeatMode(Player.REPEAT_MODE_ALL);
|
* 5-rtsp-barebones-issue-8994 - added (unofficial) - illustrates the fatal error in the RTSP library that causes the app to force close, as described by ExoPlayer issue 8994 google/ExoPlayer#8994
@claincly - Note that I think it might be a good idea to move toward a loading model like |
Fixed in 1ca0efd. |
logcat errors:
quick trace through code to find cause:
The text was updated successfully, but these errors were encountered: