B4A Library libStreaming v1.3

DonManfred

Expert
Licensed User
Longtime User
Can you share the way you do to test the library , any online free streaming server or any pc software ?
Sorry, i can´t really help on this. I just wrote the wrap and was using the wowza server from a tester to test it.

https://www.wowza.com/products/streaming-engine

the wowza streaming-engine server for example is a windows software to download. I never configured a wowza server.
 

Leni Berry

Active Member
Licensed User
Longtime User
how to get this awesome library?

(i'm sorry i didnt look at the first post...)
 
Last edited:

Leni Berry

Active Member
Licensed User
Longtime User
the library is working well... but only video show... the audio off... how to enable the audio?
 

DonManfred

Expert
Licensed User
Longtime User
how to enable the audio?
set the audioencode to 3 or 5... (See Example-Code in post #1)
 

Leni Berry

Active Member
Licensed User
Longtime User
Dear Expert,

How to know another parameters value not just int 1 for setVideoEncoder?

thx
 

DonManfred

Expert
Licensed User
Longtime User
How to know another parameters value not just int 1 for setVideoEncoder?
You can use any static names for them...

B4X:
/** Can be used with {@link #setVideoEncoder}. */
    public final static int VIDEO_NONE = 0;

    /** Can be used with {@link #setVideoEncoder}. */
    public final static int VIDEO_H264 = 1;

    /** Can be used with {@link #setVideoEncoder}. */
    public final static int VIDEO_H263 = 2;

B4X:
dim VIDEO_NONE as int = 0
dim VIDEO_H264  as int = 1
dim  VIDEO_H263 as int = 2
 

Leni Berry

Active Member
Licensed User
Longtime User

thank you very much Manfred.... i'll try...
 

Descartex

Well-Known Member
Licensed User
Longtime User
Hi.
Is any way to stream audio only like the official Wowza app do???
I need to stream audio only, no video needed.
Thanks a lot in advance.
 

DonManfred

Expert
Licensed User
Longtime User
Is any way to stream audio only like the official Wowza app do?
Did you tried all variants of

setAudioEncoder (encoder As Int) As SessionBuilderWrapper
Sets the audio encoder.

One of the AudioEncode is NONE i guess... Did not use the lib a long time

Edit:

 

Descartex

Well-Known Member
Licensed User
Longtime User
Yes, but i need to disable video, not audio...
 

RobertoBmb

Member
Licensed User
Hi Don, i have a problem with your wrap.
When i connect to my RTSP server, it writes this messages:

2020/04/17 17:38:58 [RTSP client 192.168.8.100:40380] connected
2020/04/17 17:38:58 [RTSP client 192.168.8.100:40380] ANNOUNCE
2020/04/17 17:38:58 [RTSP client 192.168.8.100:40380] SETUP
2020/04/17 17:38:58 [RTSP client 192.168.8.100:40380] ERR: transport header does not contain mode=record
2020/04/17 17:38:58 [RTSP client 192.168.8.100:40380] disconnected

How can i set the trasport header with mode=record ?

Thank you!
Roberto
 

moster67

Expert
Licensed User
Longtime User
I think the original libStreaming project on GitHub was discontinued quite some time ago.
For your information, I will be releasing a library shortly which supports initially only RTMP but I will probably add RTSP to it as well.
When released, I will announce it here in the forum.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…