Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9F1310E7C for ; Sat, 29 Nov 2014 13:12:13 +0000 (UTC) Received: (qmail 73802 invoked by uid 500); 29 Nov 2014 13:12:12 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 73745 invoked by uid 500); 29 Nov 2014 13:12:12 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 73470 invoked by uid 99); 29 Nov 2014 13:12:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Nov 2014 13:12:12 +0000 Date: Sat, 29 Nov 2014 13:12:12 +0000 (UTC) From: "Simon Fetzel (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-8101) Additional http headers for Media plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Fetzel updated CB-8101: ----------------------------- Description: To access non-public media files, it is necessary to authenticate with a server. To do this, additional http headers are needed. It would be nice if this could be implemented in all platforms. I tried to implement it in Android: https://github.com/sfetzel/cordova-plugin-media/commit/4aa7a05ccf42268e0349aa794568d621a5cd4145 I didn't write any unit tests. Reason to implement this is, that the amount of private clouds (for instance ownclouds) are increasing. To write apps, which can stream from such clouds, this feature is needed. Furthermore, playing files from an https server with an self-trusted certificate did not work in Android. Connections are "insecure" from such servers, but in my opinion they are more secure than an unencrypted connection. Therefore there should be an option to enable connections to such servers. I didn't find a way to allow such connections in Android. was: To access non-public media files, it is necessary to authenticate with a server. To do this, additional http headers are needed. It would be nice if this could be implemented in all platforms. I tried to implement it in Android: https://github.com/sfetzel/cordova-plugin-media/commit/4aa7a05ccf42268e0349aa794568d621a5cd4145 I didn't write any unit tests. Reason to implement this is, that the amount of private clouds (for instance ownclouds) are increasing. To write apps, which can stream from such clouds, this feature is needed. Furthermore, playing files from an https server with an self-trusted certificate did not work in Android. Connections are "insecure" from such servers, but in my opinion they are more secure than an unencrypted connection. Therefore there should be an option to enable connections to such servers. > Additional http headers for Media plugin > ---------------------------------------- > > Key: CB-8101 > URL: https://issues.apache.org/jira/browse/CB-8101 > Project: Apache Cordova > Issue Type: New Feature > Components: Plugin Media > Reporter: Simon Fetzel > > To access non-public media files, it is necessary to authenticate with a server. To do this, additional http headers are needed. > It would be nice if this could be implemented in all platforms. > I tried to implement it in Android: > https://github.com/sfetzel/cordova-plugin-media/commit/4aa7a05ccf42268e0349aa794568d621a5cd4145 > I didn't write any unit tests. > Reason to implement this is, that the amount of private clouds (for instance ownclouds) are increasing. To write apps, which can stream from such clouds, this feature is needed. > Furthermore, playing files from an https server with an self-trusted certificate did not work in Android. Connections are "insecure" from such servers, but in my opinion they are more secure than an unencrypted connection. > Therefore there should be an option to enable connections to such servers. I didn't find a way to allow such connections in Android. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org