Interface Identifiers


public interface Identifiers
Represents a set of identifiers associated with a media stream or participant.

Implementations of this interface provide access to the stream or participant identifiers, which are used to identify and manage media streams and participants in a session.

Example usage:


 
 Identifiers identifiers = new IdentifiersImpl.Builder()
     .streamId(streamId)
     .participantId(participantId)
     .build();
 

Replace each variable (e.g., streamId) with the desired value as appropriate for your request.

Author:
Copyright (c) 2025 by Oracle, Inc. All Rights Reserved.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder interface for creating immutable Identifiers instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the participant or user associated with the stream.
    Gets the unique stream identifier.
    void
    setParticipantId(String participantId)
    Sets the participant or user associated with the stream.
    void
    setStreamId(String streamId)
    Sets the unique stream identifier.
  • Method Details

    • getStreamId

      String getStreamId()
      Gets the unique stream identifier.

      In IngressMediaStream, the streamId is used to check that the combination of call_id and stream_id is unique. In EgressMediaStream, the streamId is used to set the value in the outgoing RTP packet.

      Returns:
      the stream ID, or null if not applicable.
    • setStreamId

      void setStreamId(String streamId)
      Sets the unique stream identifier.
      Parameters:
      streamId - the stream ID to set.
    • getParticipantId

      String getParticipantId()
      Gets the participant or user associated with the stream.

      The participantId is used only in EgressMediaStream.

      Returns:
      the participant ID, or null if not applicable.
    • setParticipantId

      void setParticipantId(String participantId)
      Sets the participant or user associated with the stream.
      Parameters:
      participantId - the participant ID to set.