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
Android (ExoPlayer) cannot force TCP for RTSP #1619
Comments
We can look into exposing this in some way. Do you have a stream URL you can share that we can test against? If you wish to keep it private, you can email it over to unitysupport@renderheads.com with the subject 'Issue 1619'. |
Easiest thing is to set up a RTSP server that will show you which protocol is being used to connect. For example, see https://github.com/bluenviron/mediamtx
|
The changes are pretty straightforward to do this, in the exoplayer java bridge, let me know if you'd like to discuss in detail. |
We have added this into the next release of AVPro Video v2.8.5. This should hopefully be released today. To action it, there is an option in the Android platform properties of the MediaPlayer component. |
v2.8.5 has been released @machenmusik. Do let us know if the change does what you require. |
Works thank you! Question, can / does AVPro use ExoPlayer's async mode (no longer experimental) ? https://stackoverflow.com/questions/75947834/android-exoplayer-cannot-see-new-method-of-operation-mode-in-defaultrenderersfac |
No. We had it enabled for a period of time in our local testing environments when it was experimental, but it was too risky to release enabled. Now that it is officially stable though, we will look to add an option to force it enabled in the next release. |
For Android playback, ExoPlayer supports forcing TCP for RTSP
setForceUseRtpTcp(true)
However, there does not seem to be a way to do that via AVPro,
and ExoPlayer does not correctly fall back to TCP when UDP is unavailable.
This combination causes playback for RTSP/TCP-only sources to fail.
Ideallly, the ability to force TCP would be exposed as an Android-only setting, similar to ExoPlayer buffer sizes.
The text was updated successfully, but these errors were encountered: