Skip to content
Snippets Groups Projects
Commit a6b36132 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

rtmpproto: Print the error code string if there's no description


On (certain streams/setups at least on) Red5, the description string
actually is present, but empty. Therefore, first try loading the
description, but if not found or empty, load the code string instead.
The code string is quite understandable in most cases anyway (like
"NetStream.Play.StreamNotFound").

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent b2bed932
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment