|
@@ -46,7 +46,6 @@ struct RTC_CPP_EXPORT Message : binary {
|
|
|
|
|
|
using message_ptr = shared_ptr<Message>;
|
|
|
using message_callback = std::function<void(message_ptr message)>;
|
|
|
-using message_variant = variant<binary, string>;
|
|
|
|
|
|
inline size_t message_size_func(const message_ptr &m) {
|
|
|
return m->type == Message::Binary || m->type == Message::String ? m->size() : 0;
|