revid: writerate not being used as intended

Issue #303 resolved
Trek Hopton created an issue

The parameter writerate was introduced to be the shared encoder writing rate for video and audio. It would be base on fps for video, and based on recording period for audio.

Currently it is getting ignored and only fps is being used. This means audio recording does not function correctly.

Since revid has been refactored since the introduction of writerate, I propose we remove it because the writerate can be determined as mentioned above, by fps and recperiod. This can be done in the mtsEnc function passed to setupPipeline in reset() (revid.go). It will default to fps but if audio is the input, it will be calculated based on rec. period.

Comments (1)

  1. Log in to comment