| Index: webrtc/tools/py_event_log_analyzer/misc.py
|
| diff --git a/webrtc/tools/py_event_log_analyzer/misc.py b/webrtc/tools/py_event_log_analyzer/misc.py
|
| index 50ac28e9aae7dd26472f30c376a208c25f218652..bd70b75caa0d970498def93c00b4d614e010c657 100644
|
| --- a/webrtc/tools/py_event_log_analyzer/misc.py
|
| +++ b/webrtc/tools/py_event_log_analyzer/misc.py
|
| @@ -72,6 +72,14 @@ def unwrap(data, mod):
|
| mod // 2) % mod - (mod // 2)
|
| return lst
|
|
|
| +
|
| +def ssrc_directions(data_points):
|
| + ssrc_is_incoming = {}
|
| + for point in data_points:
|
| + ssrc_is_incoming[point.ssrc] = point.incoming
|
| + return ssrc_is_incoming
|
| +
|
| +
|
| # Python 2/3-compatible input function
|
| if sys.version_info[0] <= 2:
|
| get_input = raw_input
|
|
|