mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
amf0 utest: remove class SrsAmf0String, use SrsAmf0Any instead
This commit is contained in:
parent
57ce04ae12
commit
cae8228b09
6 changed files with 104 additions and 90 deletions
|
@ -276,7 +276,7 @@ int SrsBandwidth::check_play(
|
|||
std::stringstream seq;
|
||||
seq << i;
|
||||
std::string play_data = "SrS band check data from server's playing......";
|
||||
pkt->data->set(seq.str(), new SrsAmf0String(play_data.c_str()));
|
||||
pkt->data->set(seq.str(), SrsAmf0Any::str(play_data.c_str()));
|
||||
}
|
||||
data_count += 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue