I have everything setup and running with KalturaCE & Drupal and the server (Ubuntu 8.02+Apache2+PHP5+MySql) is working fine. The issue here I am having is unclassified.

When I play two videos together from my site, the second video which I played later doesn't start until the first completes its buffering. I did some HTTP watch and came to know that, both of the entries request the file with the URL as follows,

/kalturace/p/1/sp/100/flvclipper/entry_id/xxxxxx/flavor/1/version/100000

so the first video which I played receives a 302 redirect response to the URL as follows,

/kalturace/p/1/sp/100/flvclipper/entry_id/xxxxxxx/flavor/1/version/100000/a.flv?novar=0

and starts buffering and playing. While the second video which I started later just wait for a response till the first video end its buffering and then the second video receives its 302 redirect and start buffering

My question is, why can't both videos buffer concurrently? and Obviously this is what I require.

Your help is highly anticipated and much welcome.

Comments

xurizaemon’s picture

glance, from what you describe this is a behaviour in KalturaCE and not the Drupal module.

Unless you have some reason to think this issue is Drupal-specific, the correct forum for KalturaCE support is via the forums on Kaltura.org

Sorry! Feel free to question further but I will mark this closed here for now. "closed (works as designed)" unless you can convince me that the Drupal module for Kaltura is not working as designed.

xurizaemon’s picture

Status: Active » Closed (works as designed)

Would be interesting to know if this affects multiple client browsers on the same machine, multiple client machines, etc.

Here are a couple of guesses based on the assertion that the client is submitting it's requests to Kaltura and then the wait happens server side.

The obvious candidate in the Apache space is MaxClients. If that apache setting is low, then the server may be dropping your connections into its backlog until the first connection is completed. You can test this using regular large files which take some time to download on the server - that will establish whether it's KalturaCE or Apache which is causing the issue. To see this you'd either need a site which is already sitting at max for MaxClients (ie, not an unused dev site), or a very low MaxClients setting (like, 1!).

Another possible cause would be a mysql query lock. If KalturaCE's SQL is locking a table until the first request is completed, then the second request might hang like this. I'm not familiar enough with CE to suggest that this is the case, but you could easily debug using mtop on the server during the request to see if this is what's actually happening.

Please post URL of any discussion you create on kaltura.org so we can follow there too!

Cheers

glance’s picture

Sorry My bad but the reason I posted it in here was to receive some suggestion from people using the module & kaltura (Also Kaltura community doesn't respond well)
I couldn't find any status of the issue which could suit the post :)

Anyways, yes I have been checking every possibility. Currently My MaxClients is 15 in Apache. And you are rite I should increase the number and check. Also I am off to check DB tables as per your suggesstion.

The URL for the post is,

http://www.kaltura.org/videos-not-playing-simultaneously-0

I'll be posting back here and in the kaltura forums also.

PS: posting your comments back there as well.

Thanks very much indeed.

glance’s picture

I have gathered replies from different forums at http://www.kaltura.org/videos-not-playing-simultaneously-0