UnSupport TP-LINK IPC DESCRIBE
`RTSP/1.0 200 OK CSeq: 3 Date: Fri, Jan 10 2020 08:20:21 GMT Content-Base: rtsp://192.168.35.39:554/stream1/ Content-Type: application/sdp Content-Length: 604
v=0 o=- 14665860 31787219 1 IN IP4 192.168.35.39 s=Session streamed by "TP-LINK RTSP Server" t=0 0 m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:4096 a=range:npt=0- a=control:track1 a=rtpmap:96 H265/90000 a=fmtp:96 profile-space=0;profile-id=1;tier-flag=0;level-id=153;interop-constraints=000000000000;sprop-vps=QAEMAf//AUAAAAMAAAMAAAMAAAMAmawJ;sprop-sps=QgEBAUAAAAMAAAMAAAMAAAMAmaADwIARB8uWu5G4NcqqbAgAAAMACAAAAwB4QA==;sprop-pps=RAHAc8BBgwk= m=audio 0 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=control:track2 m=application/tp-link 0 RTP/AVP smart/0/25000 a=rtpmap:95 tp-link/25000 a=control:track3`
when parse DESCRIBE respone, throw error
sdp: strconv.Atoi: parsing "smart/0/25000": invalid syntax on line 15 'm=application/tp-link 0 RTP/AVP smart/0/25000'
@ github.com/pixelbender/go-sdp/sdp/decoder.go:237
Thanks. Confirmed. It should use profile and media type to decode rest of fmt part.
@rikugun Fixed.