This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Debug about wrong setting

Dear friends,
  In DVRRDK, we have packaged a SDK library for channels create, setting, destroy activities. In our application, we create each individual thread for each 16 channels,
And we found that sometimes the settings like frame rate, bit rate may be wrong. Initially, we think it should be thread-safe mechanism issue, so we add mutex lock for each API in SDK library. After modification, we still got the problem, and we think it may be timing issue. But we have no idea about continuing job.
Did you have any idea?

  • Do you have logs when the wrong setting occurs. Are you deleting and creating decode channels ? linkControl cmds and internally serialized in RDK so issuing cmds from multiple threads should not be an issue. There were some fixes related to decode channel delete / create specifically in RDK 3.5 in multi thread situation. Other cmds should not have any issue.