mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-18 02:55:46 +00:00
janus: commented zero_playout_delay opts
This commit is contained in:
parent
414f536ace
commit
c0588c6736
@ -108,14 +108,14 @@ static void *_common_thread(void *v_client, bool video) {
|
||||
packet.mindex = (rtp->video ? 0 : 1);
|
||||
# endif
|
||||
janus_plugin_rtp_extensions_reset(&packet.extensions);
|
||||
if (rtp->zero_playout_delay) {
|
||||
/*if (rtp->zero_playout_delay) {
|
||||
// https://github.com/pikvm/pikvm/issues/784
|
||||
packet.extensions.min_delay = 0;
|
||||
packet.extensions.max_delay = 0;
|
||||
} else {
|
||||
packet.extensions.min_delay = 0;
|
||||
packet.extensions.max_delay = 1000;
|
||||
}
|
||||
}*/
|
||||
client->gw->relay_rtp(client->session, &packet);
|
||||
}
|
||||
us_rtp_destroy(rtp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user