Results 1 to 2 of 2

Thread: Getting full rtmp link (onConnect)

  1. #1

    Default Getting full rtmp link (onConnect)

    Dear Wowza Support-Team & Wowza Communtiy,

    I would like to get the full url during onConnect
    e.g. rtmp://localhost/live/myChannel


    My approach was:

    System.out.println("onConnect Param1:" + getParamString(params, PARAM1));
    System.out.println("onConnect Param2:" + getParamString(params, PARAM2));

    but both returns me "null"

    i found a working solution with the "public void play(IClient client, RequestFunction function, AMFDataList params){}" method.
    But when i use the "play" method the video doesn't play.

    Do you have any idea how can i get the "myChannel" part out of the Uri?

    i also tried "getUri" but that method give me only the string till rtmp://localhost/live/ :/..

    thank you for your time and help
    Last edited by oomworld; 08-20-2015 at 08:14 AM.

  2. Default

    I'm not sure what you mean by "But when i use the "play" method the video doesn't play."?

    If you did everything right, you should get the stream name ("myChannel") from PARAM1. Something like this should work:

    public void play(IClient client, RequestFunction function, AMFDataList params)
    {
    WMSLoggerFactory.getLogger(null).info("onConnect Param1: " + getParamString(params, PARAM1));
    invokePrevious(this, client, function, params);
    }

Similar Threads

  1. Wowza Heap and Memory is getting full
    By IonatanL in forum Performance and Tuning
    Replies: 14
    Last Post: 03-21-2016, 11:47 AM
  2. Getting 0 in bytes out while load testing a streaming link
    By wajahat.kamal in forum Live Streaming and Encoders
    Replies: 7
    Last Post: 01-26-2015, 11:37 PM
  3. Wowza Heap and Memory is getting Full over time
    By oomworld in forum General Forum
    Replies: 5
    Last Post: 07-11-2014, 03:36 AM
  4. full link chunklist
    By thuan.tran in forum General Forum
    Replies: 1
    Last Post: 02-10-2014, 02:12 AM
  5. wowza 3.6.3 full link for chunklist.m3u8
    By thuan.tran in forum General Forum
    Replies: 1
    Last Post: 02-10-2014, 02:11 AM

Posting Permissions

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