File tree 4 files changed +12
-6
lines changed
4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change
1
+ ## Changes from 0.1.0-RC6 to 0.1.0-RC6.1
2
+
3
+ * fixed external streaming with RTSP over TCP input option
4
+
1
5
## Changes from 0.1.0-RC5 to 0.1.0-RC6
2
6
3
7
* updated NPM/Bower packages
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Restreamer" ,
3
- "version" : " 0.1.0-RC6" ,
3
+ "version" : " 0.1.0-RC6.1 " ,
4
4
"license" : " Apache-2.0" ,
5
5
"dependencies" : {
6
6
"bootstrap" : " 3.3.6" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Restreamer" ,
3
- "version" : " 0.1.0-RC6" ,
3
+ "version" : " 0.1.0-RC6.1 " ,
4
4
"description" : " Allows you to do h.264 real-time video streaming on your website without a streaming provider" ,
5
5
"author" : " datarhei.org" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change @@ -167,9 +167,11 @@ class Restreamer {
167
167
return Restreamer . appendOutputOptionFromConfig ( ffmpegCommand ) ;
168
168
}
169
169
170
- static applyOptions ( ffmpegCommand ) {
171
- if ( Restreamer . data . options . rtspTcp && Restreamer . data . addresses . srcAddress . indexOf ( 'rtsp' ) === 0 ) {
172
- ffmpegCommand . inputOptions ( '-rtsp_transport tcp' ) ;
170
+ static applyOptions ( ffmpegCommand , streamType ) {
171
+ if ( streamType === 'repeatToLocalNginx' ) {
172
+ if ( Restreamer . data . options . rtspTcp && Restreamer . data . addresses . srcAddress . indexOf ( 'rtsp' ) === 0 ) {
173
+ ffmpegCommand . inputOptions ( '-rtsp_transport tcp' ) ;
174
+ }
173
175
}
174
176
}
175
177
@@ -311,7 +313,7 @@ class Restreamer {
311
313
Restreamer . updateProgressOnGui ( ) ;
312
314
command . removeAllListeners ( 'progress' ) ;
313
315
} ;
314
- Restreamer . applyOptions ( command ) ;
316
+ Restreamer . applyOptions ( command , streamType ) ;
315
317
command
316
318
// stream started
317
319
. on ( 'start' , ( commandLine ) => {
You can’t perform that action at this time.
0 commit comments