WebRTC Client & Server : Source Codes

kokoroayo

Member
Licensed User
Longtime User
Thanks, I've received the mail and will be looking at it later today.

My questions:
1. Will there be function for Call Recording?
2. Will i be able to use the library in web view (possibly from B4J)?
 

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi, I have been on leave for the last 2 weeks, just got the email with the B4AWebRTC.zip, where is the B4J server stuff, is it done yet, or have I missed something ?

John.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hi, I have been on leave for the last 2 weeks, just got the email with the B4AWebRTC.zip, where is the B4J server stuff, is it done yet, or have I missed something ?

John.
Hello,

You have missed this post :

and this post :

Thank you,
Saif
 

Jmu5667

Well-Known Member
Licensed User
Longtime User
So, stage 2 is not yet released ? I am not interested in connecting to 3rd party servers, it's the b4j that matters to me.
 

jchida

Member
Licensed User
Longtime User
Hi Saif,
I received an email yesterday. I'm ready to check your webrtc client.
Question:
Can we use an extra usb camera connected to an Android device?
If it's possible or not, could you explain?
Thanks
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Question:
Can we use an extra usb camera connected to an Android device?
If it's possible or not, could you explain?
Hello,

The library uses 2 WebRTC classes which are :
1- Camera1Enumerator
2- Camera2Enumerator

Both of the above classes are responsible to open Camera 1 (Front Camera) and Camera 2 (Back Camera)

So it's not possible to load an external camera (USB Camera).

Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
I have noticed that switching camera feature has a small bug..
It does not switch every time
Just tested it, it works without any problems.

The mute, end call, switch camera buttons are PNG images, which means you are clicking on the empty space in the image.

We will add a panel on top of the images to capture all of the clicks in stage 2.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello everyone :)

As promised, we will send you the 2 projects for free within 10-20 minutes :)

The 2 free source codes we will include are :
1- B4J Web App : Ultimate Invoice System : Source Code :

2- B4J Web App : Advance Project Management : Source Code :

Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello everyone :)

As promised, we will send you the 2 projects for free within 10-20 minutes :)



Thank you,
Saif
Hello everyone :)

We have sent the free source codes as mentioned before via email.

*Important Notes :
1-These free source codes are only for the clients that purchased the WebRTC source codes before it's release on 17-08-2021 10:45 PM GMT 3+
2-The links will be disabled in less than 10 hours on (19-08-2021) 10:00 PM GMT 3+, So make sure to download them before the expiration date/time.

Thank you,
Saif
 

jchida

Member
Licensed User
Longtime User
Saif:
If compile in debug mode your example works fine (inside my local network).
but If compile in release mode to use my cell network can't get a complete call, it seems to be connected but no video from the other side...
Where can I find some documentation for this library? to see what happened with ICE interaction
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Saif:
If compile in debug mode your example works fine (inside my local network).
but If compile in release mode to use my cell network can't get a complete call, it seems to be connected but no video from the other side...
Where can I find some documentation for this library? to see what happened with ICE interaction
Hello,

1-This library sends/receives huge data which are : video bytes and audio bytes.
If your cell network can't handle it then there will not be any video transmission and sometimes only the audio will work.

2-When you run the B4A project, look at the right side (logs) and see how much is the ping, if it's higher than 1500 then it will never be able to send and receive the video call.

There are a lot of articles discussing why WebRTC is failing when using Cell Network :


3- If you want a documentation about how this library works then visit :

Thank you,
Saif
 
Last edited:

jchida

Member
Licensed User
Longtime User
Saif,
I have some backgrounds in webRTC...
What I want to know it's about your methods and properties exposed by your class:
1629484166177.png

and what is this kind of data type: org.webrtc.IceCandidate?? (for example:)
1629484360336.png


How can we connect to a different server?
How can we change features like these:

Extra B4A Client features :
1- You will be able to control the video resolution
2- You are able to connect to servers other than the B4J WebRTC server, for example : https://appr.tc/
3- You are able to control the Camera FPS
And many other amazing features...
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Saif,
I have some backgrounds in webRTC...
What I want to know it's about your methods and properties exposed by your class:
View attachment 118058
and what is this kind of data type: org.webrtc.IceCandidate?? (for example:)
View attachment 118059
Hello,

1-These parameters and functions will be private in the next update, these are internal functions used by internal classes and shouldn't be used in B4A.
We have already created an example and sent it to everyone which you should use it as is.

How can we connect to a different server?
2- There will be only 2 servers which are B4J server and it's in the works and should be released very very soon, and the appr.tc which you are connected to right now.

Also the appr.tc is for the testing purposes only as it's stated in the appr.tc website and shouldn't be used in production.

How can we change features like these:

Extra B4A Client features :
1- You will be able to control the video resolution
2- You are able to connect to servers other than the B4J WebRTC server, for example : https://appr.tc/
3- You are able to control the Camera FPS
And many other amazing features...
3- We will not add any extra feature to this library because in the past we used to release a project and keep on updating and adding features to it and the requests never ended till this day (VNC, VoIP, VPN, etc...) , so this project will be released as is without any extra features.

Thank you,
Saif
 

jchida

Member
Licensed User
Longtime User
I'm not requesting any new feature.
That was your offer.
For example, now it is sending a big picture (high resolution) from my phone to the other side.
I'd like to control that..
 

sfsameer

Well-Known Member
Licensed User
Longtime User
I'm not requesting any new feature.
That was your offer.
For example, now it is sending a big picture (high resolution) from my phone to the other side.
I'd like to control that..
Hello,

You meant this from the first post, correct? :
Extra B4A Client features :
1- You will be able to control the video resolution
2- You are able to connect to servers other than the B4J WebRTC server, for example : https://appr.tc/
3- You are able to control the Camera FPS
And many other amazing features...

1- We will add a spinner which you can choose the low, medium, high resolution
2- It's already created to work with appr.tc and B4J WebRTC Server and the B4J WebRTC should be released very soon.
3- Same point as 1

the other features which are built-in the WebRTC sdk will be announced once every stage is released.

Thank you,
Saif
 

javiers

Active Member
Licensed User
Longtime User
Hello Dear,

We will release the project in 3 stages so we don't delay it's release any further.

1- WebRTC Android : will be released within less than 24 hours.
2- WebRTC B4J Server : will be released within less than 48 hours.
3- WebRTC Android Conference Call : will be released within less than 72 hours.

Thank you,
Saif

Good morning Saif,
What news do you have about development?
I think we are all eager to receive such an interesting project ...
 
Top