Horrible Player Error - 3G Only

I have a code that plays MP3 stream , and when working on wifi works flawlessly. When I try to run the exact same code on a 3G connection, AwesomePlayer returns -1004 error , without HTTP errors.

Below is a copy of the magazine.

I tried to connect to the server using an internet browser and it works fine, so this is not a routing problem.

 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): Client(14) constructor 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): Create new client(14) from pid 4482, url=http://212.48.126.146:8060, connId=14, audioSessionId=16 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): setDataSource(http://212.48.126.146:8060) 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): getPlayerTypeFromMAP(http://212.48.126.146:8060): PLAYERS_MAP[25].playertype 0 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): player type = 4 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): create StagefrightPlayer 08-02 11:31:41.018: VERBOSE/AudioSink(1238): AudioOutput(16) 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): setDataSource 08-02 11:31:41.018: INFO/StagefrightPlayer(1238): setDataSource('http://212.48.126.146:8060') 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): [14] setAudioStreamType(3) 08-02 11:31:41.018: VERBOSE/MediaPlayerService(1238): [14] prepareAsync 08-02 11:31:41.018: INFO/NuHTTPDataSource(1238): overrides append 08-02 11:31:41.018: INFO/NuHTTPDataSource(1238): connect to 212.48.126.146:8060/ @0 08-02 11:31:41.018: INFO/NuHTTPDataSource(1238): ENTER connect 08-02 11:31:41.018: INFO/NuHTTPDataSource(1238): [Stagefright] 212.48.126.146 is not localhost 08-02 11:31:41.018: INFO/NuHTTPDataSource(1238): [Stagefright] do not use http proxy 08-02 11:31:41.018: INFO/HTTPStream(1238): start connect_nonb 08-02 11:31:41.108: INFO/HTTPStream(1238): back from connect_nonb 08-02 11:31:41.108: INFO/HTTPStream(1238): start connect_nonb 08-02 11:31:41.228: INFO/HTTPStream(1238): back from connect_nonb 08-02 11:31:41.398: INFO/NuHTTPDataSource(1238): LEAVE connect 08-02 11:31:41.398: INFO/AwesomePlayer(1238): mConnectingDataSource->connect() returned -1004 08-02 11:31:41.398: VERBOSE/MediaPlayerService(1238): [14] notify (0x38350, 100, 1, -1004) 08-02 11:31:41.408: ERROR/MediaPlayer(4482): error (1, -1004) 08-02 11:31:41.408: ERROR/MediaPlayer(4482): Error (1,-1004) 

If anyone has any ideas, I can try, I would be grateful.

Thank you very much in advance,

Neil.

+4
source share
1 answer

it could be your 3g connection error. check 3g connection.

0
source

All Articles