Android stream video from self signed HTTPS

  • Status: Pending
  • Hadiah: $75
  • Penyertaan diterima: 0

Keterangan Peraduan

I need a solution to stream HTTPS encrypted videos through the Android Media Player from a self signed URL. This works in browsers like Chrome where we can click a 'accept certificate' and continue. But by default android seems to throw an error when such and uri is passed to the [url removed, login to view] function.

The use case is that we are running a small micro server within the application and want to make sure the connection is secured but are not able to ensure that without https based communication between the media player and the local server.

One of the ideas is to write a wrapper that overrides the normal methods and suppresses the certificate error but still provides an encrypted stream to be played.

For testing you can use the following urls which have self signed certificates:
[url removed, login to view]
[url removed, login to view]

Kemahiran-kemahiran Cadangan

Papan Penerangan Awam

  • sopholos
    sopholos
    • 2 tahun yang lalu

    Why did not you simple buy ssl certificate? It costs about 50 USD for 3 years. You can even find free for one year

    • 2 tahun yang lalu
    1. sopholos
      sopholos
      • 2 tahun yang lalu

      if you have dns server on this local subnet - there is no problem, otherwise you are right...

      • 2 tahun yang lalu
    2. bigdognec
      Pemegang Peraduan
      • 2 tahun yang lalu

      Local would be on each user's mobile device. We do not have control over the DNS or host file entries of the user

      • 2 tahun yang lalu

Bagaimana mula dengan peraduan

  • Papar peraduan anda

    Papar Peraduan Anda Cepat dan senang

  • Dapatkan bertan-tan penyertaan

    Dapatkan Bertan-tan Penyertaan Dari seluruh dunia

  • Anugerahkan penyertaan terbaik

    Anugerahkan penyertaan terbaik Muat turun fail-fail - Senang!

Papar Peraduan Sekarang atau Sertai kami Hari Ini!