Some bugs in the Red5 plugin?

I am running the Red5 1.0.4 plugin on my server and discovered some bugs.

  • If i login in with the wrong username or password in the LoginDialog, the page only refresh without showing any error message like (message.bad.request) or (message.not.authorized). It maybe showing the error but the page refreshes to fast for me to see. The user has no idea what is wrong.(This maybe a sparkweb problem??)

  • When you are in a videocall the status change to “On the phone” , but it only last from 20 sec to 60 sec then it changes back to green and “Available” which is a problem because people can then call while you are on the phone.

  • I have changed the HttpUrl in the Index.html file to one of my site, it’s seems to work fine, but a problem happens in IE when making a videocall. I lose control over the VideoCall window, i can’t close it or move it. Seems to be a focus problem, but it only happens in IE and only with some more complex sites. I am running IE 7.0.6001.18000.

Any Idea’s on these problem?

I have the project open in Flex Builder, so any code while help.

Regards Marius

Thanks for reprting these

The refresh (disconnection) problem is caused by this problem in XMPPConnection.as

protected function handleAuthentication(responseBody:XMLNode):void
{
var status:Object = auth.handleResponse(0, responseBody);
if (status.authComplete)
{
if (status.authSuccess)
{
loggedIn = true;
restartStream();
}
else
{
dispatchError(“Authentication Error”, “”, “”, 401);
disconnect();
}
}
}

The change in presence is a bug with VisualPresence. It is using the saved presence instead of current. Look at StatusBox.mxml

public static function save(curr:int):void {

savedP = sharedInstance.presences.selectedItem;
savedPIndex = sharedInstance.presences.selectedIndex;
sharedInstance.presences.selectedIndex = curr;

   currentShow = sharedInstance.presences.selectedItem.presence;
   currentStatus = sharedInstance.presences.selectedItem.status;  
  }

I can’t reproduce the third error

I have found a way to reproduce the third error.I have set up a test page that you can use in httpURL http://test.exss.no .

It looks like when a page contains table elements and these cover the area where Videocall or the Profil window will appear, then the mouse lose control over the window. You can not click on buttons or text fields. You can still use the keyboard to navigate the window. You will see that the border still remains even if you set webbrowser.visible to false. Of course this only happens in IE.

Thank you for your help on the other errors, your code worked fine.

Regards Marius

edit*

The problem is pages using

*<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">*
and **tables**.

IE does not hide all the element when setting webbrowser.visible to false.Like in this page
*http://itavisen.no* .You will see some elements will still be visible when the webbrowser is hidden. But the
main problem is using Doctype xhtml and tables.

other Doctypes like
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
works fine.

Message was edited by: mberg

Able to reproduce now. The method being used does not work on 100% of web pages.