File tree Expand file tree Collapse file tree
include/privmx/endpoint/stream Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ ENDPOINT_SERVER_TYPE(StreamUnpublishModel)
281281TYPE_END
282282
283283ENDPOINT_SERVER_TYPE (StreamTrickleModel)
284- OBJECT_PTR_FIELD (candidate )
284+ OBJECT_PTR_FIELD (rtcCandidate )
285285 INT64_FIELD (sessionId)
286286TYPE_END
287287
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ StreamUnpublishedEvent Events::extractStreamUnpublishedEvent(const core::EventHo
219219}
220220
221221bool Events::isStreamLeftEvent (const core::EventHolder& handler) {
222- return handler.type () == " streamCustom " ;
222+ return handler.type () == " streamLeft " ;
223223}
224224
225225StreamLeftEvent Events::extractStreamLeftEvent (const core::EventHolder& handler) {
Original file line number Diff line number Diff line change @@ -1116,7 +1116,7 @@ void StreamApiLowImpl::assertTurnServerUri(const std::string& uri) {
11161116void StreamApiLowImpl::trickle (const int64_t sessionId, const std::string& candidateAsJson) {
11171117 auto model = utils::TypedObjectFactory::createNewObject<server::StreamTrickleModel>();
11181118 model.sessionId (sessionId);
1119- model.candidate (utils::TypedObjectFactory::createObjectFromVar<dynamic::RTCIceCandidate>(privmx::utils::Utils::parseJson (candidateAsJson)));
1119+ model.rtcCandidate (utils::TypedObjectFactory::createObjectFromVar<dynamic::RTCIceCandidate>(privmx::utils::Utils::parseJson (candidateAsJson)));
11201120 _serverApi->trickle (model);
11211121}
11221122
You can’t perform that action at this time.
0 commit comments