Opened 5 years ago

Closed 5 years ago

#3417 closed defect (fixed)

rtsp authentication RFC2069

Reported by: hme Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: rtsp http
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Please make rtsp authentication RFC2069 complient:

https://groups.google.com/d/msg/c-rtmp-server/Rrn27ZNoczw/uAPMRDIYUKcJ

Attachments (1)

patchhttpauth.diff (670 bytes) - added by cehoyos 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by cehoyos

  • Keywords rtsp added

Is this a missing feature or something that does not work correctly?
In any case, please try to add a little information to make this a more understandable ticket.

comment:2 Changed 5 years ago by hme

that is described in the url in ticket description:

Authorization: Digest username="user1",realm="My realm...",nonce="...",uri="rtsp://localhost:8554/live",response="...",algorithm=MD5

algorithm=MD5 is incorrect.

It should be:
algorithm="MD5"

Changed 5 years ago by cehoyos

comment:3 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords http added
  • Status changed from new to open
  • Version changed from unspecified to git-master

Could you test if attached patch fixes the problem for you?

comment:4 Changed 5 years ago by hme

works. thank you.

comment:5 Changed 5 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

Patch has been applied a while ago, which makes the code match other implementations IIUC. The interpretation of the RFC was wrong though,see the disccussion on ffmpeg-devel.

Closing this ticket as it seems the current implementation with the patch is what people consider the best that can easily be done.
Dont hesitate to reopen if someone disagrees or has a better idea
See: " Re: [FFmpeg-devel] [FFmpeg-cvslog] Fix http authentication."

Note: See TracTickets for help on using tickets.