mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: fix SrsSessionInfo about copy assignment operator and comparison operator.
This commit is contained in:
parent
36cbe851ca
commit
7c1d3edd36
4 changed files with 16 additions and 3 deletions
|
|
@ -36,7 +36,9 @@ public:
|
|||
srs_error_t parse_attribute(const std::string& attribute, const std::string& value);
|
||||
srs_error_t encode(std::ostringstream& os);
|
||||
|
||||
bool operator=(const SrsSessionInfo& rhs);
|
||||
bool operator==(const SrsSessionInfo& rhs);
|
||||
// user-defined copy assignment (copy-and-swap idiom)
|
||||
SrsSessionInfo& operator=(SrsSessionInfo other);
|
||||
public:
|
||||
std::string ice_ufrag_;
|
||||
std::string ice_pwd_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue