public interface IPushPublishHTTPCupertino
| Modifier and Type | Method and Description |
|---|---|
int |
deleteMediaSegment(MediaSegmentModel mediaSegment)
Deletes the media (chunk) at the destination URI.
|
String |
getDestionationLogData()
JSON formatted string containing information unique to the instance.
|
boolean |
isSendToBackupServer()
Is this implementation sending to a backup server
|
boolean |
outputClose()
Close the destination (if needed).
|
boolean |
outputOpen()
Open the destination (if needed) in preparation of having
one or more items (playlists/media segments) pushed to it
|
int |
sendGroupMasterPlaylist(String groupName,
PlaylistModel playlist)
Sends a group master playlist to the destination.
|
int |
sendMasterPlaylist(PlaylistModel playlist)
Sends the master playlist to the destination.
|
int |
sendMediaPlaylist(PlaylistModel playlist)
Sends the media playlist to the destination.
|
int |
sendMediaSegment(MediaSegmentModel mediaSegment)
Sends the media (chunk) to the destination; media provided as a fragment list.
|
void |
setSendToBackupServer(boolean backup)
Setup to send to a backup destination
|
boolean |
updateGroupMasterPlaylistPlaybackURI(String groupName,
PlaylistModel masterPlaylist)
Get the group master playlist URI for the given group master playlist file that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myGroup/playlist.m3u8"
|
boolean |
updateMasterPlaylistPlaybackURI(PlaylistModel playlist)
update the master playlist URI for the provided playlist model that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myStream/playlist.m3u8"
where "playlist.m3u8" is the value given for masterPlaylistFilename
|
boolean |
updateMediaPlaylistPlaybackURI(PlaylistModel playlist)
update/set the media playlist (chunklist) URI for the provided media playlist file that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myStream/chunklist.m3u8"
where "chunklist.m3u8" is the value given for mediaPlaylistFilename
|
boolean |
updateMediaSegmentPlaybackURI(MediaSegmentModel mediaSegment)
set the media URI for the given media (chunk) file that a player would use to consume the content from the CDN
Example: "http://myHost.com/myPath/myStream/media_1.ts"
where "media_1.ts" is the value given for mediaFilename
|
int deleteMediaSegment(MediaSegmentModel mediaSegment)
mediaSegment - the media destination URIString getDestionationLogData()
boolean isSendToBackupServer()
boolean outputClose()
boolean outputOpen()
int sendGroupMasterPlaylist(String groupName,
PlaylistModel playlist)
groupName - the group nameplaylist - the group master playlist modelint sendMasterPlaylist(PlaylistModel playlist)
playlist - the master playlist modelint sendMediaPlaylist(PlaylistModel playlist)
playlist - the media playlist modelint sendMediaSegment(MediaSegmentModel mediaSegment)
mediaSegment - the media file in fragment list formvoid setSendToBackupServer(boolean backup)
boolean updateGroupMasterPlaylistPlaybackURI(String groupName,
PlaylistModel masterPlaylist)
groupName - group namemasterPlaylist - master group playlistboolean updateMasterPlaylistPlaybackURI(PlaylistModel playlist)
playlist - the master playlist model to update the URI inboolean updateMediaPlaylistPlaybackURI(PlaylistModel playlist)
playlist - to update the uri inboolean updateMediaSegmentPlaybackURI(MediaSegmentModel mediaSegment)
mediaSegment - to update the uri of