jazzzzzzz Active Member Licensed User Longtime User Nov 24, 2016 #1 Am using exCamera to preview cam on panel,the cam panel position is above a videoview, The issue is that when i initialize camera the preview goes below videoview,I have used panel.bringtofront and that does not solve the issue.. if camera is not initialized in the panel then panel is showed above the videoview..Any ideas? Last edited: Nov 24, 2016
Am using exCamera to preview cam on panel,the cam panel position is above a videoview, The issue is that when i initialize camera the preview goes below videoview,I have used panel.bringtofront and that does not solve the issue.. if camera is not initialized in the panel then panel is showed above the videoview..Any ideas?
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2016 #2 The camera preview frames are drawn directly to the screen. Test it with ExoPlayer. The behavior might be different. Upvote 0
The camera preview frames are drawn directly to the screen. Test it with ExoPlayer. The behavior might be different.
jazzzzzzz Active Member Licensed User Longtime User Nov 24, 2016 #3 Erel said: The camera preview frames are drawn directly to the screen. Test it with ExoPlayer. The behavior might be different. Click to expand... I cant use ExoPlayer as it does not support RTSP.Any other solution? Upvote 0
Erel said: The camera preview frames are drawn directly to the screen. Test it with ExoPlayer. The behavior might be different. Click to expand... I cant use ExoPlayer as it does not support RTSP.Any other solution?
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2016 #4 You can hide the preview panel while the video is played. Upvote 0
jazzzzzzz Active Member Licensed User Longtime User Nov 24, 2016 #5 My videoview will be always playing from an RTSP IP Camera, as it is like a surveillance system. So I must have to show the device camera preview above the video without hiding the videoview Upvote 0
My videoview will be always playing from an RTSP IP Camera, as it is like a surveillance system. So I must have to show the device camera preview above the video without hiding the videoview
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2016 #6 You will need to resize / reposition the VideoView while the preview panel is visible. Upvote 0
jazzzzzzz Active Member Licensed User Longtime User Nov 24, 2016 #7 Erel said: You will need to resize / reposition the VideoView while the preview panel is visible. Click to expand... so no other way to pop over? Upvote 0
Erel said: You will need to resize / reposition the VideoView while the preview panel is visible. Click to expand... so no other way to pop over?
DonManfred Expert Licensed User Longtime User Nov 24, 2016 #8 jazzzzzzz said: so no other way to pop over? Click to expand... Yes. No other option. Upvote 0
jazzzzzzz Active Member Licensed User Longtime User Nov 25, 2016 #9 DonManfred said: Yes. No other option. Click to expand... I solved the issue by creating a new activity for camera and made activity as dialog using SetActivityAttribute(Main, android:theme, "@android:style/Theme.Dialog") so now video is playing background with camera as popup.. Upvote 0
DonManfred said: Yes. No other option. Click to expand... I solved the issue by creating a new activity for camera and made activity as dialog using SetActivityAttribute(Main, android:theme, "@android:style/Theme.Dialog") so now video is playing background with camera as popup..