Skip to content
Oct 11 / Mark

H264 Streaming Module for Nginx compiling error

Linux

Update 2011-11-02: As of version 1.0.7, nginx has built-in support for mp4 streaming.

When compiling Nginx with the nginx_mod_h264_streaming module, you might run into this error:

error: ‘ngx_http_request_t’ has no member named ‘zero_in_uri’

Apply this patch or manual patch it like this:

vi nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c

Look for this piece of code, and remove it.

if (r->zero_in_uri)
 {
  return NGX_DECLINED;
}

Save the file and run “make” again in the nginx directory.

Leave a Comment

*