I am working in one application, In which I am using tokbox for the video calling, But before displaying the Active call screen, I need to show the front camera preview to the user. Using tokbox publisher we can't do that otherwise, the video will reach the end user before call accept.
So How can we show Front Camera Video preview(Just the preview, I don't need any capturing or anything) in the framelayout using Camera2 API of Android?
You can use instantiate the publisher and use it's view, and not publish to the session initially.