Package com.wowza.wms.stream
Class MediaStreamNameAliasProviderBase
- Object
-
- com.wowza.wms.stream.MediaStreamNameAliasProviderBase
-
- All Implemented Interfaces:
IMediaStreamNameAliasProvider
,IMediaStreamNameAliasProvider2
,IMediaStreamNameAliasProvider3
public abstract class MediaStreamNameAliasProviderBase extends Object implements IMediaStreamNameAliasProvider, IMediaStreamNameAliasProvider2, IMediaStreamNameAliasProvider3
Abstract base class for IMediaStreamNameAliasProvider interfaces- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description MediaStreamNameAliasProviderBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resolvePlayAlias(IApplicationInstance appInstance, String name)
Called to resolve a play aliasString
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
resolvePlayAlias(IApplicationInstance appInstance, String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)
Resolve play alias for WebRTCSessionString
resolvePlayAlias(IApplicationInstance appInstance, String name, IWebSocketSession webSocket)
Resolve play alias for IWebSocketSessionString
resolveStreamAlias(IApplicationInstance appInstance, String name)
Called to resolve a stream aliasString
resolveStreamAlias(IApplicationInstance appInstance, String name, IMediaCaster mediaCaster)
Resolve stream alias for MediaCasterString
resolveStreamAlias(IApplicationInstance appInstance, String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)
Resolve stream alias for WebRTCSessionString
resolveStreamAlias(IApplicationInstance appInstance, String name, IWebSocketSession webSocket)
Resolve stream alias for IWebSocketSession
-
-
-
Method Detail
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name, IWebSocketSession webSocket)
Description copied from interface:IMediaStreamNameAliasProvider3
Resolve play alias for IWebSocketSession- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider3
- Parameters:
appInstance
- application instancename
- name- Returns:
- resultant name, null if want to block playback
-
resolveStreamAlias
public String resolveStreamAlias(IApplicationInstance appInstance, String name, IWebSocketSession webSocket)
Description copied from interface:IMediaStreamNameAliasProvider3
Resolve stream alias for IWebSocketSession- Specified by:
resolveStreamAlias
in interfaceIMediaStreamNameAliasProvider3
- Parameters:
appInstance
- application instancename
- name- Returns:
- resultant name, null if want to block playback
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)
Description copied from interface:IMediaStreamNameAliasProvider3
Resolve play alias for WebRTCSession- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider3
- Parameters:
appInstance
- application instancename
- name- Returns:
- resultant name, null if want to block playback
-
resolveStreamAlias
public String resolveStreamAlias(IApplicationInstance appInstance, String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)
Description copied from interface:IMediaStreamNameAliasProvider3
Resolve stream alias for WebRTCSession- Specified by:
resolveStreamAlias
in interfaceIMediaStreamNameAliasProvider3
- Parameters:
appInstance
- application instancename
- name- Returns:
- resultant name, null if want to block playback
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name, IClient client)
Description copied from interface:IMediaStreamNameAliasProvider2
Resolve play alias for RTMP streaming- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider2
- Parameters:
appInstance
- application instancename
- stream nameclient
- client interface- Returns:
- resultant name, null if want to block playback
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name, IHTTPStreamerSession httpSession)
Description copied from interface:IMediaStreamNameAliasProvider2
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.- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider2
- Parameters:
appInstance
- application instancename
- namehttpSession
- HTTP session- Returns:
- resultant name, null if want to block playback
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name, RTPSession rtpSession)
Description copied from interface:IMediaStreamNameAliasProvider2
Resolve play alias for RTSP/RTP streaming- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider2
- Parameters:
appInstance
- application instancename
- namertpSession
- RTP session- Returns:
- resultant name, null if want to block playback
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name, ILiveStreamPacketizer liveStreamPacketizer)
Description copied from interface:IMediaStreamNameAliasProvider2
Resolve play alias for live stream packetizer- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider2
- Parameters:
appInstance
- application instancename
- nameliveStreamPacketizer
- live stream packetizer- Returns:
- resultant name, null if want to block playback
-
resolveStreamAlias
public String resolveStreamAlias(IApplicationInstance appInstance, String name, IMediaCaster mediaCaster)
Description copied from interface:IMediaStreamNameAliasProvider2
Resolve stream alias for MediaCaster- Specified by:
resolveStreamAlias
in interfaceIMediaStreamNameAliasProvider2
- Parameters:
appInstance
- application instancename
- namemediaCaster
- media caster- Returns:
- resultant name, null if want to block playback
-
resolvePlayAlias
public String resolvePlayAlias(IApplicationInstance appInstance, String name)
Description copied from interface:IMediaStreamNameAliasProvider
Called to resolve a play alias- Specified by:
resolvePlayAlias
in interfaceIMediaStreamNameAliasProvider
- Parameters:
appInstance
- applicationInstancename
- stream name- Returns:
- resultant name, null if want to block playback
-
resolveStreamAlias
public String resolveStreamAlias(IApplicationInstance appInstance, String name)
Description copied from interface:IMediaStreamNameAliasProvider
Called to resolve a stream alias- Specified by:
resolveStreamAlias
in interfaceIMediaStreamNameAliasProvider
- Parameters:
appInstance
- applicationInstancename
- stream name- Returns:
- resultant name, null if want to block playback
-
-