pedrosg94 / androidrestreamer Goto Github PK
View Code? Open in Web Editor NEWDemo app to re stream from VLC
Demo app to re stream from VLC
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
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!
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.
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)
Hi,
can i restream without play the video?
I would like to exclude ffmpeg.
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:
I see broadcasting stream being created in Ant Media's live app:
However, the video that I receive on ant media is black:
The stream URL I use is:
private val streamURL = "rtmp://192.168.2.55/LiveApp/650968657595534014313119"
Questions:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.