Added functionality for analyse black frames and cut them

https://github.com/muaz-khan/WebRTC-Experiment/pull/293 by @volodalexey