Add rtp module

This commit is contained in:
dijunkun
2023-09-04 17:31:47 +08:00
parent daf7caf5bb
commit 3389dc5751
4 changed files with 151 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ int VideoEncoder::Encode(const uint8_t *pData, int nSize) {
return -1;
}
if (0 == seq_++ % (30)) {
if (0 == seq_++ % (30 * 5)) {
ForceIdr();
}