Hello,
I would like to capture a stream from a video url (on Android platform).
I have an Android app which stores a video file in its storage. The video file is served at a specific Url. And in a local network, I can use another device (the same app) to play the video file. The player I used is Exoplayer (an application level media player for Android).
I would like to capture a stream from that video url, and send the stream to another device using a peer to peer connection, so the other peer can also view the video, and both devices (same app) now play (view) the video in sync.
So, I think of 2 possible ways:
1. Capture a stream from a video url, and send the stream to another peer.
2. The video player uses a TextureView to render the video content. The app would capture the view, or the renderer's data, as a stream. Then the app sends the stream to another peer.
Which way is possible?
Thank you!
