Package com.wowza.wms.stream
Interface IMediaStreamNameAliasProvider2
-
- All Superinterfaces:
IMediaStreamNameAliasProvider
- All Known Subinterfaces:
IMediaStreamNameAliasProvider3
- All Known Implementing Classes:
MediaStreamNameAliasProviderBase
public interface IMediaStreamNameAliasProvider2 extends IMediaStreamNameAliasProvider
IMediaStreamNameAliasProvider: alias provider interface. See IApplication.setStreamNameAliasProvider(IMediaStreamNameAliasProvider streamNameAliasProvider).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
resolvePlayAlias(IApplicationInstance appInstance, String name, IClient client)
Resolve play alias for RTMP streamingString
resolvePlayAlias(IApplicationInstance appInstance, String name, IHTTPStreamerSession httpSession)
Resolve play alias for HTTP streaming.String
resolvePlayAlias(IApplicationInstance appInstance, String name, RTPSession rtpSession)
Resolve play alias for RTSP/RTP streamingString
resolvePlayAlias(IApplicationInstance appInstance, String name, ILiveStreamPacketizer liveStreamPacketizer)
Resolve play alias for live stream packetizerString
resolveStreamAlias(IApplicationInstance appInstance, String name, IMediaCaster mediaCaster)
Resolve stream alias for MediaCaster-
Methods inherited from interface com.wowza.wms.stream.IMediaStreamNameAliasProvider
resolvePlayAlias, resolveStreamAlias
-
-
-
-
Method Detail
-
resolvePlayAlias
String resolvePlayAlias(IApplicationInstance appInstance, String name, IClient client)
Resolve play alias for RTMP streaming- Parameters:
appInstance
- application instancename
- stream nameclient
- 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 instancename
- namehttpSession
- 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 instancename
- namertpSession
- 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 instancename
- nameliveStreamPacketizer
- 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 instancename
- namemediaCaster
- media caster- Returns:
- resultant name, null if want to block playback
-
-