Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15497] iOS: i18n: Error message "Unable to configure network read stream"

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-06-19T20:30:22.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sn/a
ComponentsiOS
Labelsaudioplayer, ios, streaming
ReporterEzoom Agency
AssigneeEric Merriman
Created2013-10-01T21:14:23.000+0000
Updated2017-06-19T20:30:22.000+0000

Description

Problem Description

When you are trying to stream an audio file using *createAudioPlayer*, if you don't have an active connetcion, or you lose your connection while streaming, the message *"Unable to configure network read stream"* will show up. The problem is that it's an English only message, and it's not clear for users about what is happening. Possible solution is to allow us changing the message text, or disabling it and checking manually the connection.

Test Case

Ti.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_PLAYBACK;
var musicPlayer = Ti.Media.createAudioPlayer({
	autoplay:true,
	allowBackground: true,
	url:'http://www.developphp.com/lesson_files/audio_files/Scurvy_Pirate.mp3'
});

Attachments

FileDateSize
Screen Shot 2013-10-01 at 18.10.31.png2013-10-01T21:14:23.000+000060670

Comments

  1. Lee Morris 2017-06-19

    I am unable to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170609091155 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source