Results 1 to 2 of 2

Thread: substitution stream

  1. #1
    Join Date
    Jan 2012
    Posts
    23

    Default substitution stream

    hi
    i write custom module for HTTP stremer
    I want to check incoming parametrs like for example refere and if refere is wrong send to client special advert URL.. for now i get needed parametrs (String referrer = httpSession.getReferrer(); )
    and now a must create another URL for client how can i do it ?

    I try to use httpSession.setStreamName("adv.stream");

    but in log i still see HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/_definst_/TLC_360p.stream/playlist.m3u8?1111111111222222222]: TLC_360p.stream -

    many thanks !
    Last edited by AlSoft; 04-26-2016 at 03:03 AM.

  2. #2
    Join Date
    Jan 2015
    Posts
    302

    Default

    Hi,

    It sounds like you are trying to connect a playback request to a different stream name? For example, if a client request URL is for http://<wowza>:1935/live/TLC/playlist.m3u8, and if the referrer passes your check, then the client should then playback http://<wowza>:1935/live/adv.stream/playlist.m3u8. If so, you can use the IMediaStreamNameAliasProvider2 interface to alias the playback URL.

    Michelle

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •