Use ArrayView in the IncomingRtcpPacket function.

The lowest level and some of the highest levels of this function are
already using ArrayView. Make this consistent throughout.
Use deprecation for the old API rather than deleting it, since upstream
may be using it.

Bug: webrtc:14870
Change-Id: If5e1a6e9802ecf7e8e3ec27befb5167ca9985517
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291706
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39241}
diff --git a/modules/rtp_rtcp/source/rtcp_receiver.h b/modules/rtp_rtcp/source/rtcp_receiver.h
index cdf4cba..696e0fb 100644
--- a/modules/rtp_rtcp/source/rtcp_receiver.h
+++ b/modules/rtp_rtcp/source/rtcp_receiver.h
@@ -98,7 +98,9 @@
 
   ~RTCPReceiver();
 
-  void IncomingPacket(const uint8_t* packet, size_t packet_size) {
+  [[deprecated("Use ArrayView verwsion")]] void IncomingPacket(
+      const uint8_t* packet,
+      size_t packet_size) {
     IncomingPacket(rtc::MakeArrayView(packet, packet_size));
   }
   void IncomingPacket(rtc::ArrayView<const uint8_t> packet);