Download Print this page
Adobe 65024872 - InDesign CS4 - Mac Developer's Manual
Adobe 65024872 - InDesign CS4 - Mac Developer's Manual

Adobe 65024872 - InDesign CS4 - Mac Developer's Manual

Developer's guide
Hide thumbs Also See for 65024872 - InDesign CS4 - Mac:

Advertisement

Quick Links

ADOBE
FLASH
MEDIA
®
®
INTERACTIVE SERVER
PLUG-IN DEVELOPER GUIDE

Advertisement

loading

Summary of Contents for Adobe 65024872 - InDesign CS4 - Mac

  • Page 1 ADOBE FLASH MEDIA ® ® INTERACTIVE SERVER PLUG-IN DEVELOPER GUIDE...
  • Page 2 The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorpo- rated.
  • Page 3: Table Of Contents

    Contents Developing Plug-ins Working with plug-ins ..............1 General development tasks .
  • Page 4: Developing Plug-Ins

    Developing Plug-ins Adobe® Flash® Media Interactive Server 3 and Adobe® Flash® Media Development Server 3 provide a plug-in archi- tecture written in C++ that lets you extend the functionality of the server. Use the Access, Authorization, and File plug-ins to build unique Flash Media Interactive Server and Flash Media Development Server deployments with expanded access, authorization, and file management solutions.
  • Page 5 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide Filename Description adaptor.cpp Sample Access plug-in C++ files and header file. sample.cpp adaptor.h AccessModuleSample.sln Work files used with Microsoft Visual C++ for building an Access plug-in in a Windows environ- ment. You can modify the files’ values to reflect the practices in your environment.
  • Page 6: General Development Tasks

    (FMS) from the Services list and click Stop. • In Linux, open a shell window and go to the directory where the server is installed: cd /opt/adobe/fms. Enter the following: ./server stop. Copy the compiled plug-in DLL or SO files to one of the following folders: •...
  • Page 7: Developing An Access Plug-In

    ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide The Authorization plug-in can retrieve data stored in the XML element; the File plug-in can retrieve data stored Auth in the XML element. You must store data in one element; multiple elements and nested elements are not ASyncIo supported.
  • Page 8 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide Access plug-in overview An Access plug-in adds another layer of security to the server; it intercepts connection requests and lets you examine the client and the server to determine whether requests should be accepted, rejected, or redirected before the requests reach the server’s script layer.
  • Page 9: Developing An Authorization Plug-In

    Plug-In Developer Guide Writing the code in an Access plug-in You can either modify the code in the sample Access plug-in file provided by Adobe, or you can write your own plug- A client connection request triggers the callback method in the Access plug-in. Write the code that...
  • Page 10 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide • Map logical URLs to physical locations For example, if the video player plays a stream “foo”— —when the request is ns.play( "myvideos/foo") processed by the server, this virtual name could map to c:\apps\vidapp\myvideos\. The Authorization plug-in lets you remap this to a different physical location;...
  • Page 11 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide To assign an action to an event, call from an addDisconnectAction() addNotifyAction() IFmsAuthEvent instance. The following code adds the instance to the instance IFmsNotifyAction pAction IFmsAuthEvent . The action calls in a server-side script and passes it the parameter...
  • Page 12 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide When an Authorization plug-in is installed on an origin server, the (for a live stream) or Origin E_PLAY (for recorded stream) event is called to play the clip. To block play for a recorded stream, process...
  • Page 13 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide E_APPSTART E_APPSTOP E_CONNECT Notify Notify Notify and Authorize None None Read-only F_CLIENT_VIDEO_CODECS None None Read-only F_CLIENT_TYPE None None Read-only F_CLIENT_PROTO None None Read-only F_CLIENT_URI_STEM Read-only Read-only Read-only F_APP_URI Read-only Read-only Read-only F_APP_NAME...
  • Page 14 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide E_DISCONNECT E_FILENAME_TRANSFORM E_PLAY Notify Notify and Authorize Notify and Authorize Read-only Read-only Read-only F_CLIENT_VHOST Read-only Read-only Read-only F_CLIENT_REFERRER Read-only Read-only Read-only F_CLIENT_PAGE_URL Read-only Read-only Read-only F_CLIENT_AMF_ENCODING Read-only Read-only Read-only F_CLIENT_USER_AGENT Read-only Read-only...
  • Page 15 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide E_DISCONNECT E_FILENAME_TRANSFORM E_PLAY Notify Notify and Authorize Notify and Authorize None None None F_STREAM_PUBLISH_TYPE* None None None F_STREAM_PUBLISH_BROADCAST* None None None F_SEGMENT_START* None None None F_SEGMENT_END* Not supported in versions earlier than Flash Media Server 3 The following table contains additional events.
  • Page 16 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide E_PUBLISH E_STOP E_UNPUBLISH Notify and Authorize Notify Notify Read-only Read-only Read-only F_APP_NAME Read-only Read-only Read-only F_APP_INST Read/write Read-only Read-only F_STREAM_NAME Read/write Read-only Read-only F_STREAM_PATH Read/write Read-only Read-only F_STREAM_TYPE Read/write Read-only Read-only F_STREAM_LENGTH...
  • Page 17 ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide E_SEEK E_PAUSE E_LOADSEGMENT Notify and Authorize Notify and Authorize Notify and Authorize Read-only Read-only Read-only F_CLIENT_READ_ACCESS Read-only Read-only Read-only F_CLIENT_WRITE_ACCESS Read-only Read-only Read-only F_CLIENT_READ_ACCESS_LOCK Read-only Read-only Read-only F_CLIENT_WRITE_ACCESS_LOCK Read-only Read-only Read-only F_CLIENT_AUDIO_SAMPLE_ACCESS...
  • Page 18: Developing A File Plug-In

    ADOBE FLASH MEDIA INTERACTIVE SERVER Plug-In Developer Guide Not supported before Flash Media Server 3 Developing a File plug-in File plug-in overview The File plug-in gives you complete control over where and how the server reads content from the file system. The plug-in provides an interface between the operating system’s file I/O mechanism and the server.
  • Page 19 INDEX 16 Index Symbols .NET 2003 1, 4 header files 2 HTTP file access 15 Access plug-in about 5 I/O 15 configuring folder permissions 6 IFCAccessAdaptor.h file 2 access.dll/access.so. See Access plug- installation folder 2 Application.xml file 6 auth.dll/auth.so. SeeAuthorization Logger.xml file 3 plug-in logging 3...

This manual is also suitable for:

Flash media interactive server