A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
my_rtsp_player/
├── android/
├── ios/
├── lib/
│ ├── main.dart
│ ├── screens/
│ │ ├── home_screen.dart
│ │ ├── player_screen.dart
│ │ └── add_rtsp_screen.dart
│ ├── models/
│ │ └── rtsp_stream.dart
│ ├── services/
│ │ ├── rtsp_service.dart
│ │ └── media_service.dart
│ ├── widgets/
│ │ ├── stream_list.dart
│ │ ├── stream_item.dart
│ │ └── player_controls.dart
│ └── utils/
│ ├── config_manager.dart
│ └── media_utils.dart
├── pubspec.yaml
└── README.md
Summary
- Android/iOS:
Uses flutter_vlc_player.Uses medit-kit. Web: Uses video_player.👉👉👉[Stack Overflow]How to play RTSP streams in Flutter WEB.- Windows, macOS, Linux:
Uses dart_vlc.Uses medit-kit.
RTSP Test Server
Details for RTSP Test Server: https://github.com/RSATom/rtsp-test-server
Available urls:
- rtsp://localhost:8554/bars
- rtsp://localhost:8554/white
- rtsp://localhost:8554/black
- rtsp://localhost:8554/red
- rtsp://localhost:8554/green
- rtsp://localhost:8554/blue
- rtsp://localhost:8554/bars-vp8
- rtsp://localhost:8554/white-vp8
- rtsp://localhost:8554/black-vp8
- rtsp://localhost:8554/red-vp8
- rtsp://localhost:8554/green-vp8
- rtsp://localhost:8554/blue-vp8