Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

RealtimeStreaming's Windows Desktop server crashes when I try to stop streamming (winrt::hresult_error) #338

@danilogr

Description

@danilogr

Hello,

Whenever I try to stop streaming a video from DesktopServerApp the application crashes with a winrt::hresult_error exception.

desktop_server_crash1

Looking through the stack trace, this is the call responsible for the crash:
image

It crashes on a co_await in line 86 (within method winrt::fire_and_forget Connection::RunSocketLoop() in Connection.cpp:73)

     84        // Read in the batch of data (header & payload)
     85        Buffer headerBuffer(sizeof(PayloadHeader));
---> 86        co_await inputStream.ReadAsync(headerBuffer, headerBuffer.Capacity(), InputStreamOptions::None);
     87
     88        HRESULT hr = OnHeaderReceived(headerBuffer);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions