Post date: Sep 25, 2017 11:38:20 AM
To manage the WiFi direct/p2p connection you could use something like:
android.net.wifi.p2p
To stream the video from a device, checkout these open-source examples
spydroid ipcamera
ipcamera for android
SIPDroid
To handle displaying the video, (depending on the video stream) you could use:
An updating ImageView
A VideoView
See: Video Streaming and Android
A WebView