Skip to main content
January 29, 2011
Question

Why I use swf verification unsuccessful!!

  • January 29, 2011
  • 2 replies
  • 591 views

   when I want to test the swf verification,I do as the follow steps:

1)motify the swf verfication to "true";

2)copy the my swf to SWFs which follow :

Create folders for the verifying SWF files

  1. If the SWFFolder value is the default, create a folder called SWFs in the application’s folder on the server.

    For example, for an application called myMediaApp, create the folder applications/myMediaApp/SWFs. SWF files in the SWFs folder verify connections to any instance of the myMediaApp application.

  2. To verify SWF files for application instances, create instance folders in the SWFs directory, for example, applications/myMediaApp/SWFs/chat01, applications/myMediaApp/SWFs/chat02, and so on.

SWF files in the SWFs directory can verify all instances of the application; SWF files within an instance folder can verify only that instance.

Note: Multiple SWF files may exist in either directory. A SWF file can be renamed and still used for verification as long as it’s a copy of the client SWF file.

But my video can not play while I setup following above steps,I am sure that the swf which I create is right,because I can view the video when I hadn't setup !

Please help me!!

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    January 31, 2011

    Hi,

    I just tried to do the same thing (with FMS4 installation) what you are doing and it was working fine for me. Few checkpoints to consider for you are as follows:

    1. Application.xml changes - have you modified your application.xml inside conf folder or are you using a separate application.xml for this application only (i.e. if you are putting an application.xml inside your myMediaApp folder). Please note that application.xml inside application folder will take a higher precedence than the common application.xml (inside conf folder directory tree)

    2. Folder structure for application streams should look like as follows:

         - /applications/myMediaApp/streams/room1

         - /applications/myMediaApp/streams/room2

    for SWFs:

         - /applications/myMediaApp/SWFs/room1

         - /applications/myMediaApp/SWFs/room2

    3. Either restart the server (if you are using common application.xml) or reload the app (if you are using app specific application.xml)

    4. Also make sure your Flash Player version is the latest one as recommended by SE_0208 below.

    5. Now, use the SWF that is there in room1 to connect to room1 instance and play and it should work fine, but this same swf will fail to play media from room2 instance (assuming swfs for room1 and room2 are different) and vice-versa.

    Please try these steps and let me know if it works for you. Also as suggested by SE please try to look into application.00.log to find any swfv errors. Hope these steps will help you to mitigate your problem.

    Participating Frequently
    January 29, 2011

    So you are saying you have copied "client.swf" (just using random name - which signfies your client swf which you use for connecting) inside "SWFs" folder which you have created under "myapplication" (application name which you are using to connect) - Am i right?

    Do you see SWF Verification failure error in logs?

    Also which version of Flash Player are you on - you need to be on player which has version above 9.0.15 & above (don't remember exact version - just update to latest player if you can)