unity icon indicating copy to clipboard operation
unity copied to clipboard

Web support

Open bdlukaa opened this issue 2 years ago • 0 comments

Add web support for the package.

  • [x] Block RTSP source on the web RTSP streams are not available in most of browsers. Only HLS and MJPEG should be options, which HLS being the default.
  • [x] Block dart:io:Platform calls. TargetPlatform and kIsWeb should be used instead.
  • [ ] Implement routes and url options
    • [ ] Use go_router to make routing and sub-routing.
    • [ ] Implement url options, such as hiding the navigator tray and other app settings. This is useful specially for embedding the website and viewing a specific screen, for example.
  • [x] File handling Web doesn't support i/o operations, and handling files as file entities is not possible. Use bytes whenever possible.

bdlukaa avatar Jan 18 '24 17:01 bdlukaa