i am using libcurl to send rtsp commands (over tcp) to a server. usually, when i want to stream over udp, i have to allocate udp ports and share them with the server in the setup command. however, when using tcp, i can tell the server to start sending rtp packets over the same tcp port used to send commands in an interleaved fashion right after an rtsp play command is sent.

in wireshark, i can see that the rtsp tcp port (the one to send commands) is receiving these rtp packets. however, i can't seem to find a way to get hold of them. i was expecting CURLOPT_WRITEFUNCTION to get repeatedly called with the packet but that isn't happening.

is there a curl function like CURLOPT_WRITEFUNCTION that can act as a 'stream receiver'?
 
-best,
abhi
 
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to