规范SdpAttr成员变量命名

This commit is contained in:
xiongziliang
2018-10-26 10:59:13 +08:00
parent c556122881
commit bdc1f0cd15
9 changed files with 68 additions and 69 deletions

View File

@@ -61,7 +61,7 @@ RtspDemuxer::RtspDemuxer(const SdpAttr &attr) {
void RtspDemuxer::loadSdp(const SdpAttr &attr) {
auto tracks = attr.getAvailableTrack();
for (auto &track : tracks){
switch (track->type) {
switch (track->_type) {
case TrackVideo: {
makeVideoTrack(track);
}