-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to see preview of producer camera when in the in-progress state (ACTION INVITE) #633
Comments
Also, in your AVScreen activity, you'll manage the VIEW depending on avSession STATE. its really simple, just replace the loadTryingView with a VIEW THAT you want, use a SurfaceView or TextureView, and load the CameraPreview, and use that inside StartPreview .. You use a |
NgnAVSession.Java mVideoProducer is getting initialized when the INVITE state is INCALL. So the only thing I can do is before reaching the INCALL state need to create SurfaceView and attach a camera instance to it and then invoke the preview function. Once the call INVITE state reaches INCALL I need to release my camera lock and remove the surface view. Thanks for your suggestions. |
When initiating a video call I just tried to show the preview of the producer camera view returned invoking the method
public final View startVideoProducerPreview(){ if(mVideoProducer != null){ return mVideoProducer.startPreview(mContext); } return null; }
But unfortunately, I am getting null every time in the in-progress state. The video producer is only getting initiated when the call state is INCALL.
Can we show the preview of the caller on-screen before the call gets connected?
Expected output :
When the video call is in-progress state the preview of the caller should be displayed on his screen.
IMSDroid demo application output:
Rendering the loading try-view in the IMSDroid demo application.
The text was updated successfully, but these errors were encountered: