Results 1 to 4 of 4

Thread: dynamically creating stream at server side and redirecting to flash or creating .swf.

  1. #1
    Join Date
    Nov 2011
    Posts
    9

    Post dynamically creating stream at server side and redirecting to flash or creating .swf.

    Hi,

    Is there a way to dynamically create a stream from HTTP provider custom module which will generate the swf file?

    I tried creating stream by following-

    IApplicationInstance instance = inVhost.getApplication("vod").getAppInstance("_definst_");
    Stream stream = (Stream)instance.getProperties().getProperty("sample");
    stream = stream.createInstance(instance, "sample");
    stream.play("sample", 5, 0, false);

    wowza logs the following entry for .play method--

    2011-11-22 12:11:11 IST comment server INFO 200 - mediareader: vip:38581 - - - 47.711 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server DEBUG 200 - checkFlush[false,false,75]: tc:38581>38630 || rt:1321944071879>1321944071953 - - - 47.712 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server INFO 200 - mediareader: aud:38581 - - - 47.712 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server DEBUG 200 - checkFlush[false,false,75]: tc:38581>38630 || rt:1321944071879>1321944071953 - - - 47.712 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server INFO 200 - mediareader: aud:38607 - - - 47.712 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server DEBUG 200 - checkFlush[false,false,75]: tc:38607>38630 || rt:1321944071879>1321944071953 - - - 47.712 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server INFO 200 - mediareader: vip:38621 - - - 47.713 - - - - - - - - - - - - - - - - - - - - - - - - -
    2011-11-22 12:11:11 IST comment server DEBUG 200 - checkFlush[false,false,75]: tc:38621>38630 || rt:1321944071880>1321944071953 - - - 47.713 - - - - - - - - - - - - - - - - - - - - - - - - -


    Is it possible to create the swf from what the .play method does? If Yes could you please guide me on the same?

  2. #2
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    It is not possible to create the swf from the .play method,
    The swf is needed to connect to play the stream.

    Jason

  3. #3
    Join Date
    Nov 2011
    Posts
    9

    Default

    Is there a way through which i can create a .swf?

    also,

    where can i found more information on createstream/initstream method which is same as creating netstream object in flash (as described in server API)

  4. #4
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    You can see the info required from here,
    [Wowza-Install]/examples/LiveVideoStreaming/client

    You may need software to read/create .fla files such as Adobe CS5 in order to make your own .swf file

    Jason

Posting Permissions

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