Thursday, September 19, 2013

Metadata copy mode in nginx-rtmp-module version 1.0.4

The new version 1.0.4 of nginx-rtmp-module has new metadata sending mode. Previous versions could only send reconstructed metadata with predefined fields (height, width etc) or completely turn metadata off. Now it's possible to send exact copy of publisher metadata block. The block now can contain any data fields. All the fields will be passed to subscribers.

application /myapp {
    live on;
    meta copy;
}

The meta directive keeps old default value on which sends reconstructed metadata. For copy mode please specify meta copy explicitly.

No comments:

Post a Comment