• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

flash media server 4 loadvars encoding issue.

Guest
Nov 01, 2010 Nov 01, 2010

Copy link to clipboard

Copied

LoadVars in flash media server 4 gives me HttpStatus 0. The same call in flash media server 3.5.1 works. Not sure what has changed in FSM 4 javascript engine related to encoding.

SessionID=9f2bc0eb%2d7d5d%2d42cf%2d9425%2db8211ee2b57e&filename=testfile%2eflv&contenttype=video%2fx%2dflv

Any pointers would be helpful.

Views

838

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 01, 2010 Nov 01, 2010

Copy link to clipboard

Copied

I am putting the step in detail so that some can answer what has changed in FMS 4 for below call to fail.Below code works in 3.5.1.

var entry = new LoadVars();

entry.SessionID="fffd9f3d-4712-4fd4-b6bb-c56ea9a30fba";

entry.filename="test.flv";

entry.type="video/x-flv";

var resp = new LoadVars();

// resp had onData handle to process the resp.

entry.sendAndLoad("http://xyz:123456",resp,"POST");

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 12, 2010 Nov 12, 2010

Copy link to clipboard

Copied

Hi kanr ,

I tried this code on my FMS 4.0 server.

application.onAppStart = function() {

var entry = new LoadVars();

entry.SessionID="fffd9f3d-4712-4fd4-b6bb-c56ea9a30fba";

entry.filename="test.flv";

entry.type="video/x-flv";

var resp = new LoadVars();


resp.onData = function(data) {
  trace("onData" );
}

resp.onHTTPStatus = function(status) {
  trace("status: "+status);
}

entry.sendAndLoad("http://localhost:8134/cgi-bin/test.pl",resp,"POST");
}

I do get the HTTP Status as expected i.e 200 in onHTTPStatus. Are you trying something different from this that is not working. If required, you can provide me more details on abh@adobe.com

Thanks,

Abhishek

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 13, 2010 Nov 13, 2010

Copy link to clipboard

Copied

LATEST

Thanks for the reply.

If the HTTP response contains below header it is causing the problem. My

weblogic server was returning below header was causing issue in FMS 4. FMS

3.5.1 is able to handle the chunked responses.

Transfer-Encoding: chunked

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines