We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42891da commit 97d51bfCopy full SHA for 97d51bf
ngx_rtmp_gop_cache_module.c
@@ -631,16 +631,14 @@ ngx_rtmp_gop_cache_send(ngx_rtmp_session_t *s)
631
632
meta = NULL;
633
634
- if (cache->meta) {
635
- if (meta_version != cache->meta_version) {
636
- meta = handler->meta_message_pt(s, cache->meta);
637
- if (meta == NULL) {
638
- ngx_rtmp_finalize_session(s);
639
- return;
640
- }
641
-
642
- meta_version = cache->meta_version;
+ if (cache->meta && meta_version != cache->meta_version) {
+ meta = handler->meta_message_pt(s, cache->meta);
+ if (meta == NULL) {
+ ngx_rtmp_finalize_session(s);
+ return;
643
}
+
+ meta_version = cache->meta_version;
644
645
646
/* send metadata */
0 commit comments