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

fix #150, forward should forward the sequence header when retry. 0.9.208.

This commit is contained in:
winlin 2014-08-24 22:34:38 +08:00
parent 9b6187c3d5
commit 42a43c69cd
4 changed files with 39 additions and 1 deletions

View file

@ -65,6 +65,12 @@ private:
SrsRtmpClient* client;
SrsRtmpJitter* jitter;
SrsMessageQueue* queue;
/**
* cache the sequence header for retry when slave is failed.
* @see https://github.com/winlinvip/simple-rtmp-server/issues/150
*/
SrsSharedPtrMessage* sh_audio;
SrsSharedPtrMessage* sh_video;
public:
SrsForwarder(SrsSource* _source);
virtual ~SrsForwarder();