Interface IMediaStreamNameAliasProvider2

    • Method Detail

      • resolvePlayAlias

        String resolvePlayAlias​(IApplicationInstance appInstance,
                                String name,
                                IClient client)
        Resolve play alias for RTMP streaming
        Parameters:
        appInstance - application instance
        name - stream name
        client - client interface
        Returns:
        resultant name, null if want to block playback
      • resolvePlayAlias

        String resolvePlayAlias​(IApplicationInstance appInstance,
                                String name,
                                IHTTPStreamerSession httpSession)
        Resolve play alias for HTTP streaming. This callback may be called when there is not a valid HTTP session. In this case a phantom HTTP session will be created and will be populated with information from the underlying HTTP request (such as IP address and query string) but the session Id will be null.
        Parameters:
        appInstance - application instance
        name - name
        httpSession - HTTP session
        Returns:
        resultant name, null if want to block playback
      • resolvePlayAlias

        String resolvePlayAlias​(IApplicationInstance appInstance,
                                String name,
                                RTPSession rtpSession)
        Resolve play alias for RTSP/RTP streaming
        Parameters:
        appInstance - application instance
        name - name
        rtpSession - RTP session
        Returns:
        resultant name, null if want to block playback
      • resolvePlayAlias

        String resolvePlayAlias​(IApplicationInstance appInstance,
                                String name,
                                ILiveStreamPacketizer liveStreamPacketizer)
        Resolve play alias for live stream packetizer
        Parameters:
        appInstance - application instance
        name - name
        liveStreamPacketizer - live stream packetizer
        Returns:
        resultant name, null if want to block playback
      • resolveStreamAlias

        String resolveStreamAlias​(IApplicationInstance appInstance,
                                  String name,
                                  IMediaCaster mediaCaster)
        Resolve stream alias for MediaCaster
        Parameters:
        appInstance - application instance
        name - name
        mediaCaster - media caster
        Returns:
        resultant name, null if want to block playback