I am using Go Coder Android SDK for Broadcasting video.
When video streaming run more than 1 mins it showing below error:
A error occurred writing to the open broadcast connection: (8)
Below is log:
24149-24874 E/WMSTransport: Function call FAILURE result received with the following properties:
24149-24885 E/OMXMaster: A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
24149-24880 E/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
24149-24897 E/WOWZClient: A error occurred writing to the open broadcast connection: (8)
java.net.SocketException: Socket closed
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:211)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:278)
at libcore.io.IoBridge.sendto(IoBridge.java:509)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:500)
at java.net.PlainSocketImpl.-wrap1(PlainSocketImpl.java)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
at com.wowza.gocoder.sdk.support.wse.WOWZClient.write(WOWZClient.java:728)
at com.wowza.gocoder.sdk.support.wse.WOWZClient.writeNalOrAAC(WOWZClient.java:963)
at com.wowza.gocoder.sdk.support.wse.WOWZClient.sendNalWithTimecode(WOWZClient.java:929)
at com.wowza.gocoder.sdk.support.wse.StreamPublisher.onVideoFrame(StreamPublisher.java:215)
at com.wowza.gocoder.sdk.support.encoder.H264Encoder$1.run(H264Encoder.java:698)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
24149-24897 E/StreamPublisher: A error occurred writing to the open broadcast connection: (8)
java.net.SocketException: Socket closed
at libcore.io.Posix.sendtoBytes(Native Method)
at libcore.io.Posix.sendto(Posix.java:211)
at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:278)
at libcore.io.IoBridge.sendto(IoBridge.java:509)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:500)
at java.net.PlainSocketImpl.-wrap1(PlainSocketImpl.java)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
at com.wowza.gocoder.sdk.support.wse.WOWZClient.write(WOWZClient.java:728)
at com.wowza.gocoder.sdk.support.wse.WOWZClient.writeNalOrAAC(WOWZClient.java:963)
at com.wowza.gocoder.sdk.support.wse.WOWZClient.sendNalWithTimecode(WOWZClient.java:929)
at com.wowza.gocoder.sdk.support.wse.StreamPublisher.onVideoFrame(StreamPublisher.java:215)
at com.wowza.gocoder.sdk.support.encoder.H264Encoder$1.run(H264Encoder.java:698)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)