Reply To: Crossfire release 0.5.0 (webbased streaming client)

#16733
Anonymous
Inactive

@fizze wrote:

Thanks – this is awesome! 🙂
I’ll dig out my sf.net account and log the next bug myself.

I’ll let you know how it worked out, once I’m back home.

Hi Fizze,

here is the right solution to get Crossfire work without using the binairy_proxy.php (so you can use ALL templates). Please note: this solution will not work for iPhone’s since direct streaming causes ‘Broken stream pipe’s in Firefly’.

In my next release i will create a config_parameter for this solution, but for now you will just have to edit the file ;).

Edit the ‘index.html’ file:
locate the function

function openPlayer(p_itemid , p_element_id) {
...
...
[remove the line:]
playlist_url = base_url + '/binairyproxy.php?enc_url='+ encode64(playlist_url) +'&nocache='+ createTimeStamp();
....
[and]
[remove the line:]
url = base_url + '/binairyproxy.php?enc_url='+ encode64(url) +'&nocache='+ createTimeStamp();
...
}

now Edit your config.xml file and specify the hostname or ip of your NSLUG (NOT localhost!!!).

Let me know if this works, and I will parameterize the solution as: enable-direct-stream 😉

Cheers![/code]