Skip to content
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

Inconsistent info displayed on Stream and Client pages #4198

Open
laurfb opened this issue Oct 9, 2024 · 2 comments
Open

Inconsistent info displayed on Stream and Client pages #4198

laurfb opened this issue Oct 9, 2024 · 2 comments
Labels
EnglishNative This issue is conveyed exclusively in English.

Comments

@laurfb
Copy link
Contributor

laurfb commented Oct 9, 2024

Hi.
I use SRS to distribute some srt streams.
Everything is functional, but there is an error in the monitoring part.
For example, in the Streams page SRS server display all 5 active publishing sources while in the Clients page SRS report only 3 of them as active (3 from 5).
Furthermore, stream parameters (video, audio) are not displayed in the appropriate fields (Video, Audio) in Streams page. Only Inbound and Outbound data.
Bug or I'm doing something wrong?
regards,
Laur

Version
SRS v6.0.155, v5.0.x

To Reproduce
Steps to reproduce the behavior:

  1. Publish few srt stream to SRS (ex. h264, 1080p50, 2-8Mbps, AAC audio, 2ch, 256Kbps)
  2. Play those streams.
  3. Check and compare info from Streams and Clients page.

Expected behavior
View all streams active in Clients page.
View streams info (video and audio parameters) in Clients page.

Screenshots
Please find them attached.
streams
clients

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Oct 9, 2024
@TagorePde
Copy link

Also, if you have more of than 10 streamings, like 12 for example you only see 10 always.

laurfb added a commit to laurfb/srs that referenced this issue Oct 24, 2024
Relative to  ossrs#4198 issue (limited clients/streams displayed on srs console)
More than enaugh for most users.
Maybe it would be more useful to define a variable in the conf file.
@laurfb
Copy link
Contributor Author

laurfb commented Oct 25, 2024

Later edit, regarding (NO) Audio/Video info on the console Stream page:

If "srt_to_rtmp" is set to "on" (in conf file) the info regarding the streams (codec, level, frame size, bitrate) is displayed but with some errors (ex. Audio bitrate is always 44100 regardless of the real value of the srt input stream - it seems that the parsing routine extract, incorrect, the value from the resulting rtmp (transcoded) stream, not the audio bitrate from the input srt stream, as expected.
sshot-350

Also, for specific streams, the corresponding reported frame size for srt video is inaccurate (ex. for 1920x1080 frame size srs routine report "128x2144"). Or video compression level reported as "other" instead of "4.1".
Correct values, from the input srt streams for that example are: h264, profile High, level 4.1, 1920x1080 frame size, AAC (LC), 48000, stereo.
If "srt_to_rtmp" option is off NO info will be displayed for any srt stream.
sshot-351

Is this the correct/expected behavior?
Or the data displayed should be those of the input streams?

regards,
Laur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

No branches or pull requests

3 participants