I have successd run runtime_source_add_add_delete from github. when I use local file for test, it is all OK, it can add and delete source correctly. However when I change input from local file to rtsp, some errors happend. It can add source, but when call stop function, it shows error like this:
Calling Stop 3
STATE CHANGE SUCCESS
STATE CHANGE SUCCESS 0x7e800221b0
ERROR from element source: Unhandled error
Error details: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:dstest-pipeline/GstURIDecodeBin:source-bin-03/GstRTSPSrc:source:
Option not supported (551)
Returned, stopping playback
Deleting pipeline
Please tell me what should I do to fix this problem. Thanks!