DescriptionFix VideoFramePump to send keep-alive packets only after the first real frame.
Many ClientSession unittests assume that the first video frame always
contains video dimensions. When running under valgrind the keep-alive timer
may fire before the first video frame is sent and this breaks the tests.
Fixed VideoFramePump to start sending keep-alive messages only after the
first real frame is sent. Also made the keep-alive timer non-repeating.
This ensures that the pump doesn't try sending a keep-alive message until
the previous one has been sent.
BUG=458691
Committed: https://crrev.com/9fa354c9fceaf32963d0c7ef1dcf7c1d869dddee
Cr-Commit-Position: refs/heads/master@{#316933}
Patch Set 1 : #
Total comments: 2
Messages
Total messages: 13 (3 generated)
|