1. 12 May, 2021 5 commits
    • Remove RTSP message logging. · d608254a
      #minor-release
      
      PiperOrigin-RevId: 373336127
      claincly committed
    • Allow RTSP streaming using TCP. · 77008e16
      NAT will block off incoming UDP connection because the router has no knowledge
      of the necessary port mapping (the mapping is never set up because UDP is
      connectionless).
      
      The end result is, the UDP socket to receive RTP data will timeout. After the
      `SocketTimeoutException` is caught, the following takes place to try streaming
      with TCP (or, RTP over RTSP).
      
      - `RtspClient` sends TEARDOWN to tear down the current session.
      - `RtspClient` re-connect to the RTSP server.
      - `RtspMediaPeriod` cancels all loading `RtpDataLoadables` (that are using UDP)
      - `RtspMediaPeriod` constructs new `RtpDataLoadables` that use
          `TransferRtpDataChannel`, and starts loading.
      - Once the `RtpDataLoadables` are up and running, we are ready to receive.
        `RtspClient` sends the SETUP requests.
      
      - The rest of the flow is unchanged.
      
      #minor-release
      
      PiperOrigin-RevId: 373310774
      claincly committed
    • Move misplaced RTSP doc. · 2fc7b9c7
      #minor-release
      
      PiperOrigin-RevId: 373175041
      claincly committed
    • Add dev guide for RTSP. · 373855b3
      #minor-release
      
      PiperOrigin-RevId: 373173075
      claincly committed
    • Merge pull request #8894 from cdongieux:fix/issue-8847 · ef61fa52
      PiperOrigin-RevId: 373128118
      kim-vde committed
  2. 10 May, 2021 10 commits
  3. 07 May, 2021 6 commits
  4. 06 May, 2021 3 commits
  5. 04 May, 2021 12 commits
  6. 30 Apr, 2021 2 commits
  7. 29 Apr, 2021 2 commits
    • Add get video size · 0f7ef1ea
      Move VideoSize in the common module and have the Player return it.
      
      `Listener` and `AnalyticsListener` `onVideoSizeChanged` are updated
      with the old method deprecated.
      
      `VideoRendererEventListener.onVideoSizeChanged` was also migrated to
      `VideoSize` but the old method is removed, not deprecated.
      This is because:
       - apps calling/listening to this method is a rare and niche use-case.
       - it would introduce hard to diagnostic issues where if only the caller
         or the callee is updated to use the new method, the event will be lost.
         This doesn't occur with the other 2 listeners as the caller is always
         in ExoPlayer library and was updated to call both the old and new methods.
      
      VideoSize is used everywhere except in `Format` as this would lead to
      too much refactoring and backward compatibility breakage for little gain.
      
      #minor-release
      
      PiperOrigin-RevId: 371087419
      krocard committed