1. 10 Jun, 2021 5 commits
    • Fix TCP retry bug when some RTSP tracks are not selected. · d64bbb44
      The size of rtspLoaderWrappers must match the number of tracks exposed by the
      RTSP session (a track is exposed if its media description entry appears in
      DESCRIBE's SDP response).
      
      When retrying with TCP, the old code will start loading all exposed RTSP
      tracks, regardless of whether they are selected.
      The fixed code will only start loading selected tracks.
      
      #minor-release
      
      PiperOrigin-RevId: 377931030
      claincly committed
    • Propagate duplicated keys error in SDP better. · e1a071b3
      The current code does not catch the IAE thrown when building a MediaDescription
      or SessionDescription. This CL catches the IAE and propagates it as a
      ParserException.
      
      Issue: #9014.
      
      PiperOrigin-RevId: 377544439
      claincly committed
    • Allow TCP retry when using authentication. · 64533c79
      The old version's retry logic will not work if using authentication.
      Specifically, we use the same authentication parameters from the previous
      session, and the RTSP server will reject such parameter.
      
      In this fix, we reset the authentication info on retry. Further, we retry the
      last request on receiving a 401 Unauthorized, rather than sending out another
      DESCRIBE request.
      
      #minor-release
      
      PiperOrigin-RevId: 377539711
      claincly committed
    • Add factory method to for using TCP streaming. · 74ff9f21
      #minor-release
      
      PiperOrigin-RevId: 377476603
      claincly committed
    • Allow reading RTSP message body by Content-Length. · c15acdf0
      Related to Issue: #8941.
      
      RTSP message body's format is not regulated by the RTSP spec, meaning it can
      use either CRLF or LF as its line terminator. The old code assumes every line
      ends with CRLF (RTSP message and the message body); the new code will rely on
      the Content-Length information to receive the bytes for the message body.
      
      #minor-release
      
      PiperOrigin-RevId: 377475565
      claincly committed
  2. 07 Jun, 2021 2 commits
  3. 06 Jun, 2021 33 commits