Welcome! Log In Create A New Profile

Advanced

Re: Video Streaming using non http backend, Ref ngx_drizzle

sammy_raul
June 12, 2012 03:02AM
Hi,

I am trying to understand lua module.
Using the above script in the conf file I am able to connect to my upstream.
I have few questions regarding the Lua module.

1)How I can send some data i.e I have to send a message to my backend
probably which is more than a simple string. I have to construct it and
encode it. Probably I need to add to the c function I can see
ngx_http_lua_socket_tcp_send is used to send data over Nginx Socket, but I
could not figure out how I can modify this function and which buffers I need
to put my own data.

2)Before sock:receive I need to decrypt the data before sending to the
client. I think I can decode in the print function in lua_output.c where I
receive the data from upstream. Is that correct.


Thanks,
Raul

Raul


--
View this message in context: http://nginx.2469901.n2.nabble.com/Video-Streaming-using-non-http-backend-Ref-ngx-drizzle-tp7580235p7580380.html
Sent from the nginx mailing list archive at Nabble.com.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Video Streaming using non http backend, Ref ngx_drizzle

Sammy Raul June 03, 2012 10:02PM

Re: Video Streaming using non http backend, Ref ngx_drizzle

sammy_raul June 04, 2012 04:16AM

Re: Video Streaming using non http backend, Ref ngx_drizzle

agentzh June 04, 2012 10:14AM

Re: Video Streaming using non http backend, Ref ngx_drizzle

sammy_raul June 05, 2012 12:08AM

Re: Video Streaming using non http backend, Ref ngx_drizzle

agentzh June 05, 2012 12:18AM

Re: Video Streaming using non http backend, Ref ngx_drizzle

sammy_raul June 12, 2012 03:02AM

Re: Video Streaming using non http backend, Ref ngx_drizzle

agentzh June 12, 2012 07:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready