Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Media files do not buffer/stream

Ajmal_2608
Nimbostratus
Nimbostratus

Hi,

 

 

There are multiple content in our websites which are Media files most are swf (flash), they do not stream like a normal media/video file, rather they get downloaded completely and then start playing.

 

 

People say that this was working when the site was loadbalanced by APACHE, and problem started after migration to LTM

 

Any suggestions?

 

 

Version 10.2

 

5 REPLIES 5

nitass
F5 Employee
F5 Employee
problem started after migration to LTMso,... what is the problem??

Ajmal_2608
Nimbostratus
Nimbostratus

Earlier the video files used to start playing with some part downloaded (Live Streaming) and simultaneously remaining part was downloaded (Like a normal Youtube video)

 

 

Now - It starts playing only when the complete file is downloaded to browser

 

nitass
F5 Employee
F5 Employee
is it rtmp? what variation are you using?

 

 

Real Time Messaging Protocol

 

http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol

 

 

can you post the virtual server configuration?

Ajmal_2608
Nimbostratus
Nimbostratus
I think it is using RTMPT as everything works on HTTP/HTTPS only

 

 

 

Config (Modified to remove propitiatory data)

 

 

================================================

 

VIP

 

------

 

 

virtual test.net-https {

 

snat automap

 

destination 10.10.10.10:https

 

ip protocol tcp

 

rules test.net.iRule

 

profiles {

 

test.net-HttpProfile {}

 

test.net-SSL {

 

clientside

 

}

 

tcp-lan-optimized {

 

serverside

 

}

 

tcp-wan-optimized {

 

clientside

 

}

 

}

 

}

 

 

==============================================

 

 

HTTP Profile

 

---------------

 

 

profile http ala.sabanow.net-HttpProfile {

 

defaults from http-wan-optimized-compression-caching

 

ramcache disable

 

compress content type include {

 

"text/"

 

"application/(xml|x-javascript)"

 

"application/javascript"

 

}

 

compress content type exclude none

 

}

 

 

==============================================

 

 

iRule

 

--------

 

 

rule test.net.iRule {

 

when RULE_INIT {

 

set safe_http_methods [list "GET" "PUT" "DELETE" "POST" "HEAD"]

 

}

 

 

when CLIENT_ACCEPTED {

 

set trafficLog "[IP::remote_addr] -> "

 

}

 

 

when HTTP_REQUEST {

 

set trafficLog "[HTTP::method] [HTTP::uri]"

 

Reject unsupported HTTP methods

 

if { ![matchclass [HTTP::method] equals $::safe_http_methods] } {

 

set trafficLog "$trafficLog REJECTED:badMethod"

 

log local0. $trafficLog

 

HTTP::respond 200 content "PROTOCOL ERRORAccess Denied: Unsupported HTTP METHOD.

 

Please contact customer support for further details." noserver

 

}

 

Before we consider sticky sessions

 

switch -glob [string tolower [HTTP::uri]] {

 

"/outtage" -

 

"/maintenance.html" {

 

HTTP::respond 200 content "Maintenance HTML Here" noserver

 

}

 

"*.exe*" -

 

"*.dll*" -

 

"/index.html" -

 

"/sso/" -

 

"/sso/index.html" -

 

"/jboss.css" -

 

"/logo.gif" -

 

"/manager*" -

 

"/status*" -

 

"/jmx-console*" -

 

"/web-console*" -

 

"/jbossws*" {

 

Unauthorized Access Attempted

 

set trafficLog "$trafficLog REJECTED:secureURI"

 

log local0. $trafficLog

 

HTTP::respond 200 content "PROTOCOL ERRORAccess Denied: Secure URI.

 

Please contact customer support for further details." noserver

 

}

 

"/" -

 

"" {

 

Auto-redirect to main login page

 

set trafficLog "$trafficLog 302 REDIRECT:mainLogin"

 

log local0. $trafficLog

 

HTTP::respond 302 noserver Location "https://[HTTP::host]/test/Web/Main"

 

}

 

}

 

Enforce Sticky Sessio

 

if { [HTTP::cookie "JSESSIONID"] ne "" } {

 

persist uie [HTTP::cookie "JSESSIONID"] 1920

 

}

 

Finally, Loadbalance requests not handled above

 

switch -glob [string tolower [HTTP::uri]] {

 

"/gatekeeper*" -

 

"/scorm_launch*" -

 

"/aicc_bridge*" {

 

use pool test-content-tomcat-pool

 

}

 

"/assets*" -

 

"/prodasset*" -

 

"/content*" -

 

"/deskassets*" -

 

"/prodcontent*" -

 

"/production*" -

 

"/test_images*" {

 

use pool test-content-apache-pool

 

}

 

"/axis*" -

 

"/test*" {

 

use pool test-app-pool

 

}

 

}

 

}

Ajmal_2608
Nimbostratus
Nimbostratus
Also, I tried following things

 

 

Attached default stream profile "Stream" on the VIP

 

Added applicaton/shockwave in the compression list on HTTP profile

 

 

Not none of the above 2 helped