-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
MediaMTX can't pull RTSP from Majestic running on t31x (while works with ssc378de) #192
Comments
Please test the current build: t31.lite.tar |
Thank you for the updated build. Unfortunately, the test still failed. Please find the attached log file for reference. There were no errors in the Majestic log:
It's worth noting that the version number matches today's OpenIPC update, but the executable size (883420) differs from the one included in the OpenIPC update (883332). Additionally, I’ve observed that the program now requires two parts in the RTMP stream path (e.g., rtmp://ip@myapp/mystream). However, the documentation of at least two media servers—go2rtc and MediaMTX—only specifies the need for a single part, and go2rtc is unable to handle URLs with a two-part path. Would you please consider restoring the ability to stream to URLs with a single-part path? Thanks again for your efforts, and I look forward to your thoughts. |
It seems the main problem is located here:
https://github.com/bluenviron/mediacommon/blob/main/pkg/codecs/h264/h264.go |
@iGraveD In fact, the string is used only for unification and then parsing occurs, this does not concern the protocol itself, it is standardized, but the strings are not. And also read about the standards that should be followed, perhaps there is a hidden app name that is not mandatory, but is mandatory in Majestic. |
It seems like a restriction enforced by the app, see the following comment: bluenviron/mediamtx#2985 (comment) |
@iGraveD |
My friend @iGraveD is busy right now, so I will reply in his place. Thank you for your reply! |
Thank you for your reply! Yes. @iGraveD wrote, that go2rtc and MediaMTX have 1-part path in their documentations, but only go2rtc was unable to handle 2-part path. Therefore, we have tried MediaMTX with 2-part path. |
Sorry, I don't understand. These changes just increase MaxNALUsPerAccessUnit from 21 to 25. But it is already 25 (see the links provided by @skilurius). These changes were submitted on Apr 28, but according to the log file we provided earlier, we use MediaMTX version 1.8.5 which was created in August. |
Just use this link as an example and rebuild the applications, increasing NALU to 30 or 50. |
Thank you for your reply! I increased the value from 25 to 30, 50, 100 and even 500, but it still does not help:
|
@skilurius |
A fix for a different, but potentially connected problem was applied, please test the current build: t31.lite.tar |
I confirm that it works in master+ba67249, 2024-09-11 |
It also started working with go2rtc, srs, VLC and everything I tested! |
Required information
Issue description
MediaMTX can't pull RTSP from Majestic running on t31x (while can from ssc378de)
Expectations
MediaMTX CAN pull RTSP from Majestic running on t31x.
Steps to reproduce
In
mediamtx.yml
, set:Run
mediamtx
.On the same machine, open http://localhost:8888/mystream with your browser.
The browser does not display any video.
When you change the IP address to ssc378de camera in
mediamtx.yml
and restartmediamtx
, the browser starts showing video.Information to attach
cat /etc/majestic.yaml
) majestic.yaml, majestic.yaml (from ssc378de, where it works)The text was updated successfully, but these errors were encountered: