oreka icon indicating copy to clipboard operation
oreka copied to clipboard

Realtime Audio Streaming

Open shushantsharan opened this issue 4 years ago • 3 comments

Design

Screenshot 2021-04-13 at 1 51 00 PM

Detailed Documentation

https://github.com/voiceip/oreka/wiki/Live-Streaming

shushantsharan avatar Mar 01 '21 14:03 shushantsharan

@kingster Latest Structure: Files added :

  • srs_librtmp.cpp, srs_librtmp.h --> RTMP client Library
  • LiveStreamFilter.cpp, LiveStreamFilter.h --> Rtp packets flow through this filter and are ingested to rtmp server from here ondemand
  • LiveStreamSession.cpp, LiveStreamSession.h --> finds session for a nativeCallId and pushed start/stop event to the session
  • LiveStreamServer.cpp, LiveStreamServer.h --> HTTP server
  • json.h --> support for json

POP based refactoring key updates :

  • All code changes added to orkaudio.cpp are removed now.
  • LiveStreamServer is started when OrkInitialize() is invoked for LiveStreamFilter . This helps in eliminating almost all the code changes from the rest of the project

shushantsharan avatar Apr 19 '21 05:04 shushantsharan

Hey, this seems interesting. Did you folks make any headway into this? I've been looking for ways to connect SIP calls to Dialogflow framework.

vcidst avatar Apr 22 '22 06:04 vcidst

Hi @vcidst

These changes are stable right now, and we have been using this feature in our production for quite some time, with the only caveat being that only G711 (PCMA/PCMU) is supported.

You can try out with the builds from this pr, and the wiki for setup instructions. Please open a fresh issue in case you face any problems while running the builds.

kingster avatar Apr 22 '22 08:04 kingster