正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
| @@ -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 | }; |
-
请 注册 或 登录 后发表评论