Double-byte Chinese characters between Flash Media Server and WebLogic 9.2
i have installed a FMS (Flash Media Server 4.0 developer edition) and a weblogic server on linux. The two servers communicate with each other via WebService (Axis2 on Weblogic 9.2). i can send some XML message from FMS to the Weblogic server and receive message. but the returned message from the Weblogic server is as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>x8054x901Ax6027x6D4Bx8BD5</test>
</reports>
</response>
</root>
the returned messages between the <test> and </test> tag can be decoded to "测试联通性" in Chinese via utf-8. why not the returned messages just show the result as :
<test>测试联通性</test>
Later i made another test: copy the war file in weblogic server to a apache-tomcat server, then the FMS send XML message to apache-tomcat and got the correct message as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>测试联通性</test>
</reports>
</response>
</root>
then what is the problem with my weblogic? what shall i do to solve the problem? thank you for anyone who gives me some advice.
i have installed a FMS (Flash Media Server 4.0 developer edition) and a weblogic server on linux. The two servers communicate with each other via WebService (Axis2 on Weblogic 9.2). i can send some XML message from FMS to the Weblogic server and receive message. but the returned message from the Weblogic server is as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>x8054x901Ax6027x6D4Bx8BD5</test>
</reports>
</response>
</root>
the returned messages between the <test> and </test> tag can be decoded to "测试联通性" in Chinese via utf-8. why not the returned messages just show the result as :
<test>测试联通性</test>
Later i made another test: copy the war file in weblogic server to a apache-tomcat server, then the FMS send XML message to apache-tomcat and got the correct message as follows:
<?xml version="1.0" encoding="utf-8"?>
<root>
<response>
<result>1</result>
<reports >
<test>测试联通性</test>
</reports>
</response>
</root>
then what is the problem with my weblogic? what shall i do to solve the problem? thank you for anyone who gives me some advice.
Similar Messages
-
Record playback is very slow between Flash Media Server and Flash
hi all
I have done server side recording successfully with red5 flash media server and can see
that the flv record is being created properly.
Then if I try to playback the record like
NetStream.play("record.flv"), I see that stream playing is very very
slow, for both of audio and video.
And then if I try to playback the recorded file via using the
filesystem path of it, everthing seems fine.
Problem occurs when I try to sucscribe and play the stream of the record.
PS : There is no problem with playing the published stream
(NetStream.play("streamName"))
Does anyone have an idea about this issue?
If you need any additional information, please let me know.
Thanks in advance
RegardsIn a nutshell flowplayer delivers the video through your web
browser. It does this via http protocol (port 80) and progressive
download on any web server
Progressive download finds the video on the server and plays
it back through the player as it is being downloaded. 2 important
things to take from this are 1, the video is being downloaded to
the clients hard drive, at the end of the playback they will have a
copy of your video that they can do whatever they like to and
repost it somewhere else. 2, It plays back as it downloads, meaning
if I'm viewing a 10 minute video from your site and want to skip
ahead to the middle or end I have to wait for the whole video to
download before viewing those segments. Your web host by the way
will love you for progressive download because it will appear as
though your transfer rate has gone through the roof. Once the
request for the video is made there is no turning back, the client
gets the whole thing whether they watch it or not.
Flash media server uses the rtmp protocol. This protocol is
an open socket protocol through port 1935. This is a two way street
essentially. When the user views a video using FMS they basically
get only enough of the video to keep the connection open and
satisfy the required buffer to assure clean playback. The bytes of
info that carry the video only go to the users memory, not the hard
drive. This allows the user to jump back and forth around in the
movie without having to wait for the whole thing to download.
Hope that helps. -
What is diff between oracle application server and weblogic server?
what is the exact difference between oracle application server and weblogic application server?
The difference between Oracle Application Server AND WebLogic Server has been discussed in a lot of forums dated 2008 and earlier comparing OAS10g with WebLogic10.0/WebLogic9.2
But, now since Oracle has taken over WebLogic, this is not really important.
Now, OAS has no further releases post 10g. WebLogic Server will be the Oracle's strategic application server going forward.
So, if your query is for choosing one of them for a new environment, you are better of with WebLogic Server 10.3.6 OR WebLogic Server 12g
As we will not have further releases of OAS and also OAS10g will be end of life soon, we recommend Oracle WebLogic Server.
If you still want to know the differences, here is one such old oracle documentation link that talks about it
http://docs.oracle.com/cd/B10467_16/migrate.904/b10425/asmwl02.htm
Arun -
Flash Media Server and Red 5 server
Hi Folks...
This may sound a little off topic, but please bear with me. I would like to know if it is possible to run Action Script
Communication Files(.asc) on an red 5 server, just like how a .asc
file runs in the Flash Media Server. Hope someone can advise. Thanks.I dont think Red5 supports .asc file, it uses server-side javaScript however. You may like to check this page - http://red5.org/ticket/204
-
Flash Media Server and CloudFront.
Can we use CloudFront with Flash Media Server for Video on Demand?
I see article on CloudFront with Flash Media Server for Live Streaming.
Thanks in Advance
jeevan.FMS is staged on Amazon cloudfront that you can subscribe to , for video on demand and other services. You can get started right away. Thank you !
-
Flash Media Server and Pocket PC
Hello,
i'm develope an application of videoconference with flash
media server 2 and desktop pc. Now i would use pocket Pc. Can i
doing this?
Sorry for my english!
DemosHi,
Thanks for your interest in FMS and Strobe Media Player. SMP is a out of box sample player that can play streams from FMS and no coding is required for its basic functionality.
It can play RTMP and HTTP dynamic Streaming / HTTP progressive as well as multicast streams.
Download the Strobe media playback from http://www.osmf.org/strobe_mediaplayback.html , host it on a webserver and launch in a broswer.
launch either strobemediaplayback.html or setup.html to setup your own player with different settings.
Thank you ! -
Flash media server and strobe media player
Hi,
any one is done by sample program with Strobe media player and Flash media server?if yes means please send me some tutorials or sample file with steps how to do.Hi,
Thanks for your interest in FMS and Strobe Media Player. SMP is a out of box sample player that can play streams from FMS and no coding is required for its basic functionality.
It can play RTMP and HTTP dynamic Streaming / HTTP progressive as well as multicast streams.
Download the Strobe media playback from http://www.osmf.org/strobe_mediaplayback.html , host it on a webserver and launch in a broswer.
launch either strobemediaplayback.html or setup.html to setup your own player with different settings.
Thank you ! -
Function module to control printing of double byte chinese characters
Hi,
My sapscript printing of GR Slip often overflow to the next line whenever a line item encountered article desciption text in CHINESE.
The system login as "EN" but we do maintain article description in ENGLISH, ChINESE and mixture of both.
This result in different field length when printing.
Is there a way to control it and ensure that it will not overflow to the next line?
How does SAP standard deals with this sort of printing, single & double byte chars?
Please assist.This is the code that solved our issue.
Besides we set the InfoObject to have NO master data attributes: it was just used as text attribute in an DSO, not as dimensional attribute in a cube. This solved the issue of the SID value generation error.
FUNCTION z_bw_replace_sp_char.
""Local Interface:
*" IMPORTING
*" REFERENCE(I_STRING)
*" EXPORTING
*" REFERENCE(O_STRING)
FIELD-SYMBOLS: <ic> TYPE x.
Strings with other un-allowed char -
DATA:
ch1(12) TYPE x VALUE
'410000204200002043000020',
ch2(12) TYPE x VALUE
'610000206200002063000020'.
DATA:
x8(4) TYPE x,
x0(2) TYPE x VALUE '0020',
x0200(2) TYPE x VALUE '0200'.
DATA: v_len TYPE sy-index,
v_cnt TYPE sy-index.
o_string = i_string.
v_len = STRLEN( o_string ).
# sign
IF v_len = 1.
IF o_string(1) = '#'.
o_string(1) = ' '.
ENDIF.
ENDIF.
! sign
IF o_string(1) = '!'.
o_string(1) = ' '.
ENDIF.
DO v_len TIMES.
ASSIGN o_string+v_cnt(1) TO <ic> CASTING TYPE x.
IF <ic> <> x0200. "$$$$$$$$$$$$$$$$$$$$$$
IF <ic> >= '0000' AND
<ic> <= '1F00'. " Remove 0000---001F
o_string+v_cnt(1) = ' '.
ELSE.
CONCATENATE <ic> x0 INTO x8 IN BYTE MODE.
unassign <ic>.
SEARCH ch1 FOR x8 IN BYTE MODE.
IF sy-subrc <> 0.
SEARCH ch2 FOR x8 IN BYTE MODE.
IF sy-subrc = 0.
o_string+v_cnt(1) = ' '.
ENDIF.
ELSE.
o_string+v_cnt(1) = ' '.
ENDIF.
ENDIF.
ENDIF. "$$$$$$$$$$$$$$$$$$$$$$
v_cnt = v_cnt + 1.
ENDDO.
ENDFUNCTION. -
Very basic question: Flash Media Server vs. embedding flash video
I'm hoping this is a quick easy question to answer:
What is the difference between Flash Media Server and simply
using a freeware Flash media player (like Flowplayer
http://flowplayer.org/) that
uses XML playlists to embed your Flash videos on a website?
What are the advantages to Flash Media Server and how does
something like Flowplayer not address issues that FMS can?
Thanks in advance!
ErikIn a nutshell flowplayer delivers the video through your web
browser. It does this via http protocol (port 80) and progressive
download on any web server
Progressive download finds the video on the server and plays
it back through the player as it is being downloaded. 2 important
things to take from this are 1, the video is being downloaded to
the clients hard drive, at the end of the playback they will have a
copy of your video that they can do whatever they like to and
repost it somewhere else. 2, It plays back as it downloads, meaning
if I'm viewing a 10 minute video from your site and want to skip
ahead to the middle or end I have to wait for the whole video to
download before viewing those segments. Your web host by the way
will love you for progressive download because it will appear as
though your transfer rate has gone through the roof. Once the
request for the video is made there is no turning back, the client
gets the whole thing whether they watch it or not.
Flash media server uses the rtmp protocol. This protocol is
an open socket protocol through port 1935. This is a two way street
essentially. When the user views a video using FMS they basically
get only enough of the video to keep the connection open and
satisfy the required buffer to assure clean playback. The bytes of
info that carry the video only go to the users memory, not the hard
drive. This allows the user to jump back and forth around in the
movie without having to wait for the whole thing to download.
Hope that helps. -
Hi there,
I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
Thank you so much. And I hope you understand my situation asking here...
Janahparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..? -
Beginners guide to integrating Flash Media Server 2?
I'm a newbit to Flasha dn flash media server and need some
help with integrating the two products. We've just purchased Flash
Media Server 2 to stream user created videos to a website. Idealy
we would like to use the FlvPlayBack component placed on the stage
to display the FLV file from the media server, but cannont get the
component to access the FLV file.
Media Server Configuration:
On the Media Server we created an application (testapp) with
an default instance (_definst_). The directory path for the
Appliation looks like this W:\MediaApps\testapp\streams\_definst_\
The name of the server is MediaServer
The application and instance are appearing in the Media
Server Admin manager.
I've placed an FLV file (Movie.flv) In the _devinst_
directory.
Flash FLA file
Placed FLVPlayback component on the stage
Set contentpath= rtmp:\\MediaServer\testapp\_definst_\Movie
Set islive=true
When I test publish the file, the video does not display?
Does anyone have any guidance on what I need to do? There
seems to be a lack of documentation on integrating the media
server. I looked a sample app called "SimplePB" that works, but
does not use the FLVPlayback component.
Any help would be appreciated.
Thank you,
John WallworkJohn,
For an FLV to stream from FMS, it must be placed in the
streams/_definst_ directory...
applications/myApplication/streams/_definst_/myFlv.flv
Then you would type in the rtmp connection information in the
contentPath of the FLVPlayback component like this
rtmp://myRTMPConnectionInfo/myApplication/myFlv
without the flv extension.
The documentation comes from the FMS components when you
install them.
Here it is...
To set up your FCS for streaming FLV files:
Create a folder in your FCS application folder, and give it a
name such as my_application.
Copy the main.asc file into the my_application folder.
Create a folder named streams in the my_application folder.
Create a folder named _definst_ inside the streams folder.
Place your FLV files in the _definst_ folder.
To access your FLV files on the Flash Communication Server,
use a URL such as rtmp://my_servername/my_application/stream.flv.
For more information on administering the Flash Communication
Server, including how to set up a live stream, see the FCS
documentation at
www.macromedia.com/support/documentation/en/flashcom/. When playing
a live stream with FCS, you need to set the FLVPlayback property
isLive to true. For more information, see FLVPlayback.isLive.
Regards,
Bill -
Streaming from Digital Rapids to Flash Media Server
Hello,
I am using a Digital Rapids StreamZ encoder (version 3.8.0) to stream towards YouTube, Dailymotion, Akamai. I wish to install a Flash server on the same VLAN as my Digital Rapids in order to check the encoding in case there is an issue on YT/DM's side. I therefore downloaded Adobe Flash Media Server and now wish to send my stream towards the AMS. Which Server URL and Stream Name should I use to configure my Digital Rapids? How should I configure the AMS to receive the stream from the DR?
Many thanks in advance for your help and advice,
mdicampThe Digital Rapids doesn't seem to recognize my destination Server URL. I guess it is because of a port issue.
Checking the ports situation on my AMS Server (cmd -> netstat -an), I realise port 1935 (which receives RTMP) is only listening locally (127.0.0.1:1935) instead of to the exterior (I would like to have 0.0.0.0:1935). The application does not seem to have forced the port to open (I don't have any firewall).
I hope this helps move anyone forward in helping me out. Thanks in advance ! -
Flash Media Server Configuration
Hi guys.
We are with Flash Media Server, and Flash Media Live Encoder. We installed it on a computer in our network, and we ran Flash Media Live Encoder on that same computer. When we tried live streaming, it worked without a problem. The FMS URL is, rtmp://localhost/live.
However, when my coworker tried to stream to the computer, Flash Media Live Encoder could not connect. The FMS URL became rtmp://192.168.1.145/live.
I'm can't find stuff in the documentation regarding this topic. Has anybody seen articles about it?Hi Jon,
Do you have firewalls enabled on 192.168.1.145? If firewall is enabled disable the firewall and try to connect using Flash Media Live Encoder. -
Hello everyone,
I'm new with Flash Media Server and I was wondering if someone of you guys know where I can fine a very good tutorial to study hard in order to learn how to play with FMS. I'm quite good in actionscript 3 but I miss the server side coding, and some basic theory.
Please, someone may suggest me some tutorials?
Thanks guys!
AlbertoPlease have a look at this site : http://fmsguru.com/tutorials.cfm?tab=fms rather than at http://flashcomguru.com/tutorials/ - fmsguru is much updated site and you should get better tutoials here than other site which i mentioned. I somehow was mistaken with the names - sorry for inconvenience
-
Not sure if this is the correct forum to use for this question... so if I'm in the wrong place - let me know.
Am streaming video using a Flash media server and the FLV Playback component. Actionscript 2. Our company goes to the internet through a proxy. Here's what's happening: When we try to play the video from our workstations the player tries to go directly to the server instead of going through the proxy. It fails a couple of times then may or may not go through the proxy. Is there a way to make the FLV Playback component go directly through the proxy without waiting for it to fail? Can't find code for that?
Any help would be appreciated. Thanks.Hi,
The videos work fine for me with Safari 2.0.2 and OS X 10.4.3. The section of the help file you quoted appears to be referring to a corporate firewall setup rather than a typical home setup - you shouldn't need to change any of the defaults for Windows Media Player.
A Google search for that error code you received mentions Flip4Mac in a couple of places - do you have that installed?
If so, try disabling it to see if that is the cause of your issues.
Maybe you are looking for
-
Or anybody has similar application, it would be very grateful if you can share your experience.
-
10g Physical Standby to be used for Backup through RMAN
Dear All, I have 10g Database Primary and Standby Server which is operating in Maximum Performance Mode. I want to use Standby Database for performing Weekly Full and Daily Incremental Backups through RMAN. Kindly inform me is it possible, if yes how
-
Help needed to connect dual monitors.
Hi everyone. Here's my problem, I bought two Samsung SyncMaster 913v LCD TFT Displays. Both of these displays (since they aren't the digital LCD) connect the same way my old Sony Trinitron MultiscanG400 display connected, which I believe is the VGA c
-
Block IP addresses using Apache on NW
Hello - Config: NW 6.5 SP8 Apache 2.0.63 Could someone tell me how-to block certain IPs with a 403 or some other 400 message? I have read about using .htaccess files and mod_rewrite and a few other things to block access from certain IPs but I'm not
-
Problem Attaching CORE files in to SunStudio12
I am working in Redhat Linux x86-64 bit machine and using Sunstudio12. When I am running my C++ application , CORE DUMP occures . But when I tried to attach the core file through Sun Studio the following error occurs : dbx: core file read error: addr