Package io.antmedia.datastore.db.types
Class Endpoint
java.lang.Object
io.antmedia.datastore.db.types.Endpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringEndpoint service id, this field holds the id of the endpointprivate StringRTMP Or SRT URL of the endpointprivate StringKeeps track of the RTMP endpoint status if it is writing or not {@link IAntMediaStreamHandler#BROADCAST_STATUS_*}private StringService name like facebook, periscope, youtube or generic it should match the VideoServiceEndpoint names or it can be generic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidsetEndpointServiceId(String endpointServiceId) voidsetEndpointUrl(String endpointUrl) voidvoid
-
Field Details
-
status
Keeps track of the RTMP endpoint status if it is writing or not {@link IAntMediaStreamHandler#BROADCAST_STATUS_*} -
type
Service name like facebook, periscope, youtube or generic it should match the VideoServiceEndpoint names or it can be generic -
endpointUrl
RTMP Or SRT URL of the endpoint -
endpointServiceId
Endpoint service id, this field holds the id of the endpoint
-
-
Constructor Details
-
Endpoint
public Endpoint()Default constructor used in BroadcastRestService.addEndpoint -
Endpoint
-
-
Method Details
-
getEndpointUrl
-
setEndpointUrl
-
getEndpointServiceId
-
setEndpointServiceId
-
getType
-
setType
-
getStatus
-
setStatus
-