Created
March 23, 2020 22:31
-
-
Save icywind/9dcdbb09b52b88d8afce63864d2b791e to your computer and use it in GitHub Desktop.
Method to send the data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerator CoProcessDrawing(DrawmarkModel dm) | |
{ | |
string json = JsonUtility.ToJson(dm); | |
if (dataStreamId > 0) | |
{ | |
rtcEngine.SendStreamMessage(dataStreamId, json); | |
} | |
yield return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment