Android stream video from self signed HTTPS

  • Durum: Pending
  • Ödül: $75
  • Alınan Girdiler: 0

Yarışma Özeti

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]

Tavsiye Edilen Beceriler

Genel Açıklama Panosu

  • sopholos
    sopholos
    • 2 yıl önce

    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 yıl önce
    1. sopholos
      sopholos
      • 2 yıl önce

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

      • 2 yıl önce
    2. bigdognec
      Yarışma Sahibi
      • 2 yıl önce

      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 yıl önce

Yarışmalara nasıl başlanır

  • Projenizi ilan edin

    Yarışmanızı İlan Edin Hızlı ve kolay

  • Tonlarca girdi alın

    Tonlarca Girdi Alın Bütün dünyadan

  • En iyi girdiyi seçin

    En iyi girdiyi seçin Dosyaları indirin - Kolay!

Şimdi bir Yarışma İlan Et ya da Bugün Bize Katılın!