Interface MediaSessionDetails


public interface MediaSessionDetails
Represents the details of a media session, including ingress and egress media streams, pipeline description, and API version.

Implementations of this interface provide access to the media session details, which are used to manage and monitor media sessions.

Example usage:


 MediaSessionDetails mediaSessionDetails = new MediaSessionDetailsImpl.Builder()
     .addIngressMediaStream(new IngressMediaStreamImpl.Builder()
         .ingressSourceType(IngressSourceType.RTP)
         .build())
     .addEgressMediaStream(new EgressMediaStreamImpl.Builder()
         .connection(connection)
         .build())
     .pipelineDescription(pipelineDescription)
     .apiVersion(apiVersion)
     .build();
 

Notes:

  • The value passed to ingressSourceType must be an instance of the IngressSourceType enumeration.
  • The connection object for egress streams should be constructed with only destinationIp and destinationPort.
Replace each variable with the appropriate value or object for your application.

Author:
Copyright (c) 2025 by Oracle, Inc. All Rights Reserved.
  • 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

      void setIngressMediaStreams(List<IngressMediaStream> ingressMediaStreams)
      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

      void setEgressMediaStreams(List<EgressMediaStream> egressMediaStreams)
      Sets the list of egress media streams associated with the media session.
      Parameters:
      egressMediaStreams - the list of egress media streams to set.
    • getPipelineDescription

      String getPipelineDescription()
      Gets the pipeline description for the media session.
      Returns:
      the pipeline description.
    • setPipelineDescription

      void setPipelineDescription(String pipelineDescription)
      Sets the pipeline description for the media session.
      Parameters:
      pipelineDescription - the pipeline description to set.
    • getApiVersion

      String getApiVersion()
      Gets the API version used for the media session.
      Returns:
      the API version.
    • setApiVersion

      void setApiVersion(String apiVersion)
      Sets the API version used for the media session.
      Parameters:
      apiVersion - the API version to set.