Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Client/cefweb/CWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ CefResourceRequestHandler::ReturnValue CWebView::OnBeforeResourceLoad(CefRefPtr<

// Allow YouTube TV to work (#1162)
if (domain == "www.youtube.com" && UTF16ToMbUTF8(urlParts.path.str) == "/tv")
iter->second = iter->second.ToString() + "; SMART-TV; Tizen 4.0";
iter->second = iter->second.ToString() + "; Roku 3/7.0";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using "Roku 3/7.0" is not enough, so I tried it out and found that we could add "Wireless" and it works.

Suggested change
iter->second = iter->second.ToString() + "; Roku 3/7.0";
iter->second = iter->second.ToString() + "; Roku 3/7.0, Wireless";


request->SetHeaderMap(headerMap);
}
Expand Down