Skip to content

Commit

Permalink
Rename BufferUpdate to FrameReceived
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 7, 2020
1 parent c181b57 commit b8b706e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion ScreenCast.Core/Communication/CasterSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ private void ApplyConnectionHandlers()
conductor.InvokeViewerRemoved(viewerID);

});
Connection.On("BufferUpdate", (int bytesReceived, string viewerID) =>
Connection.On("FrameReceived", (int bytesReceived, string viewerID) =>
{
if (conductor.Viewers.TryGetValue(viewerID, out var viewer))
{
Expand Down
4 changes: 2 additions & 2 deletions Server/Services/RCBrowserSocketHub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ public Task SendClipboardTransfer(string transferText, bool typeText)
return RCDeviceHub.Clients.Client(ScreenCasterID).SendAsync("ClipboardTransfer", transferText, typeText, Context.ConnectionId);
}

public Task SendBufferUpdate(int bytesReceived)
public Task SendFrameReceived(int bytesReceived)
{
return RCDeviceHub.Clients.Client(ScreenCasterID).SendAsync("BufferUpdate", bytesReceived, Context.ConnectionId);
return RCDeviceHub.Clients.Client(ScreenCasterID).SendAsync("FrameReceived", bytesReceived, Context.ConnectionId);
}

public Task SendQualityChange(int qualityLevel)
Expand Down
7 changes: 3 additions & 4 deletions Server/wwwroot/scripts/RemoteControl/RCBrowserSockets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b8b706e

Please sign in to comment.