id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1700,Can't publish stream to CRtmpServer,king,,"Summary of the bug:
  Meet error ""call to function _checkbw failed"" when publishing stream to CRtmpServer.
  
How to reproduce:
{{{
% ffmpeg -re -i test.mp4 -f flv rtmp://127.0.0.1/flvplayback/test2
I use git to clone the ffmpeg and build it on CentOS 6.3.
}}}

The log is:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2011-12-22 16:05:04
    encoder         : Lavf52.62.0
    comment         : FlixEngineLinux_8.0.17.1 (www.on2.com)
  Duration: 00:01:04.55, start: 0.000000, bitrate: 768 kb/s
    Stream #0:0(und), 41, 1/1000: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x268 [SAR 1:1 DAR 120:67], 1/2000, 698 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc
    Metadata:
      creation_time   : 2011-12-22 16:05:04
      handler_name    : VideoHandler
    Stream #0:1(und), 73, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
      creation_time   : 2011-12-22 16:05:04
      handler_name    : SoundHandler
[rtmp @ 0x18aa360] Handshaking...
[rtmp @ 0x18aa360] Type answer 3
[rtmp @ 0x18aa360] Server version 0.0.0.0
[rtmp @ 0x18aa360] Proto = rtmp, path = /flvplayback/test2, app = flvplayback, fname = test2
[rtmp @ 0x18aa360] Server bandwidth = 2500000
[rtmp @ 0x18aa360] Client bandwidth = 2500000
[rtmp @ 0x18aa360] Releasing stream...
[rtmp @ 0x18aa360] FCPublish stream...
[rtmp @ 0x18aa360] Creating stream...
'''[rtmp @ 0x18aa360] Server error: Specified stream not found in call to releaseStream'''
[rtmp @ 0x18aa360] Sending publish command for 'test2'
'''[rtmp @ 0x18aa360] Server error: call to function _checkbw failed'''
rtmp://127.0.0.1/flvplayback/test2: Operation not permitted
[AVIOContext @ 0x1888880] Statistics: 229376 bytes read, 0 seeks
",defect,new,normal,undetermined,git-master,,rtmp,,,,0,0
