pixiv / webrtc

This is a fork of WebRTC made by pixiv Inc.
https://github.com/pixiv/webrtc/blob/branch-heads/pixiv-m78/README.pixiv.md
BSD 3-Clause "New" or "Revised" License
112 stars 35 forks source link

how to build webrtc framework which supported audio buffer from broadcast upload extension please mentioned cmds as well to build #23

Open sonusainier opened 3 years ago

akihikodaki commented 3 years ago

See https://github.com/pixiv/webrtc/releases.

sonusainier commented 3 years ago

See https://github.com/pixiv/webrtc/releases.

I have seen these documentation , but when i try to build the framework using python build_ios_libs.py --bitcode it shows and error find_depot_tools file not found please help am i doing right or missing something??

akihikodaki commented 3 years ago

Then you should try to build the original version (not this fork) first. If you still encounter a problem, you may ask on the forum of the upstream project or somewhere like StackOverflow where you can gain more information more quickly.

sonusainier commented 3 years ago

Then you should try to build the original version (not this fork) first. If you still encounter a problem, you may ask on the forum of the upstream project or somewhere like StackOverflow where you can gain more information more quickly.

I am able to build the framework with original version but it doesn't contain audio supported files so that is why i am asking like how can i build the framework from this fork so that i can use the audio buffer method that you have added please guild i am new to this

sonusainier commented 3 years ago

And i also tried by replacing / adding audio files to the original version but media_transport_interface.h file is not present in original version of webrtc code so i stuck with media_transport_interface.h file not found error or if you have the framework built with audio support can you send if possible ??

akihikodaki commented 3 years ago

If you are fine with prebuilt binaries, just grab at https://github.com/pixiv/webrtc/releases. ;)

sonusainier commented 3 years ago

If you are fine with prebuilt binaries, just grab at https://github.com/pixiv/webrtc/releases. ;)

What is prebuilt binaries??

huoda1237 commented 2 years ago

If you are fine with prebuilt binaries, just grab at https://github.com/pixiv/webrtc/releases. ;)

It's too big. Is there one that only contains IOS?

akihikodaki commented 2 years ago

@huoda1237 You may download a package and remove files you don't need from it.

huoda1237 commented 2 years ago

@huoda1237 You may download a package and remove files you don't need from it.

Do you mean that I remove those unnecessary files and then recreate the framework?

akihikodaki commented 2 years ago

@huoda1237 The package includes common files, an iOS framework, a macOS framework, an Android library, a Windows DLL, and Linux archive. You can leave the common files and the iOS framework and remove anything else.

huoda1237 commented 2 years ago

@huoda1237 The package includes common files, an iOS framework, a macOS framework, an Android library, a Windows DLL, and Linux archive. You can leave the common files and the iOS framework and remove anything else.

I have compiled successfully. How can I modify the name? For example, I want to change WebRTC.framework to MyWebRTC.framework,thank you

akihikodaki commented 2 years ago

@huoda1237 You need to take a look at the code. I guess it requires modifying the code, which I don't really recommend. Also, it is not specific to this fork and you can get answers for such a question from more people on the forum of the upstream or on sites like StackOverflow.

huoda1237 commented 2 years ago

@huoda1237 You need to take a look at the code. I guess it requires modifying the code, which I don't really recommend. Also, it is not specific to this fork and you can get answers for such a question from more people on the forum of the upstream or on sites like StackOverflow.

ok ,thank you

DevMile commented 2 years ago

@huoda1237 @akihikodaki Hello guys, Im joining this conversation because I have the same issue. I need to transfer video and audio buffers to server via Broadcast Upload Extension. Video transfer is working ok, but I need to enable audio transfer too. Currently Im using this webRTC lib: https://github.com/stasel/WebRTC-iOS

How can I compile your fork just for iOS usage? @huoda1237 do you maybe have working example or compiled framework I can use? That would save me a lot of time. Thank you so much guys!

chaudharyvivek commented 2 years ago

@huoda1237 @sonusainier Can you please let me know the steps to compile the GoogleWebRTC or this extension framework? I am able to compile GoogleWebRTC Framework but when I integrate it, It says WebRTC classes undefined. Seems like I am missing any step.

juangilgithub commented 2 years ago

@huoda1237 You need to take a look at the code. I guess it requires modifying the code, which I don't really recommend. Also, it is not specific to this fork and you can get answers for such a question from more people on the forum of the upstream or on sites like StackOverflow.

ok ,thank you

Hi,

Could you share with us how did you compile this source? I would appreciate it very much

Thanks