
This CL sets the RTP stats callback on construction, by adding a field next to the other observers in RtpRtcp::Configuration. We can then remove the RegisterCallback() methods and the unused GetCallback() method. Bug: webrtc:11036 Change-Id: I4eb86ea63b4b2ebeff60b311ddf3bed06b279ce4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157169 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29504}