-
Method Summary
Modifier and TypeMethodDescriptionCreate a newMediafor a media resource locator.newMedia(CallbackMedia callbackMedia, String... options) Create a newMediafor callback media.Create a new media list.Create a newMediaListRef.newMediaRef(String mrl, String... options) Create a newMediaReffor a media resource locator.newMediaRef(CallbackMedia callbackMedia, String... options) Create a newMediaReffor callback media.newMediaRef(MediaRef mediaRef, String... options) newMediaRef(Media media, String... options)
-
Method Details
-
newMediaRef
Create a newMediaReffor a media resource locator.The returned media reference must be freed by the caller when it has no further use for it.
- Parameters:
mrl- media resource locatoroptions- options to add to the media- Returns:
- media reference, or
nullon error
-
newMediaRef
Create a newMediaReffor callback media.The returned media reference must be freed by the caller when it has no further use for it.
The calling application must make sure to keep a hard references to the callback component to prevent it from being garbage collected, otherwise a fatal JVM crash may occur.
- Parameters:
callbackMedia- callback media componentoptions- options to add to the media- Returns:
- media reference, or
nullon error
-
newMediaRef
Create a newMediaReffor an existingMedia.The returned media reference must be freed by the caller when it has no further use for it.
Alternatively
Media.newMediaRef()could be used.- Parameters:
media-options- options to add to the media- Returns:
- media reference, or
nullon error
-
newMediaRef
Create a newMediaReffor an existingMediaRef.The returned media reference must be freed by the caller when it has no further use for it.
Alternatively
MediaRef.newMediaRef()could be used.- Parameters:
mediaRef-options- options to add to the media- Returns:
- media reference, or
nullon error
-
newMedia
Create a newMediafor a media resource locator.The returned media must be freed by the caller when it has no further use for it.
- Parameters:
mrl- media resource locatoroptions- options to add to the media- Returns:
- media, or
nullon error
-
newMedia
Create a newMediafor callback media.The returned media must be freed by the caller when it has no further use for it.
The calling application must make sure to keep a hard references to the callback component to prevent it from being garbage collected, otherwise a fatal JVM crash may occur.
- Parameters:
callbackMedia- callback media componentoptions- options to add to the media- Returns:
- media, or
nullon error
-
newMedia
Create a newMediafor an existingMediaRef.Alternatively
MediaRef.newMedia()could be used.The returned media must be freed by the caller when it has no further use for it.
- Parameters:
mediaRef- media referenceoptions- options to add to the media- Returns:
- media, or
nullon error
-
newMedia
Create a newMediafor an existingMedia.Alternatively
Media.newMedia()could be used.The returned media must be freed by the caller when it has no further use for it.
- Parameters:
media- mediaoptions- options to add to the media- Returns:
- media, or
nullon error
-
newMediaListRef
Create a newMediaListRef.- Returns:
- media list reference, or
nullon error
-
newMediaList
Create a new media list.- Returns:
- media list, or
nullon error
-