title: What is the best way to validate RTSP stream URL [python]
body: <p>I'm search for the best way to decide whether RTSP stream is good or not with metrics about the stream.
  The answer not must to be True/False.
  I imagine that service as function that get url for stream and return statistics and answer if the stream is good or not.
  for Example: <code>def validate(stream_url: string, test_duration: int)</code></p>