public class LiveShift
extends java.lang.Object
You can call setUrl(String) to set the broadcasting URL, and call setTimeLineUrl(String) to set the timeshift playback URL. The URL specified in TimeLineUrl is used to query the timeshift period. The player SDK sends a request to this URL every minute to update the timeshift period and other information.
构造器和说明 |
---|
LiveShift() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCoverPath()
Query the URL of the album cover.
|
java.lang.String |
getFormat()
Query the format of the video.
|
java.lang.String |
getTimeLineUrl()
Query the timeshift request URL.
|
java.lang.String |
getTitle()
Query the title of the video.
|
java.lang.String |
getUrl()
Query the playback URL.
|
void |
setCoverPath(java.lang.String coverPath)
Set the URL of the album cover.
|
void |
setFormat(java.lang.String format)
Set the format of the video.
|
void |
setTimeLineUrl(java.lang.String timeLineUrl)
Set the timeshift request URL.
|
void |
setTitle(java.lang.String title)
Set the title of the video.
|
void |
setUrl(java.lang.String url)
Set the playback URL.
|
public void setFormat(java.lang.String format)
format
- The format of the video.public java.lang.String getFormat()
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
The
- playback URL.public java.lang.String getCoverPath()
public void setCoverPath(java.lang.String coverPath)
coverPath
- The URL of the album cover.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title of the video.public java.lang.String getTimeLineUrl()
public void setTimeLineUrl(java.lang.String timeLineUrl)
timeLineUrl
- The timeshift request URL.