mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fixbug[play packet decode bug: srs only read bool type play reset value, actually this value can be bool or number]
This commit is contained in:
parent
276b60200f
commit
f8a7db51f2
25 changed files with 2 additions and 278 deletions
|
@ -446,17 +446,7 @@ int SrsRtmpClient::publish(string stream, int stream_id)
|
|||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
SrsProtocol *SrsRtmpClient::get_protocol()
|
||||
{
|
||||
return protocol;
|
||||
}
|
||||
|
||||
st_netfd_t SrsRtmpClient::get_st_fd()
|
||||
{
|
||||
return stfd;
|
||||
return ret;
|
||||
}
|
||||
|
||||
SrsRtmp::SrsRtmp(st_netfd_t client_stfd)
|
||||
|
|
|
@ -131,10 +131,6 @@ public:
|
|||
virtual int create_stream(int& stream_id);
|
||||
virtual int play(std::string stream, int stream_id);
|
||||
virtual int publish(std::string stream, int stream_id);
|
||||
|
||||
protected:
|
||||
SrsProtocol* get_protocol();
|
||||
st_netfd_t get_st_fd();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue