Results 1 to 4 of 4

Thread: client.setStreamType in play()

  1. #1
    Join Date
    May 2010
    Posts
    23

    Default client.setStreamType in play()

    I am trying to use redirect client - in the play method i'm doing:
    client.setStreamType("liverepeater-edge");
    client.setRepeaterOriginUrl("rtmp://161.105.180.75/live/instance");

    So it tries to look for the file "instance" on my file system
    When i'm using the setStream type method in the onConnect method it works fine and seeks the file in the adobe site (fails to connect but this is better).

    Is that how it is supposed to work?

  2. #2
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    client.setStreamType in play command wont' work, it's too late to do it there.

    Richard

  3. #3
    Join Date
    May 2010
    Posts
    23

    Default Thanks!

    So what are my options to serve or redirect if i only have the server side?

    I've tried implementing Proxy classes but it still won't work for me

  4. #4
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    I think we've been down this road already. You're stuck. If you have control of the client, you do client.call from the server and setup callback function in the client to do whatever you want.

    Richard

Posting Permissions

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