diff --git a/player.c b/player.c index bd809d72..5725d6a2 100644 --- a/player.c +++ b/player.c @@ -562,6 +562,9 @@ static abuf_t *buffer_get_frame(void) { // debug(1,"Exact frame gap is %llu; play %d frames of silence. Dac_delay is %d, with %d packets.",exact_frame_gap,fs,dac_delay,seq_diff(ab_read, ab_write)); config.output->play(silence, fs); free(silence); + if (ab_buffering==0) { + send_ssnc_metadata('prsm',NULL,0); // "resume" + } } } } diff --git a/rtsp.c b/rtsp.c index e7c935fa..215890b5 100644 --- a/rtsp.c +++ b/rtsp.c @@ -789,10 +789,11 @@ static void handle_set_parameter_parameter(rtsp_conn_info *conn, // 'pbeg' -- play stream begin. No arguments // 'pend' -- play stream end. No arguments // 'pfls' -- play stream flush. No arguments +// 'prsm' -- play stream resume. No arguments // 'pvol' -- play volume. The volume is sent as a string. // 'mdst' -- a sequence of metadata is about to start // 'mden' -- a sequence of metadata has ended -// 'snam' -- the name of the originator -- e.g. "Joe's iPhone" or "iTunes". The UTF-8 string and its length are passed is a malloc'ed block +// 'snam' -- the name of the originator -- e.g. "Joe's iPhone" or "iTunes...". // // including a simple base64 encoder to minimise malloc/free activity