Merge "Add callback for output stream." into rvc-dev am: 3e9669ff69 am: 5b1aa15d6b am: 8cc3b2f64c am: 2c3ef4da27

Change-Id: Ic75ab89ea9da486bbc8a71d4dfb98f17a2db8331