Fix rtp_analyzer tool
- Make rtp_analyzer work with a single SSRC - Simplify rtp_analyzer.sh (it allows to run the python script from any directory) - Update README.md (simplified, added missing dependency) Bug: webrtc:10829 Change-Id: Idb82e7228918a973778762a39b732ce3b26b6bbc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146711 Reviewed-by: Artem Titov <titovartem@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28668}
This commit is contained in:

committed by
Commit Bot

parent
7db19e0b02
commit
418f0c5ff9
@ -90,7 +90,7 @@ class RTPStatistics(object):
|
||||
"""Queries user for SSRC."""
|
||||
|
||||
if len(self.ssrc_frequencies) == 1:
|
||||
chosen_ssrc = self.ssrc_frequencies[0][-1]
|
||||
chosen_ssrc = self.ssrc_frequencies.keys()[0]
|
||||
self.PrintSsrcInfo("", chosen_ssrc)
|
||||
return chosen_ssrc
|
||||
|
||||
|
Reference in New Issue
Block a user