File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 33 <parent >
44 <groupId >org.red5</groupId >
55 <artifactId >red5-parent</artifactId >
6- <version >1.0.10-M2 </version >
6+ <version >1.0.10-M3 </version >
77 </parent >
88 <modelVersion >4.0.0</modelVersion >
99 <artifactId >red5-server</artifactId >
Original file line number Diff line number Diff line change 170170 <property name =" arguments" value =" 4096" />
171171 </bean >
172172
173+ <!-- Use injection to set the FLV implementation for writing FLV files -->
174+ <bean class =" org.springframework.beans.factory.config.MethodInvokingFactoryBean" >
175+ <property name =" staticMethod" >
176+ <value >org.red5.io.flv.impl.FLVWriter.setFLV</value >
177+ </property >
178+ <property name =" arguments" ref =" flv.impl" />
179+ </bean >
180+
173181 <!-- Low level access for recording to file -->
174182 <bean id =" fileConsumer" scope =" prototype" lazy-init =" true" class =" org.red5.server.stream.consumer.FileConsumer" >
175183 <property name =" delayWrite" value =" ${fileconsumer.delayed.write}" />
176184 <property name =" queueThreshold" value =" ${fileconsumer.queue.size}" />
185+ <property name =" waitForVideoKeyframe" value =" ${fileconsumer.wait.for.keyframe}" />
177186 </bean >
178187
179188 <!-- ClientBroadcastStream and PlaylistSubscriberStream
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ keyframe.cache.entry.max=500
148148war.deploy.server.check.interval =600000
149149fileconsumer.delayed.write =true
150150fileconsumer.queue.size =120
151+ fileconsumer.wait.for.keyframe =true
151152subscriberstream.buffer.check.interval =5000
152153subscriberstream.underrun.trigger =100
153154subscriberstream.max.pending.frames =10
You can’t perform that action at this time.
0 commit comments