Thursday, 15 March 2012

VideoView.setVideoURI() not accepting HTTPS -



VideoView.setVideoURI() not accepting HTTPS -

this.videoview.setvideouri(uri.parse(url+"&ext=.m3u8"));

the phone call never reaches server. http works fine. on other android devices (!=google tv) https works fine.

the url has format:

https://example.com/index.php?videoid=3&sessionid=xxxxxxxxxxxxxxxxxxx&ext=.m3u8

this php script homecoming m3u8 hls file. server never called.

this same if remove '&ext=.m3u8' part.

the certificate not self-signed. other calls https server, made app succeed without problem.

edit: error not helpful either. 0/0 (what/extra) using sony nsz-gs7 android googletv 3.2

there 2 issues above, 1) our hls player doesn't take https, , requires .m3u8 before ? (ie. .php isn't acceptable)

i'm not sure i'd go w/ krispy's suggestion, unless secondary files, .m3u8's , .ts's don't utilize https. could, of course, build little proxy in app resides on tv, , relay's https requests using https.

https videoview google-tv

No comments:

Post a Comment