[mythtv-users] Mythweb (Flowplayer) and Android OS

Bob Sully rcs at malibyte.net
Sat Apr 9 20:22:14 UTC 2011

> On Mon, Sep 6, 2010 at 2:37 AM, Bob Sully <rcs at malibyte.net> wrote:
>> David Whyte wrote:
>>> On Mon, Sep 6, 2010 at 2:09 PM, Bob Sully <rcs at malibyte.net> wrote:
>>>> 200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip]
>>>> 'theurl.flv''
>>>> where 'theurl.flv' is my Mythweb's url with the path/filename, of
>>>> course.
>>> What do your web server logs say?
>>> My HTC Hero doesn't even load the player unfortunately. ?But I agree,
>>> it would be cool to get these flash streams to play on the android
>>> devices.
>> David, here's the dump from the apache2 error log:
>> [Sun Sep 05 20:29:20 2010] [error] [client] Digest: uri
>> mismatch -
>> <https://www.malibyte.net:6943//mythweb/pl/stream/1479/1283691540.flv>
>> does not match request-uri <//mythweb/pl/stream/1479/1283691540.flv>,
>> referer:
>> https://www.malibyte.net:6943/mythweb/tv/flowplayer-3.1.1.swf?0.5081669306382537
>> Same happens when I access it via http: rather than https:.
>> The Myth box is in my internal network. Port 4680 on the firewall is
>> being forwarded to 80 on the Myth box, likewise for 4743 and 443. ?So it
>> appears that the url is getting truncated, hence the mismatch.
>> This must be a browser-specific issue on the phone, because I have no
>> problem streaming through Firefox on my laptop remotely.
>> Bob
> It apparently has to do with the way the Android browser (w/flash)
> requests digest authenticated files, then mod_rewrite gets involved
> and apache gets cranky.
> I was able to work-around this problem by disabling authentication for
> .flv streams.  The directive is in the sample apache mythweb config
> file, but it is commented out:
> <LocationMatch .*/pl/stream/[0-9]+/[0-9]+.flv>
>     Allow from all
> </LocationMatch>
> I added the .flv part to make me slightly better about disabling
> authentication.
> --Glenn

Glenn, tried this.  I no longer get the error message on the phone, but it
just doesn't do anything.

Checking the /var/log/apache2/error.log file on the backend, I see this:

[Sat Apr 09 13:07:12 2011] [error] [client] Digest: uri
mismatch -
<http://www.domain.com:4680//mythweb/pl/stream/2071/1301461260.asx> does
not match request-uri <//mythweb/pl/stream/2071/1301461260.asx>

Obviously, there's another setting I need to tweak...!

Bob Sully - Simi Valley, California, USA

More information about the mythtv-users mailing list