From 4b3385562ab9c909ff7fd87f9d86a8aaa6e43e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Calles?= Date: Wed, 27 Nov 2013 17:04:09 +0000 Subject: [PATCH] added presentation delay to dash fragments + Repr. IDs --- dash/ngx_rtmp_dash_module.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dash/ngx_rtmp_dash_module.c b/dash/ngx_rtmp_dash_module.c index ad9a7bb..ac886fc 100644 --- a/dash/ngx_rtmp_dash_module.c +++ b/dash/ngx_rtmp_dash_module.c @@ -273,6 +273,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s) #define NGX_RTMP_DASH_MANIFEST_VIDEO \ " \n" \ " buf->pos[4]; + p[1] = in->buf->pos[3]; + p[2] = in->buf->pos[2]; + p[3] = 0; + p = (u_char *) &delay;