pedroSG94 / RootEncoder-iOS

RootEncoder iOS (rtmp-rtsp-stream-client-swift) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP and SRT with all code written in Swift
Apache License 2.0
114 stars 34 forks source link

App audio #31

Closed prikshitgupta closed 1 month ago

prikshitgupta commented 2 months ago

is it possible to stream app audio with video either display or camera?

pedroSG94 commented 2 months ago

Yes, you can do it with GenericStream or any class that extend from StreamBase

wertpoiu commented 2 months ago

Yes, you can do it with GenericStream or any class that extend from StreamBase

Possible to get example code?

wertpoiu commented 2 months ago

Hi @pedroSG94 hope all good. Can we have sample code?

pedroSG94 commented 2 months ago

Hello,

Sorry, I made a mistake. I thought that this was an issue in the Android version. App audio is not ready in the iOS version yet. Only microphone audio is working

wertpoiu commented 2 months ago

Hello,

Sorry, I made a mistake. I thought that this was an issue in the Android version. App audio is not ready in the iOS version yet. Only microphone audio is working

Ok no problem. Can we see update in future?

pedroSG94 commented 2 months ago

Hello, Sorry, I made a mistake. I thought that this was an issue in the Android version. App audio is not ready in the iOS version yet. Only microphone audio is working

Ok no problem. Can we see update in future?

Yes, my plan is implement all Android features in the iOS version

pedroSG94 commented 1 month ago

App audio should be working now. You only need call prepareInternalAudio instead of prepareAudio to use internal audio with RtmpDisplay, RtspDisplay or GenericDisplay. Open other issue if you have problems with this feature