Interface IngressMediaStream.Builder
- Enclosing interface:
- IngressMediaStream
public static interface IngressMediaStream.Builder
Builder interface for creating immutable
IngressMediaStream instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theIngressMediaStreaminstance.identifiers(Identifiers identifiers) Sets the identifiers associated with the ingress media stream.ingressSourceType(IngressSourceType ingressSourceType) Sets the type of ingress stream.metadata(StreamMetadata metadata) Sets the metadata associated with the ingress media stream.negotiatedSDP(NegotiatedSDP negotiatedSDP) Sets the negotiated SDP for the ingress media stream.offeredSDP(OfferedSDP offeredSDP) Sets the offered SDP for the ingress media stream.
-
Method Details
-
identifiers
Sets the identifiers associated with the ingress media stream.- Parameters:
identifiers- the identifiers.- Returns:
- this Builder instance.
-
ingressSourceType
Sets the type of ingress stream.- Parameters:
ingressSourceType- the ingress source type.- Returns:
- this Builder instance.
-
offeredSDP
Sets the offered SDP for the ingress media stream.- Parameters:
offeredSDP- the offered SDP.- Returns:
- this Builder instance.
-
negotiatedSDP
Sets the negotiated SDP for the ingress media stream.- Parameters:
negotiatedSDP- the negotiated SDP.- Returns:
- this Builder instance.
-
metadata
Sets the metadata associated with the ingress media stream.- Parameters:
metadata- the metadata.- Returns:
- this Builder instance.
-
build
IngressMediaStream build()Builds theIngressMediaStreaminstance.- Returns:
- an immutable
IngressMediaStreaminstance.
-