winlin

update readme

@@ -20,6 +20,8 @@ step 2: publish live stream <br/> @@ -20,6 +20,8 @@ step 2: publish live stream <br/>
20 <pre> 20 <pre>
21 FMS URL: rtmp://127.0.0.1:1935/live 21 FMS URL: rtmp://127.0.0.1:1935/live
22 Stream: livestream 22 Stream: livestream
  23 +For example, use ffmpeg to publish:
  24 + ffmpeg -re -i source.flv -vcodec copy -acodec copy -f flv -y rtmp://127.0.0.1:1935/live/livestream
23 </pre> 25 </pre>
24 step 3: play live stream <br/> 26 step 3: play live stream <br/>
25 <pre> 27 <pre>
@@ -684,7 +684,6 @@ int SrsTSMuxer::write_video(u_int32_t time, SrsCodec* codec, SrsCodecSample* sam @@ -684,7 +684,6 @@ int SrsTSMuxer::write_video(u_int32_t time, SrsCodec* codec, SrsCodecSample* sam
684 // pps 684 // pps
685 video_buffer->append(codec->pictureParameterSetNALUnit, codec->pictureParameterSetLength); 685 video_buffer->append(codec->pictureParameterSetNALUnit, codec->pictureParameterSetLength);
686 } 686 }
687 -  
688 } 687 }
689 688
690 // sample start prefix, '00 00 00 01' or '00 00 01' 689 // sample start prefix, '00 00 00 01' or '00 00 01'