I'm currently using the "Record all incoming streams" option that is avaible for our live application. It works pretty well by generating a mp4 file that's got the name of the stream. I've got an issue with this mp4 file though... When I try to read it with vlc, the player reports the file length as 493h+ although it should only be a few minutes. When I ffmpeg -i this file, I've got:

Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 1000.00 (1000/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'monarch.mp4':
  Metadata:
    major_brand     : f4v
    minor_version   : 0
    compatible_brands: isommp42m4v
    creation_time   : 2015-02-27 11:09:50
  Duration: 493:58:17.07, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 640x360 [PAR 1:1 DAR 16:9], -0.01 fps, 1k tbr, 90k tbn, 60 tbc
    Metadata:
      creation_time   : 2015-02-27 11:09:50
    Stream #0.1(eng): Audio: mp3, 22050 Hz, mono, s16, 0 kb/s
    Metadata:
      creation_time   : 2015-02-27 11:09:50
    Stream #0.2(eng): Data: amf0 / 0x30666D61
    Metadata:
      creation_time   : 2015-02-27 11:09:50
At least one output file must be specified
Any idea why this file is corrupted? Cheers!