Opened 10 years ago

Closed 10 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 Carl Eugen Hoyos 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Carl Eugen Hoyos, 10 years ago

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 by hme, 10 years ago

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"

by Carl Eugen Hoyos, 10 years ago

Attachment: patchhttpauth.diff added

comment:3 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavformat
Keywords: http added
Status: newopen
Version: unspecifiedgit-master

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

comment:4 by hme, 10 years ago

works. thank you.

comment:5 by Michael Niedermayer, 10 years ago

Resolution: fixed
Status: openclosed

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.