Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Android - ifdefs because Android C++ SDK is based off SDK 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Audykowicz committed Sep 11, 2023
1 parent 5e785ac commit 056cf7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DolbyIO/Source/Private/Utils/DolbyIOConversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ namespace DolbyIO
const dolbyio::comms::utils::participant_track_map::value_type& TrackMapItem)
{
FDolbyIOVideoTrack Ret;
#if PLATFORM_ANDROID // SDK 2.7
Ret.TrackID = ToFString(TrackMapItem.second.sdp_track_id);
#else // SDK 2.6
Ret.TrackID = ToFString(std::get<1>(TrackMapItem.second));
#endif
Ret.ParticipantID = ToFString(TrackMapItem.first);
Ret.bIsScreenshare = false;
return Ret;
Expand Down

0 comments on commit 056cf7c

Please sign in to comment.