mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Fix RTMP streams
This commit is contained in:
@@ -611,7 +611,7 @@ AudioEngine::gotStreamUrl( const QVariantMap& data )
|
|||||||
QVariantMap headers = data[ "headers" ].toMap();
|
QVariantMap headers = data[ "headers" ].toMap();
|
||||||
Tomahawk::result_ptr result = sender()->property( "result" ).value<result_ptr>();
|
Tomahawk::result_ptr result = sender()->property( "result" ).value<result_ptr>();
|
||||||
|
|
||||||
if ( streamUrl.isEmpty() || !( TomahawkUtils::isHttpResult( streamUrl ) || TomahawkUtils::isHttpsResult( streamUrl ) || TomahawkUtils::isRtmpResult( streamUrl ) ) )
|
if ( streamUrl.isEmpty() || !( TomahawkUtils::isHttpResult( streamUrl ) || TomahawkUtils::isHttpsResult( streamUrl ) ) )
|
||||||
{
|
{
|
||||||
// Not an http(s) or RTMP URL, get IO device
|
// Not an http(s) or RTMP URL, get IO device
|
||||||
QSharedPointer< QIODevice > sp;
|
QSharedPointer< QIODevice > sp;
|
||||||
|
Reference in New Issue
Block a user