Add a 'resume' metadata tag for when the stream is about to play
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user