Questions tagged [libstreaming]

libstreaming is an open source video streaming library for Android

libstreaming is an API that allows you, with only a few lines of code, to stream the camera and/or microphone of an android powered device using RTP over UDP.

The full javadoc documentation of the API is available here: http://majorkernelpanic.com/libstreaming/doc-v4

43 questions
4
votes
0 answers

Live stream with libstreaming and 3G/LTE

I am using libstreaming (https://github.com/fyhertz/libstreaming) for doing streaming for my android phone to VLC. In a local network, I get to watch the streaming in VLC OK, but when i disable wifi and i Use 3g/lte, I don't get to watch the…
Bae
  • 892
  • 3
  • 12
  • 26
3
votes
4 answers

Libstreaming - use VLC as a RTSP client

I'm trying to use VLC as a RTSP client. The RTSP server is based on the libstreaming library. I'm using the code provided by the 1rst example: // Sets the port of the RTSP server to 1234 Editor editor =…
DavidL
  • 1,120
  • 1
  • 15
  • 34
3
votes
1 answer

How do I get a module installed as a service - Android

I'm attempting to add the rtsp server portion of libstreaming to my application and run it as a service, but even though my application builds and runs fine, the service part isn't being installed and I would appreciate any help figuring out why. I…
Matt
  • 391
  • 5
  • 15
2
votes
1 answer

E/MediaRecorder: start failed: -38

Here is my code. Basically I am trying to stream android screen to vlc media player using rtsp somehow I have managed to stream video perfectly but audio is not playing. I am using AMRNB encoding method to send stream on Local Socket. I can see that…
2
votes
1 answer

using RTSP from wifi connected camera with libstreaming

I am a newbie of using libstreaming. I am wondering if there is a way to use the libstreaming to pull streaming from established rtsp (internal ip) and use it with libstreaming to send it to WOWZA server. So, here is my flow. 1) Connect to camera…
Jin
  • 31
  • 5
2
votes
0 answers

How to stream video besides camera in libstreaming android

I'm looking to stream media from my android phone over RTSP. I looked at the libstreaming library, but that only streams the camera. Does anyone know how to stream JUST the media from a surfaceview, or similar? Thanks
samdelong
  • 97
  • 1
  • 8
2
votes
0 answers

Multiple Libstreaming streams First Stream Freeze after second stream request

I am using Libstreaming for stream Camera Video. Single stream instance working good. But i want to stream at least 2 instance of the same camera feed. I got some hint from the post that setting variable port to "video.setDestinationPorts(5006);"…
2
votes
1 answer

Play audio automatically on load of VideoView using Libstreaming library (Android)

I am developing a phonegap application which has a VideoView screen to play audio (Coming from Wowza streaming engine). My issue is that, I want to play audio instantly when VideoView gets loaded on the screen. What currently is happening in my app,…
Ram
  • 3,887
  • 4
  • 27
  • 49
2
votes
1 answer

Unable to implement RTSP server in Android

I'm trying to implement a lightweight RTSP server in Android to live-stream my camera feed to VLC media player. For this, I'm using libstreaming library. I successfully imported the library in Android Studio and managed to compile and run the…
Vinit Shandilya
  • 1,643
  • 5
  • 24
  • 44
2
votes
1 answer

How to send multicast audio in rtsp using libstreaming and recieve it in vlc player

Uni casting is working fine with my code and vlc. The library source is over here: https://github.com/fyhertz/libstreaming With multicasting, current code is giving output as below upon starting a RTSP sever Transport:…
ammar shahid
  • 411
  • 4
  • 17
2
votes
0 answers

Libstreaming issues in Android Lollipop(Moto G)

I did all the steps mentioned in the answer for this question (MediaRecorder issue on Android Lollipop couldn't make my app run .It is throwing me "An error occurred while connecting to camera : 0" after I tried to play the stream with VLC. How to…
Niranjan
  • 21
  • 1
  • 4
2
votes
2 answers

libstreaming - how to rotate streames video?

libstreaming works fine - in landscape mode. Unfortunately, my app will have to run in portrait mode. No problem for the preview window - I can set it upright with session.setPreviewOrientation(90); But the receiver of the stream will still have…
user611923
  • 143
  • 8
2
votes
1 answer

libstreaming - videoQuality not being set

I am developing an app to stream live video from an android device via RTSP using the libstreaming library. I am trying to change the video quality by using the following code: private void initRtspClient() { mSession =…
Colin747
  • 4,955
  • 18
  • 70
  • 118
2
votes
0 answers

Implementing live video android streaming with wowza

I am trying to implement live video streaming with wowza but i have problem with video quality. I am using rtmp. When I use this code it works fine mSession = SessionBuilder.getInstance() .setContext(getApplicationContext()) …
Predrag Kecman
  • 123
  • 2
  • 6
1
vote
1 answer

How to decode stream of h264 bytes from udp socket to video file

I am currently developing an Android application that streams live video to a server using the libstreaming package. I am able to send the data to my laptop UDP socket, which has a type of an array of bytes. Now, I want to check if the bytes are…
1
2 3