| | |
| | | void rtsp_client_fmtp_callback(void* arg, const char* val);
|
| | | void rtsp_client_frame_callback(void* arg, uint8_t* buffer, size_t buffSize);
|
| | | void rtsp_client_continue_callback(void* arg);
|
| | | #include "RTSPClient.hpp"
|
| | | #include "live555/testProgs/testRTSPClient.hpp"
|
| | |
|
| | | struct RTSPClient_Internal
|
| | | {
|
| | |
| | | {
|
| | | pthread_mutex_destroy(frame_mutex);
|
| | | delete frame_mutex;
|
| | | frame_mutex = nullptr;
|
| | | }
|
| | |
|
| | | if (continue_mutex != nullptr)
|
| | | {
|
| | | pthread_mutex_destroy(continue_mutex);
|
| | | delete continue_mutex;
|
| | | continue_mutex = nullptr;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | pthread_mutex_destroy(frame_mutex);
|
| | | delete frame_mutex;
|
| | | frame_mutex = nullptr;
|
| | | }
|
| | |
|
| | | frame_mutex = new pthread_mutex_t;
|
| | |
| | | {
|
| | | pthread_mutex_destroy(continue_mutex);
|
| | | delete continue_mutex;
|
| | | continue_mutex = nullptr;
|
| | | }
|
| | |
|
| | | continue_mutex = new pthread_mutex_t;
|