mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
添加rtc类型的推流
This commit is contained in:
parent
b96052d387
commit
155c59e17e
@ -35,6 +35,7 @@ string getOriginTypeString(MediaOriginType type){
|
|||||||
SWITCH_CASE(ffmpeg_pull);
|
SWITCH_CASE(ffmpeg_pull);
|
||||||
SWITCH_CASE(mp4_vod);
|
SWITCH_CASE(mp4_vod);
|
||||||
SWITCH_CASE(device_chn);
|
SWITCH_CASE(device_chn);
|
||||||
|
SWITCH_CASE(rtc_push);
|
||||||
default : return "unknown";
|
default : return "unknown";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,8 @@ enum class MediaOriginType : uint8_t {
|
|||||||
pull,
|
pull,
|
||||||
ffmpeg_pull,
|
ffmpeg_pull,
|
||||||
mp4_vod,
|
mp4_vod,
|
||||||
device_chn
|
device_chn,
|
||||||
|
rtc_push,
|
||||||
};
|
};
|
||||||
|
|
||||||
string getOriginTypeString(MediaOriginType type);
|
string getOriginTypeString(MediaOriginType type);
|
||||||
|
Loading…
Reference in New Issue
Block a user