yweb: speed up LiveTV

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@464 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
yjogol
2010-03-07 08:23:31 +00:00
parent f08ec3778c
commit 2622deda9a

View File

@@ -25,7 +25,7 @@ function do_onload(){
change_button_img('udp',"udp_switch_off");
else if(Mode == "tv")
change_button_img('udp',"udp_switch_on");
window.setTimeout("do_init()",300);
window.setTimeout("do_init()",100);
}
function do_onresize(){
if((vlc_width+Window_delta_w != window.innerWidth) || (vlc_height+Window_delta_h != window.innerHeight)){
@@ -57,8 +57,8 @@ function do_resize(){
}
function do_init(){
live_switchto(Mode);
vlc_width = 384;
vlc_height = 288;
// vlc_width = 384;
// vlc_height = 288;
Window_delta_w = yClientWidth() - vlc_width;
Window_delta_h = yClientHeight() - vlc_height;
@@ -73,7 +73,7 @@ function do_init(){
}
function i_interval(){
obj_update('bouquets_div', "<img src=\"/images/smallwait.gif\"/> "+Lgetting_bouquets);
window.setTimeout("i_interval2()",300);
window.setTimeout("i_interval2()",100);
}
function i_interval2(){
build_bouquet_list(-1);
@@ -237,7 +237,7 @@ function change_channel(){
channel = dd[sel].value;
do_stop();
AudioChannel = 0;
window.setTimeout("change_channel_zapto(\""+channel+"\")",500);
window.setTimeout("change_channel_zapto(\""+channel+"\")",100);
}
function change_sub_channel(){
var dd = id('subs');
@@ -247,7 +247,7 @@ function change_sub_channel(){
channel = dd[sel].value;
do_stop();
AudioChannel = 0;
window.setTimeout("change_channel_zapto(\""+channel+"\")",500);
window.setTimeout("change_channel_zapto(\""+channel+"\")",100);
}
function change_channel_zapto(channel){
dbox_zapto(channel);
@@ -314,7 +314,7 @@ function doChangeAudioPid(){
AudioChannel = dd.selectedIndex;
do_stop();
// insert_message_control("... zapping ...");
window.setTimeout("change_channel_play()",1000);
window.setTimeout("change_channel_play()",100);
}
function build_audio_pid_list(){
var audio_pids_url = "/y/cgi?execute=func:get_audio_pids_as_dropdown";