Interface MediaSession.StreamHandler.Builder<T extends MediaSession.StreamHandler>

    • Method Detail

      • getSdp

        @NonNull
        java.lang.String getSdp()
        Get the SDP containing the Frame rate, resolution, bitrate, etc.., of this stream.
        Returns:
        Session description of this stream
      • getChannelName

        @NonNull
        java.lang.String getChannelName()
        Get the channel name in which the built MediaSession.StreamHandler will be added. NOTE: If the channel name is invalid [not created]. Then This will never be added.
        Returns:
        channel name
      • build

        @NonNull
        @RestrictTo(LIBRARY_GROUP)
        T build()
        Builds the StreamHandler which will be responsible to send data into the stream.
        Returns:
        stream handler