You are here: Streaming Basics > Media Types > Flash > Streaming Codec-Compatible Content

Streaming Codec-Compatible Content

Helix Mobile Server can stream an MPEG-4 or 3GPP clip to a Flash client as long as the content is encoded using an AAC or MP3 audio codec and the H.264 video codec. The Flash client simply requests the content using the RTMP protocol.

For more information: See also "Flash Content Directory".

Flashgen Mount Point for Multi-rate Content

The /flashgen/ mount point is used with multi-rate content that is not in a native Flash format. For example, the content may be in multi-rate 3GPP format:

http://helixserver.example.com/flashgen/3GPP/sports.3gp

The /flashgen/ mount point in the HTTP request causes Helix Mobile Server to generate a SMIL file that lists the multi-rate 3GPP content as a set of single-rate streams, one for each encoded bandwidth. Using the SMIL file, the Flash client chooses the appropriate rate based on its bandwidth conditions. It then requests the media using the RTMP protocol.

Tip: If the requested content is encoded at a single rate, the /flashgen/ mount point is not required and the URL begins with the rtmp:// protocol.

Note: By default, the SMIL file uses RTMP URLs. You can change this to RTMPS or RTMPT using the FlashgenType variable.

Broadcasting MPEG-4 or 3GPP Content to Flash Clients

Using an encoder such as Helix Mobile Producer, you can encode a live broadcast in the MPEG-4 or 3GPP format. A Flash client can request the broadcast using the /flashgen/ mount point (if multi-rate content is used) along with the /rtmplive/ mount point and either the /broadcast/ or /rtpencoder/ mount point (depending on the broadcast method). For example:

http://helixserver.example.com/flashgen/rtmplive/broadcast/live.3gp

Tip: By default, a RealNetworks encoder delivers the stream to Helix Mobile Server using the UDP transport, which allows for data loss. Flash clients may have trouble rendering lossy streams. To help prevent this, specifiy the TCP transport in the encoder broadcast method.

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com