Lines Matching refs:pause
815 * Generate a pause packet that either pauses or unpauses the current stream.
817 static int gen_pause(URLContext *s, RTMPContext *rt, int pause, uint32_t timestamp)
823 av_log(s, AV_LOG_DEBUG, "Sending pause command for timestamp %d\n",
832 ff_amf_write_string(&p, "pause");
835 ff_amf_write_bool(&p, pause); // pause or unpause
836 ff_amf_write_number(&p, timestamp); //where we pause the stream
2942 static int rtmp_pause(URLContext *s, int pause)
2948 if ((ret = gen_pause(s, rt, pause, rt->last_timestamp)) < 0) {
2949 av_log(s, AV_LOG_ERROR, "Unable to send pause command at timestamp %d\n",