diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 52dc45f752..02fbcc420f 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -706,7 +706,7 @@ static int gen_play(URLContext *s, RTMPContext *rt) ff_amf_write_number(&p, ++rt->nb_invokes); ff_amf_write_null(&p); ff_amf_write_string(&p, rt->playpath); - ff_amf_write_number(&p, rt->live); + ff_amf_write_number(&p, rt->live * 1000); return rtmp_send_packet(rt, &pkt, 1); }