[go: up one dir, main page]

Skip to content

A Dynamic android player for RSTP Streams over network. Very useful to test streamming servers

Notifications You must be signed in to change notification settings

giobyte8/RTSPViewer

Repository files navigation

RTSP Viewer

Stores and play a collection of RTSP streams

       

For developers

If you want to play RTSP streams in your own app, you should check the PlayerFragment.

Basically all you have to do is to set a RTSP url to VideoView and start playback

// Configure media controller
MediaController mediaController = new MediaController(getContext());
mediaController.setAnchorView(viewBinding.vvPlayer);
mediaController.setMediaPlayer(viewBinding.vvPlayer);

// Configure video view to fetch stream
viewBinding.vvPlayer.setMediaController(mediaController);
viewBinding.vvPlayer.setVideoURI(liveStreamUri);
viewBinding.vvPlayer.start();

About

A Dynamic android player for RSTP Streams over network. Very useful to test streamming servers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages