curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: How to get a frame of image data from RTSP stream

From: Erik Janssen via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 6 Jul 2020 12:44:44 +0000

> Other documents I found that can use CURLOPT_INTERLEAVEFUNCTION and CURLOPT_INTERLEAVEDATA to get
> RTP data from RTSP server. But I still don't understand where I can get image data.

Curl only does the RTSP for you, like is the case with HTTP. RTSP-interleaving you can see as RTP-over-RTSP. Curl strips off the RTSP and what’s left is the RTP. You need to parse the RTP yourself and reassemble the media frames.

Erik

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-07-06