org.osmf.net

# MulticastResource - AS3 OSMF

Package | org.osmf.net
Class | public class MulticastResource
Inheritance | MulticastResource StreamingURLResource URLResource MediaResourceBase Object

Language Version: | ActionScript 3.0

Product Version: | OSMF 1.0

Runtime Versions: | Flash Player 10.1, AIR 1.5

MulticastResource is a StreamingURLResource which is capable of carrying multicast streaming information. It exposes properties of groupspec and streamName, necessary to make a multicast connection and create multicast stream.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | alternativeAudioStreamItems : Vector.<StreamingItem> Vector containing all alternative audio items associated with the current streaming resource. | StreamingURLResource
|  | clipEndTime : Number Optional end time of the streaming resource. | StreamingURLResource
|  | clipStartTime : Number Optional start time of the streaming resource. | StreamingURLResource
|  | connectionArguments : Vector.<Object> Optional set of arguments that will be supplied when making a connection to the source of the stream. | StreamingURLResource
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | drmContentData : ByteArray Content metadata for DRM-encrypted content. | StreamingURLResource
|  | groupspec : String The group spec string for multicasting. | MulticastResource
|  | mediaType : String The MediaType, if any, of this resource. | MediaResourceBase
|  | metadataNamespaceURLs : Vector.<String> [read-only] A Vector containing the namespace URLs for all Metadata objects within this resource. | MediaResourceBase
|  | mimeType : String The MIME type, if any, of this resource. | MediaResourceBase
|  | streamName : String The stream name string for multicasting. | MulticastResource
|  | streamType : String The StreamType for this resource. | StreamingURLResource
|  | url : String [read-only] The URL of the resource. | URLResource
|  | urlIncludesFMSApplicationInstance : Boolean Indicates, for RTMP streaming URLs, whether the URL includes the FMS application instance or not. | StreamingURLResource

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | MulticastResource(url:String, groupspec:String = null, streamName:String = null, connectionArguments:Vector.<Object> = null, urlIncludesFMSApplicationInstance:Boolean = false, drmContentData:ByteArray = null) | MulticastResource
|  | addMetadataValue(namespaceURL:String, value:Object):void Adds a metadata value to this resource. | MediaResourceBase
|  | getMetadataValue(namespaceURL:String):Object Retrieves a metadata value from this resource. | MediaResourceBase
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | removeMetadataValue(namespaceURL:String):Object Removes a metadata value from this resource. | MediaResourceBase
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Property Detail

### groupspec

property

`groupspec:String`

The group spec string for multicasting.

Implementation
`public function get groupspec():String`
`public function set groupspec(value:String):void`

### streamName

property

`streamName:String`

The stream name string for multicasting.

Implementation
`public function get streamName():String`
`public function set streamName(value:String):void`
Constructor Detail

### MulticastResource

()
Constructor

`public function MulticastResource(url:String, groupspec:String = null, streamName:String = null, connectionArguments:Vector.<Object> = null, urlIncludesFMSApplicationInstance:Boolean = false, drmContentData:ByteArray = null)`

Parameters

| `url:String`
| `groupspec:String` (default = `null`)``
| `streamName:String` (default = `null`)``
| `connectionArguments:Vector.<Object>` (default = `null`)``
| `urlIncludesFMSApplicationInstance:Boolean` (default = `false`)``
| `drmContentData:ByteArray` (default = `null`)``

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00