Android RTSP Streaming over TCP

We are facing some problem with TCP streams, so we need help.

Project requirements: RTSP is transmitted over TCP. Take a snapshot of the streaming video. Stream multiple videos on one screen.

We used Android media player for RTSP streaming. But the media player only supports RTSP over UDP, it crashes over TCP. We need to support RTSP stream over TCP in the project.

Android VLC player supports RTSP streaming over TCP protocol. We tried VLC using this link https://wiki.videolan.org/AndroidCompile/ . But we cannot play multiple videos on the same screen, and also the snapshot capability cannot be realized as VLC uses SurfaceView to load videos.

Any suggestion regarding "streaming multiple RTSP videos over TCP" and "Snapshot" would be helpful.

Thanks in advance.

+3


source to share


1 answer


the VLC code is now updated.

  • it supports multiple instances.
  • You can use texture view to get a snapshot rather than a surface view.


hope this helps;)

+1


source







All Articles