ngraziano / SharpRTSP

A RTSP handling library
Other
538 stars 180 forks source link

Add Digest Authorization. Handle several runtime errors #28

Closed RogerHardiman closed 7 years ago

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.09%) to 59.308% when pulling 79c260321a08eab742c3e991581ccad8bfa81e6d on RogerHardiman:master into 6f240d42724fb2fe110bc9e6e2e1a5baf4c059b3 on ngraziano:master.

RogerHardiman commented 7 years ago

These two commits handle some errors with UnsupportedTransport and the case where the Session is null (which caused message.Clone() to fail)

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.5%) to 59.893% when pulling 993b9f929e5175d6358fdd40d11bf57d0b82132d on RogerHardiman:master into 6f240d42724fb2fe110bc9e6e2e1a5baf4c059b3 on ngraziano:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.5%) to 59.893% when pulling ea7056099b1281c48825ee5652cdb3a18520eafa on RogerHardiman:master into 6f240d42724fb2fe110bc9e6e2e1a5baf4c059b3 on ngraziano:master.

RogerHardiman commented 7 years ago

I've added in Digest Authorization. If the DESCRIBE fails with a 401 Unauthorized error then I send a new DESCRIBE using the realm and nonce. At some point I'd like to move the Digest Authorization into the SharpRTSP library but as this is new code I've decided to leave it in the Client Sample for now.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.5%) to 59.893% when pulling a15cab1f309c20742477aa2094250fa5d8a14706 on RogerHardiman:master into 6f240d42724fb2fe110bc9e6e2e1a5baf4c059b3 on ngraziano:master.