|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.wms.stream.publish.PublishingProviderBase
com.wowza.wms.stream.publish.PublishingProviderMediaReader
public class PublishingProviderMediaReader
PublishingProviderMediaReader: Publishing provider for media reader based stream (vod).
| Field Summary |
|---|
| Fields inherited from class com.wowza.wms.stream.publish.PublishingProviderBase |
|---|
sendOnMetadata |
| Constructor Summary | |
|---|---|
PublishingProviderMediaReader(Publisher publisher,
long timeoffset,
String streamName)
Constructor |
|
| Method Summary | |
|---|---|
void |
close()
Invoked on stream close |
long |
getDuration()
Get the target playback duration (milliseconds) |
boolean |
play(Publisher publisher)
Invoked on play |
boolean |
seek(long timecode)
Invoked on seek |
boolean |
seek(long timecode,
int seekType)
Invoked on seek |
void |
setDuration(long duration)
Set target duration for playback (milliseconds) |
void |
setRealTimeStartTime(long realTimeStartTime)
Set real start time (milliseconds) |
| Methods inherited from class com.wowza.wms.stream.publish.PublishingProviderBase |
|---|
isSendOnMetadata, setSendOnMetadata |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.wowza.wms.stream.publish.IPublishingProvider |
|---|
isSendOnMetadata, setSendOnMetadata |
| Constructor Detail |
|---|
public PublishingProviderMediaReader(Publisher publisher,
long timeoffset,
String streamName)
publisher - publishertimeoffset - timeoffset (milliseconds)streamName - stream name| Method Detail |
|---|
public void close()
IPublishingProvider
close in interface IPublishingProviderpublic long getDuration()
public boolean play(Publisher publisher)
IPublishingProvider
play in interface IPublishingProviderpublisher - publisher
public boolean seek(long timecode)
IPublishingProvider
seek in interface IPublishingProvidertimecode - target timecode
public boolean seek(long timecode,
int seekType)
IPublishingProvider
seek in interface IPublishingProvidertimecode - target timecodeseekType - seek type, see IMediaReader.SEEKTARGET_*
public void setDuration(long duration)
IPublishingProvider
setDuration in interface IPublishingProviderduration - duration for playback (milliseconds)public void setRealTimeStartTime(long realTimeStartTime)
IPublishingProvider
setRealTimeStartTime in interface IPublishingProviderrealTimeStartTime - real start time (milliseconds)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||