The Live Packager processes streams that are prefixed with f4f:.
Flash Media Live Encoder doesn’t support the f4f: prefix
so you must add it to the stream name in a server-side script or
in a Adobe Media Server Authorization Plug-in.
An application can contain more than one live event. For that
reason, a stream published to an application is not associated with
a live event by default. Use a server-side script or the Adobe Media
Server Authorization Plug-in (not both) to associate a live stream
with a live event. You can associate a live stream with only one
live event.
Associate a stream during the publish event. When the stream
is published and associated, the server creates a stream record
file (.stream) for the stream in the event directory:
applications/appname/events/appinstancename/liveeventname/livestream.stream
The stream record file contains information about the location
of the packaged stream files. The HTTP Origin Module uses this information
to generate an .f4m manifest file. For more information, see Understanding
the application flow.
Use Server-Side ActionScript
To see an example of this code, open rootinstall/applications/livepkgr/main.asc in
a text editor.