Put jitsi on view or fragment cannot share screen (android java)

i use jitsi and it’s work fine.
it can share screen if we launch jitsi
but the problem is when i put jitsiview inside a framelayout the share screen show I/org.webrtc.Logging: EglRenderer: Dropping frame - No surface. how can i share screen properly with this situation.