mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-26 03:42:21 +08:00
Unified code style (#2137)
This commit is contained in:
@@ -19,7 +19,7 @@ namespace mediakit {
|
||||
|
||||
class MediaPusher : public PusherImp<PusherBase,PusherBase> {
|
||||
public:
|
||||
typedef std::shared_ptr<MediaPusher> Ptr;
|
||||
using Ptr = std::shared_ptr<MediaPusher>;
|
||||
|
||||
MediaPusher(const std::string &schema,
|
||||
const std::string &vhost,
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace mediakit {
|
||||
|
||||
class PusherProxy : public MediaPusher, public std::enable_shared_from_this<PusherProxy> {
|
||||
public:
|
||||
typedef std::shared_ptr<PusherProxy> Ptr;
|
||||
using Ptr = std::shared_ptr<PusherProxy>;
|
||||
|
||||
// 如果retry_count<0,则一直重试播放;否则重试retry_count次数
|
||||
// 默认一直重试,创建此对象时候,需要外部保证MediaSource存在
|
||||
|
||||
Reference in New Issue
Block a user