-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
How to force rtsp streaming using TCP mode? #1346
Comments
Actually, rtsp is disabled by default in later version. You need to enable it manually, see README. |
@bbcallen |
Sorry, no idea. I'm not familiar with rtsp. |
@bbcallen |
@Tuzr |
@huanglongyu |
@Tuzr |
@huanglongyu |
@Tuzr |
@Tuzr @bbcallen @Tuzr I need to use the rtsp streaming using TCP. I have a video stored on the server and one server code running on the server machine. Can you tell me how to use ijkplayer so that it would fetch the video accordingly and display it on the phone after decoding and making it as frame_texture? |
@spaul13 |
In the earlier version, we can use setAvOption( ) like below:
ijkMediaPlayer.setAvOption("rtsp_transport", "tcp");
But, the newer version didn't provide this function.
I had try
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "rtsp_transport", "tcp");
and
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "rtsp_transport", "tcp");
It doesn't work for me. Could someone tell me how to solve it ?
Any advice is appreciated, Thanks.
The text was updated successfully, but these errors were encountered: