Professional Web Applications Themes

Streams not recording - Macromedia Flash Flashcom

I'm new to FMS, so hopefully this problem has a simple answer. I'm recording video streams using a simple call to NetStream.publish('path', 'record'). It was working fine a few days ago, but now it's not and I'm not sure why -- it seems that everything is fine on the client, but no FLV files are appearing on the server. Tracing out the status event from NetStream: -- status -- description,Connection succeeded. code,NetConnection.Connect.Success level,status -- status -- clientid,112165952 description,test is now published. code,NetStream.Publish.Start level,status -- status -- clientid,112165952 description,Stopped recording test. code,NetStream.Record.Stop level,status -- status -- clientid,112165952 description,test is now unpublished. ...

  1. #1

    Default Streams not recording

    I'm new to FMS, so hopefully this problem has a simple answer. I'm recording
    video streams using a simple call to NetStream.publish('path', 'record'). It
    was working fine a few days ago, but now it's not and I'm not sure why -- it
    seems that everything is fine on the client, but no FLV files are appearing on
    the server.

    Tracing out the status event from NetStream:

    -- status --
    description,Connection succeeded.
    code,NetConnection.Connect.Success
    level,status
    -- status --
    clientid,112165952
    description,test is now published.
    code,NetStream.Publish.Start
    level,status
    -- status --
    clientid,112165952
    description,Stopped recording test.
    code,NetStream.Record.Stop
    level,status
    -- status --
    clientid,112165952
    description,test is now unpublished.
    code,NetStream.Unpublish.Success
    level,status

    The server log just says a connection has taken place. The weird thing is that
    In the console, under "streams", it lists the stream name but says its type is
    "live" even though I passed "record" to NetStream.publish().

    My application's directory (program files/macromedia/flash media server
    2/applications/photobooth) is completely empty.

    I've tried restarting the server and the computer and everything.

    Does this sound familiar to anyone? Thanks.


    endquote Guest

  2. #2

    Default Re: Streams not recording

    I noticed in the above that I am not getting a NetStream.Record.Start event,
    but I'm getting NetStream.Record.Stop. Weird, right? Here is my client-side
    code:

    __connection = new NetConnection();
    __connection.onStatus = Delegate.create(this, onStatus);
    __connection.connect(APP_URL);

    __output = new NetStream(__connection);
    __output.onStatus = Delegate.create(this, onStatus);
    __output.attachVideo(__camera);
    var now:Date = new Date();
    __output.publish('test', 'record');

    Later...

    __output.close();


    endquote Guest

  3. #3

    Default Re: Streams not recording

    Problem solved -- I was calling Camera.setQuality with dimensions that were too
    large for the camera I am using (though not too large for a different camera I
    was using). It would sure be nice to be able to get a list of valid modes of a
    camera.

    endquote Guest

Similar Threads

  1. FMS 3 Streams - Please Help!!!
    By golfguy in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: February 13th, 05:18 AM
  2. Recording live streams for archive
    By gmc in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: April 26th, 03:14 PM
  3. Problems Recording Audio Streams
    By emansouri in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: March 22nd, 08:05 PM
  4. recording in mp3
    By hymanand in forum Macromedia Flash Player
    Replies: 0
    Last Post: March 21st, 09:27 AM
  5. cd recording
    By James LeClair in forum Debian
    Replies: 2
    Last Post: July 5th, 06:30 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139