Hi, it seems everyone's working on webrtc including us: https://stackoverflow.com/questions/62738263/antmedia-native-interface-issues Is the border layout container in the center of a border form? First test that the parent container gets enough space, give it some padding and a border so you'll be able to see it. If it's tiny or invisible then that's the problem.
On Wednesday, July 8, 2020 at 12:23:14 AM UTC+3 davidwaf wrote: > Hi, > > I am trying to use an Android native component > (org.webrtc.SurfaceViewRenderer), of which am returning as PeerComponent > from the native code, and I add it to the CENTER of a container with > BorderLayout. But it does not display anything. > This component, as you can imagine, displays video streams via WebRTC. > > Having ported the original code from an Android Studio project, I realize > they use activity_main.xml for layout which works fine when run via > Android studio. > Is there a way I can include activity_main,xml in CN1 so that I can > hopefully replicate the same layout behaviour ? > > Or any suggestions on how to get such a native component to > correctly display ? > > -- > David W > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/add717b2-6692-43a1-b3fb-3b467db1241an%40googlegroups.com.
