| | |
| | | if (client->manager == nullptr)
|
| | | return;
|
| | |
|
| | | client->manager->set_global_param(PLGP_RTSP_SDP, val);
|
| | | client->manager->set_param(PLGP_RTSP_SDP, val);
|
| | | }
|
| | |
|
| | | void rtsp_client_fmtp_callback(void* arg, const char* val)
|
| | |
| | | if (client->manager == nullptr)
|
| | | return;
|
| | |
|
| | | client->manager->set_global_param(PLGP_RTSP_FMTP, val);
|
| | | client->manager->set_param(PLGP_RTSP_FMTP, val);
|
| | | }
|
| | |
|
| | | void rtsp_client_frame_callback(void* arg, uint8_t* buffer, size_t buffSize, timeval presentationTime)
|
| | |
| | | int ret = pthread_mutex_unlock(in->frame_mutex);
|
| | | if(ret != 0)
|
| | | {
|
| | | printf("pthread_mutex_unlock frame_mutex: %s/n", strerror(ret));
|
| | | LOG_ERROR << "pthread_mutex_unlock frame_mutex: " << strerror(ret) << std::endl;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | int ret = pthread_mutex_lock(in->continue_mutex);
|
| | | if(ret != 0)
|
| | | {
|
| | | printf("pthread_mutex_unlock continue_mutex: %s/n", strerror(ret));
|
| | | LOG_ERROR << "pthread_mutex_unlock continue_mutex: " << strerror(ret) << std::endl;
|
| | | }
|
| | | }
|