winlin

update dvr comments

@@ -49,13 +49,13 @@ public: @@ -49,13 +49,13 @@ public:
49 virtual ~SrsDvr(); 49 virtual ~SrsDvr();
50 public: 50 public:
51 /** 51 /**
52 - * publish stream event, continue to write the m3u8,  
53 - * for the muxer object not destroyed. 52 + * publish stream event,
  53 + * when encoder start to publish RTMP stream.
54 */ 54 */
55 virtual int on_publish(SrsRequest* req); 55 virtual int on_publish(SrsRequest* req);
56 /** 56 /**
57 - * the unpublish event, only close the muxer, donot destroy the  
58 - * muxer, for when we continue to publish, the m3u8 will continue. 57 + * the unpublish event.,
  58 + * when encoder stop(unpublish) to publish RTMP stream.
59 */ 59 */
60 virtual void on_unpublish(); 60 virtual void on_unpublish();
61 /** 61 /**
@@ -63,11 +63,11 @@ public: @@ -63,11 +63,11 @@ public:
63 */ 63 */
64 virtual int on_meta_data(SrsAmf0Object* metadata); 64 virtual int on_meta_data(SrsAmf0Object* metadata);
65 /** 65 /**
66 - * mux the audio packets to ts. 66 + * mux the audio packets to dvr.
67 */ 67 */
68 virtual int on_audio(SrsSharedPtrMessage* audio); 68 virtual int on_audio(SrsSharedPtrMessage* audio);
69 /** 69 /**
70 - * mux the video packets to ts. 70 + * mux the video packets to dvr.
71 */ 71 */
72 virtual int on_video(SrsSharedPtrMessage* video); 72 virtual int on_video(SrsSharedPtrMessage* video);
73 }; 73 };