trying to find rtsp url and tihs is what i've got

a7m221

n3wb
Joined
Sep 1, 2019
Messages
13
Reaction score
0
Location
sa
hello everyone

i have an wifi chines camera that support rtsp but cant find it anywhere like most of the none branded chines camera and the camera doesn't have a pc software only on phone app

so i find a way to get the rstp link using Wireshark to trace the connection when the streem is on

and i've got it but it seems like its Encrypted i have tried so many time with changing i've made to the url with no luck

i thought maybe some of you can help with this

this is the trace i found with the rtsp url in it

Code:
DESCRIBE rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1 RTSP/1.0
CSeq: 1
User-Agent: Rtsp/0.1

RTSP/1.0 200 OK
Server: EasyDarwin/7.3 (Build/17.0325; Platform/Linux; Release/EasyDarwin; State/Development; )
Cseq: 1
Cache-Control: no-cache
Content-length: 362
Date: Thu, 07 Nov 2019 18:56:18 GMT
Expires: Thu, 07 Nov 2019 18:56:18 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1/

v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=control:*
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAHq2EAQwgCGEAQwgCGEAQwgCEO3BQF/yzcBAQECA=,aO48sA==; profile-level-id=64001e
a=control:trackID=0
m=audio 0 RTP/AVP 2
a=rtpmap:2 G726-32/8000/1
a=control:trackID=1
SETUP rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1/trackID=0 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
CSeq: 2
User-Agent: Rtsp/0.1

RTSP/1.0 200 OK
Server: EasyDarwin/7.3 (Build/17.0325; Platform/Linux; Release/EasyDarwin; State/Development; )
Cseq: 2
Cache-Control: no-cache
Session: 8613353031327382293
Date: Thu, 07 Nov 2019 18:56:18 GMT
Expires: Thu, 07 Nov 2019 18:56:18 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

SETUP rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1/trackID=1 RTSP/1.0
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
CSeq: 3
User-Agent: Rtsp/0.1
Session: 8613353031327382293

RTSP/1.0 200 OK
Server: EasyDarwin/7.3 (Build/17.0325; Platform/Linux; Release/EasyDarwin; State/Development; )
Cseq: 3
Session: 8613353031327382293
Cache-Control: no-cache
Date: Thu, 07 Nov 2019 18:56:18 GMT
Expires: Thu, 07 Nov 2019 18:56:18 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

PLAY rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1 RTSP/1.0
Range: npt=0.000-
CSeq: 4
User-Agent: Rtsp/0.1
Session: 8613353031327382293

RTSP/1.0 200 OK
Server: EasyDarwin/7.3 (Build/17.0325; Platform/Linux; Release/EasyDarwin; State/Development; )
Cseq: 4
Session: 8613353031327382293
Range: npt=now-
RTP-Info: url=rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp,url=rtsp:/124.156.192.204:554/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp?token=a87e7250f8193ccd5a39ddfe3cc6325f&ipc=28300003151&t=1573153029&sign=4a1adc8015c05954edac677a165cde35&pwd=37ecc6d2b4048ddfe216404c8fb1d8a9&app=1/hw_59b0e8eb9923603f76f0f0998cb60f51.sdp
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,716
Reaction score
38,912
Location
Alabama
Try these...NOTE: put 2 forward slashes after "rstp", the forum software will not allow 2 next to each other!:

rtsp:/Camera-IP:554/user=admin&password=&channel=&stream=.sdp? (no password)

--or--

rtsp:/Camera-IP:554/user=[USERNAME]&password=[PASSWORD]&channel=1&stream=0.sdp?
 

a7m221

n3wb
Joined
Sep 1, 2019
Messages
13
Reaction score
0
Location
sa
i have got it to work only with VLC but its ... i dont know

- i started the steam from the phone application and kept it on
- then i went to wireshark to grap the rtsp link ( that kept changing every time i start the stream even when im disabling the DHCP in the app but still on apparently )
- while the stream is on i copied that LONG rtsp link and placed it in VLC and it started streaming !

when ever i stopped the phone application stream the rtsp link is no longer valid so i guess the camera is locked intentionally ! i dont know why
and the reslotion is very bad and glitch alot in the VLC
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,716
Reaction score
38,912
Location
Alabama
If you scanned a QR code to get it to work with your phone app then its likely using P2P and therefore streaming up to their server then back down and that's why the URL you see with wireshark changes (I'm just guessing here).
 

a7m221

n3wb
Joined
Sep 1, 2019
Messages
13
Reaction score
0
Location
sa
If you scanned a QR code to get it to work with your phone app then its likely using P2P and therefore streaming up to their server then back down and that's why the URL you see with wireshark changes (I'm just guessing here).
interesting
but it had ap mode wifi from the camera i connect to then give it my wifi password

im gonna close my internet and keep the wifi on ill see if it works with my phone
 
Top