Replies: 2 comments 1 reply
-
Hello, You have an example here to stream using a service: According with your code you are using usb camera to stream so you will need change the code a bit. In your case you will need use RtmpClient directly and send video frames in h264 to it. Remember that you will need send video info to RtmpClient (sps and pps) to work. |
Beta Was this translation helpful? Give feedback.
-
Hello, You have multiple obvious errors. import com.pedro.streamer.R;
This is the resource import from my project. This should be removed and replace code that use it. ConnectCheckerRtp class is a class created for the example to join ConnectCheckerRtmp and ConnectCheckerRtsp in one. About your requirements using UVC camera. Maybe you can try this project (the code is old but you can try update to last library version): |
Beta Was this translation helpful? Give feedback.
-
Hi all, I'm a newbie and want to ask the way how to do the live streaming via rtmp. Below is my code in the service:
.....
....
can anyone assist me, really appreciate it
Beta Was this translation helpful? Give feedback.
All reactions