Change LogIncomingRtcpPacket and LogOutgoingRtcpPacket to take ArrayView<uint8_t>. Split LogSessionAndReadBack into three functions and create class to share state between them. Split VerifyRtpEvent into one incoming and one outgoing version. Originally uploaded as https://codereview.webrtc.org/2997973002/ Bug: webrtc:8111 Change-Id: I22bdc35163bef60bc8293679226b19e41e8f49b3 Reviewed-on: https://webrtc-review.googlesource.com/5020 Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Elad Alon <eladalon@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20063}