Hello android developers.I need to create an application for video
file publishing to the server in android using rtmp client.
Here is the sample code which i have tried
http://code.google.com/p/android-rtmp-client/downloads/detail?name=rtmp_client_src.zip&can=2&q=
first i have tried this sample code in java using rtmp client and it
works fine.The same code i have tried in android by creating the
object of the java class,but am getting the error

caused by java.lang.NullPointerException
at
org.apache.harmony.nio.internal.SelectorImpl.wakeup(SelectorImpl.java:
418)
at
org.apache.mina.transport.socket.nio.NioSocketConnector.wakeup(NioSocketConnector.java
:295)
at
org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector.
java:345)
at
org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:
262)
at
org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:
172)
at org.red5.server.net.rtmp.RTMPClient.startConnector(RTMPClient.java:
80)
at
org.red5.server.net.rtmp.BaseRTMPClientHandler.connect(BaseRTMPClientHandler.java:
244)
at
com.ryong21.example.publisher.PublishClient.start(PublishClient.java:
79)
at com.ryong21.example.publisher.Publisher.main(Publisher.java:35)
at
com.ryong21.example.RtmpclientActivity.onCreate(RtmpclientActivity.java:
37)

Please tell me where i am wrong or else give any sample code for video
file publishing using rtmp client in android.Thanks in Advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to