diff options
Diffstat (limited to 'cast/streaming/offer_messages.cc')
-rw-r--r-- | cast/streaming/offer_messages.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cast/streaming/offer_messages.cc b/cast/streaming/offer_messages.cc index 3e816026..eeefcc5d 100644 --- a/cast/streaming/offer_messages.cc +++ b/cast/streaming/offer_messages.cc @@ -202,8 +202,8 @@ Json::Value Stream::ToJson() const { "this code assumes Ssrc fits in a Json::UInt"); root["ssrc"] = static_cast<Json::UInt>(ssrc); root["targetDelay"] = static_cast<int>(target_delay.count()); - root["aesKey"] = HexEncode(aes_key); - root["aesIvMask"] = HexEncode(aes_iv_mask); + root["aesKey"] = HexEncode(aes_key.data(), aes_key.size()); + root["aesIvMask"] = HexEncode(aes_iv_mask.data(), aes_iv_mask.size()); root["receiverRtcpEventLog"] = receiver_rtcp_event_log; root["receiverRtcpDscp"] = receiver_rtcp_dscp; root["timeBase"] = "1/" + std::to_string(rtp_timebase); |