When you set video style to fit (setStyle(BaseVideoRenderer.STYLE_VIDEO_SCALE, BaseVideoRenderer.STYLE_VIDEO_FIT)) on PublisherKit or SubscriberKit, the video will be fit into the view and so it's possible to have black borders on some sides.
I would like to be able to change that color. IMO it makes sense to expose it via PublisherKit/SubscriberKit or BaseVideoRenderer. It seems like just storing it in renderer and using it in GLES20.glClearColor(); method should do the trick.
When you set video style to fit (
setStyle(BaseVideoRenderer.STYLE_VIDEO_SCALE, BaseVideoRenderer.STYLE_VIDEO_FIT)
) onPublisherKit
orSubscriberKit
, the video will be fit into the view and so it's possible to have black borders on some sides.I would like to be able to change that color. IMO it makes sense to expose it via
PublisherKit
/SubscriberKit
orBaseVideoRenderer
. It seems like just storing it in renderer and using it inGLES20.glClearColor();
method should do the trick.