Revision 31da5966

View differences:

libavformat/rtmpproto.c
100 100
    uint8_t ver[32], *p;
101 101
    char tcurl[512];
102 102

  
103
    ff_rtmp_packet_create(&pkt, RTMP_VIDEO_CHANNEL, RTMP_PT_INVOKE, 0, 4096);
103
    ff_rtmp_packet_create(&pkt, RTMP_SYSTEM_CHANNEL, RTMP_PT_INVOKE, 0, 4096);
104 104
    p = pkt.data;
105 105

  
106 106
    snprintf(tcurl, sizeof(tcurl), "%s://%s:%d/%s", proto, host, port, rt->app);
......
143 143
    uint8_t *p;
144 144

  
145 145
    av_log(LOG_CONTEXT, AV_LOG_DEBUG, "Creating stream...\n");
146
    ff_rtmp_packet_create(&pkt, RTMP_VIDEO_CHANNEL, RTMP_PT_INVOKE, 0, 25);
146
    ff_rtmp_packet_create(&pkt, RTMP_SYSTEM_CHANNEL, RTMP_PT_INVOKE, 0, 25);
147 147

  
148 148
    p = pkt.data;
149 149
    ff_amf_write_string(&p, "createStream");

Also available in: Unified diff