I should write RTSP client in c programming using VLC library , I have some questions about this :
- I didn't find any already function in VLC library to send RTSP SETUP request , should I write it from scratch ?
- When I send the RTSP SETUP request , I must open 2 sockets for RTP and RTCP to send its ports number to live555 media server to receive the data through these port , Do you need to open another socket for UDP to receive the response of RTSP SETUP/PLAY/PAUSE/STOP request to control the transmission data process ?
- When I want to pause the transmission data process at application layer , I should send RTSP PAUSE request to server and send PAUSE request to player to stop the transmission data process temporarily, but I don't know what functions in VLC library are used for this purpose , can you tell me about what these functions are?
Thank you.