Coder Social home page Coder Social logo

androidrestreamer's People

Contributors

pedrosg94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

androidrestreamer's Issues

RTSP Restreaming is not working

Hello, i changed the VLCReStreamerRtmp with VLCReStreamerRtsp and adapted the main activity.
But i see that the RtspClient never connects to the restreaming url.. and the streaming flag is always false. Could you help me to get this working

Update to latest version rtplibrary

Hello Pedro,

I am testing out this project of yours since it is very useful for certain situations, especially when you need to pull a rtsp-stream and then re-send it to another rtsp-server. I don't think this is possible with ffmpeg...

I have tested it with Wowza and it works but there are problems with video-scaling and video and audio which come and go.
Maybe it will work better with the latest release of your rtplibrary?
I haven't tried yet but do you foresee any problems in using your latest rtblibrary as a dependency?

Once again, thanks for your incredible work!

issue while running rtsp camera

Hi

I am running my camera url its showing me zoom in data i cant see full camera image

how shall i resize my video ??
Kindly update me on this.

IllegalStateException: startRecording() called on an uninitialized AudioRecord

Hi, I'm looking at this project to see the RTMP library in action.. I noticed it's using an older version of the library but when running I get the following Exception:

I tried updating the library to the latest but it requires code changes so I figured I'd post here first before trying that

10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 Exception configuring surface
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.media.AudioRecord.startRecording(AudioRecord.java:1142)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.pedro.encoder.input.audio.MicrophoneManager.init(MicrophoneManager.java:85)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.pedro.encoder.input.audio.MicrophoneManager.start(MicrophoneManager.java:66)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.streye.androidrestreamer.plugin.VLCReStreamerBase.startEncoders(VLCReStreamerBase.kt:254)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.streye.androidrestreamer.plugin.VLCReStreamerBase.startStream(VLCReStreamerBase.kt:241)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.streye.androidrestreamer.MainActivity.surfaceChanged(MainActivity.kt:53)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.SurfaceView.updateSurface(SurfaceView.java:1165)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.SurfaceView.lambda$new$0$SurfaceView(SurfaceView.java:173)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.-$$Lambda$SurfaceView$w68OV7dB_zKVNsA-r0IrAUtyWas.onPreDraw(Unknown Source:2)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1093)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3094)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1948)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8177)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:972)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.Choreographer.doCallbacks(Choreographer.java:796)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.Choreographer.doFrame(Choreographer.java:731)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.os.Handler.handleCallback(Handler.java:938)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.os.Handler.dispatchMessage(Handler.java:99)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.os.Looper.loop(Looper.java:223)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at android.app.ActivityThread.main(ActivityThread.java:7660)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at java.lang.reflect.Method.invoke(Native Method)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
10-25 15:03:51.702	com.streye.androidrestreamer	31819	-	E	SurfaceView	 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Black screen when sending RTMP to Ant Media Server

Hi Pedro!

I'm testing with the sample app.
I want to transfer video from IP wifi camera -> android phone (as wifi hotspot) -> Ant Media Server Community Edition
I can get image on my phone emulator from the camera:
image
I see broadcasting stream being created in Ant Media's live app:
image
However, the video that I receive on ant media is black:
image

The stream URL I use is:
private val streamURL = "rtmp://192.168.2.55/LiveApp/650968657595534014313119"

Questions:

  1. Do you have any suggestion why video transferred as solid black color?
  2. What media server did you use for testing RTMP stream for this solution?

Re-stream rtsp live cam to rtmp server

Hello,
I used this project to help me capture the stream coming from an rtsp live cam and redirect it to my local rtmp server but It doesn't work. Do you have a clue about why I am having that?

Note:
I am receiving an rtsp live coded in the H264H codec.
This stream needs username/password

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.