You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Seeking and Byte - Range Request Issue Created Aug 26, 2010

This thread is solved

Views: 4153     Replies: 10     Last reply Aug 27, 2011  
You must login first before you can use this feature

arehman

Posts: 15

Registered:
Jul 22, 2010

Seeking and Byte - Range Request Issue

Posted: Aug 26, 2010

I was testing version 3.2.3 and pseudo streaming plug-in for byte range seeking. We have IIS 7.0 which supports byte range requests.
But, after setting up an example as described here HTTP streaming with byte-range requests, I was unable to seek.

After monitoring HTTP terrific, I don't see any extra header for byte-range request when I click on timeline.

'Demo 1' example has same behavior. It seems seek is only working using module installed on server by passing start parameter e.g. /vod/demo.flowplayer/Extremists.flv?start=6205081 in query string.

Isn't this supposed to work by sending a byte-range request like Range: bytes=25600-26850 or I'm missing something?

-- Thanks

arehman

Posts: 15

Registered:
Jul 22, 2010

» Seeking and Byte - Range Request Issue

Posted: Aug 28, 2010

Reply to: Seeking and Byte - Range Request Issue, from arehman
Any idea?

richard_ngn

Posts: 7

Registered:
Aug 28, 2010

» » Seeking and Byte - Range Request Issue

Posted: Aug 28, 2010

Reply to: » Seeking and Byte - Range Request Issue, from arehman
I second the motion.

There is no sign of any HTTP header regards a range request, even on the range-request demo:

/vod/demo.flowplayer/Extremists.flv?start=19329805

I have Flash 10,1,82,76

Anssi
Flowplayer Flash & video streaming developer

Posts: 1194

Registered:
Jul 24, 2007

» » » Seeking and Byte - Range Request Issue

Posted: Aug 30, 2010

Reply to: » » Seeking and Byte - Range Request Issue, from richard_ngn
Just found out that this actually requires a script on the server. See here:http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html Because of this we are more or less back on the drawing board with our byte-range support....

This non-functional feature got out of the door because this demo is not correctly configured. It's using normal pseudostreaming instead of byte-range requests. To enable byte-range requests the rangeRequests: true goes to the pseudostreaming plugin conf instead of clip.

But if you install the policy file server things will work.

richard_ngn

Posts: 7

Registered:
Aug 28, 2010

» » » » Seeking and Byte - Range Request Issue

Posted: Aug 30, 2010

Reply to: » » » Seeking and Byte - Range Request Issue, from Anssi
Shame they don't split the range-request feature out of that.

However, I just looked at my packet captures and don't see any non port:80 requests or attempts to download a policy file.

What am I missing?

Anssi
Flowplayer Flash & video streaming developer

Posts: 1194

Registered:
Jul 24, 2007

» » » » » Seeking and Byte - Range Request Issue

Posted: Aug 30, 2010

Reply to: » » » » Seeking and Byte - Range Request Issue, from richard_ngn
Check the Adobe doc page: You will need to setup a special server-side script to serve the socket policy file.

"What data is sent in the request and response?

The request for a policy file is very simple: Flash Player sends the string <policy-file-request/> followed by a NULL byte to the port where it is requesting a policy file; no more, no less. "


richard_ngn

Posts: 7

Registered:
Aug 28, 2010

» » » » » » Seeking and Byte - Range Request Issue

Posted: Aug 30, 2010

Reply to: » » » » » Seeking and Byte - Range Request Issue, from Anssi
Exactly.

I have wiresharked the connection and don't see any attempt to open that port.

The packet sniffer doesn't lie, if the browser doesn't at least try to open that port, then there must be more to this and meets the eye.

jaltuve

Posts: 21

Registered:
Jun 13, 2008

» » » » » » » Seeking and Byte - Range Request Issue

Posted: Oct 6, 2010

Reply to: » » » » » » Seeking and Byte - Range Request Issue, from richard_ngn
make sure that:

rangeRequests: true

is present in the pseudo plugin options.

I have tested the policy file server, and flash does request the file but the video is never served. If I remove rangeRequests it works.

kellen_sunderland

Posts: 4

Registered:
Oct 12, 2010

» » » » » » » » Seeking and Byte - Range Request Issue

Posted: Oct 12, 2010

Reply to: » » » » » » » Seeking and Byte - Range Request Issue, from jaltuve
I get the same behavior. Here's the output from my socket server:

Waiting for a connection... Connected!
Received: <policy-file-request/>
Sent: <?xml version="1.0"?>
http://www.macromedia.com/xml/dtds/cross-d
omain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" to-ports="*"/>
</cross-domain-policy>
Waiting for a connection...

And I then get the spinning wheel with no video playing. This feature seems broken.