We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b8dede + af4bbbc commit a778468Copy full SHA for a778468
flutter_vlc_player_platform_interface/lib/src/utils/options/vlc_http_options.dart
@@ -30,6 +30,8 @@ class VlcHttpOptions {
30
/// HTTP server, i.e. the HTTP "User-Agent". Name and version must be
31
/// separated by a forward slash, e.g. "FooBar/1.2.3".
32
static String httpUserAgent(String userAgent) {
33
- return '--http-user-agent=$userAgent';
+ // Use colon (:) instead of dashes.
34
+ // See https://stackoverflow.com/a/52127734/109747
35
+ return ':http-user-agent=$userAgent';
36
}
37
0 commit comments