1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update readme

This commit is contained in:
winlin 2013-11-26 00:03:07 +08:00
parent 7ed20cc670
commit 9e5b3afcbe
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,8 @@ step 2: publish live stream <br/>
<pre> <pre>
FMS URL: rtmp://127.0.0.1:1935/live FMS URL: rtmp://127.0.0.1:1935/live
Stream: livestream Stream: livestream
For example, use ffmpeg to publish:
ffmpeg -re -i source.flv -vcodec copy -acodec copy -f flv -y rtmp://127.0.0.1:1935/live/livestream
</pre> </pre>
step 3: play live stream <br/> step 3: play live stream <br/>
<pre> <pre>

View file

@ -684,7 +684,6 @@ int SrsTSMuxer::write_video(u_int32_t time, SrsCodec* codec, SrsCodecSample* sam
// pps // pps
video_buffer->append(codec->pictureParameterSetNALUnit, codec->pictureParameterSetLength); video_buffer->append(codec->pictureParameterSetNALUnit, codec->pictureParameterSetLength);
} }
} }
// sample start prefix, '00 00 00 01' or '00 00 01' // sample start prefix, '00 00 00 01' or '00 00 01'