Skip to content

Multi-RTSP support on Android

Summary

Play CCTV via RTSP by url,

I created three MediaPlayer in on scene(just copy and change the path),build and play.

No.1 Camera work just fine,

No.2 Camera will flicker all the time(can't present on the Screenshot but it's really obviously in reality),

No.3 Camera won't work with no error(Play the same url with No.2 Camera,is this irrelevant?).

And after a while(dozens minutes),the canvas will full of snowflakes

Minimal project and steps to reproduce

What is the current bug behavior?

What is the expected correct behavior?

Does it work on other plaforms? Does it work with the official VLC apps?

Relevant logs and/or screenshots

图片 Screenshot_20220714_165759_com.ARAS.VLCTest_1_.jpg Screenshot_20220714_171512_com.ARAS.VLCTest_1_

Environment

  • OS: PC And Android
  • Version
  • Device:
  • LibVLC version and architecture 4.0.0-dev-19105-gb7b5fd49c8
  • LibVLCSharp version 4.0.0.0
  • VLC Unity plugin version 0.0.2
  • Scripting backend used Mono
  • Unity version 2020.3.33f1

Possible fixes

Edited by Martin Finkel