Interface ModifyMediaRequest
public interface ModifyMediaRequest
Represents a request to modify a media session, encapsulating details such as ingress and egress media streams.
Implementations of this interface provide access to the ingress and egress media streams, which can be used to update the media session configuration.
Example usage:
ModifyMediaRequest request = new ModifyMediaRequestImpl.Builder()
.addIngressMediaStream(ingressMediaStream)
.addEgressMediaStream(egressMediaStream)
.build();
Notes:
- Replace each variable with the appropriate value or object as required for your request.
- Modify request can be sent after Create or after Deactivate.
- Author:
- Copyright (c) 2025 by Oracle, Inc. All Rights Reserved.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder interface for creating immutableModifyMediaRequestinstances. -
Method Summary
Modifier and TypeMethodDescriptionGets the list of egress media streams associated with the media session.Gets the list of ingress media streams associated with the media session.voidsetEgressMediaStreams(List<EgressMediaStream> egressMediaStreams) Sets the list of egress media streams associated with the media session.voidsetIngressMediaStreams(List<IngressMediaStream> ingressMediaStreams) Sets the list of ingress media streams associated with the media session.
-
Method Details
-
getIngressMediaStreams
List<IngressMediaStream> getIngressMediaStreams()Gets the list of ingress media streams associated with the media session.- Returns:
- the list of ingress media streams.
-
setIngressMediaStreams
Sets the list of ingress media streams associated with the media session.- Parameters:
ingressMediaStreams- the list of ingress media streams to set.
-
getEgressMediaStreams
List<EgressMediaStream> getEgressMediaStreams()Gets the list of egress media streams associated with the media session.- Returns:
- the list of egress media streams.
-
setEgressMediaStreams
Sets the list of egress media streams associated with the media session.- Parameters:
egressMediaStreams- the list of egress media streams to set.
-