opencv - Secure streaming audio/video in JAVA -


I am projecting my university and I am struggling with many problems. This is a team project, so we have prepared an app, which will stream the main stream of AV stream from some cameras (our destination target IP camera). We have assumed that JMF is not enough for us, so we have found OpenCiv Library which is the Java API, which is ideal for us as Java because Java is our language of choice but I know that like C ++ It would be better for such a work in languages, but we do not have enough experience and some time is left.

What have we done so far:

  • We found the ZRTP protocol implementation ZRTP4J and checked it and we want it to be used for safe transmission (any Also should not be able to handle the conversation and now we are also thinking about authentication so that we can authorize the caller)
  • We can capture the frame with webcam using OpenCV but we have problems Are
  • < Li> We can encode frame-occupied encodings in specific formats using Xgler Library and can pack it in Media Container

In other, the frame we captured by OpenCV The words we want to capture the frame with a micro-captured audio, OPhone and send it to the RTP protocol which uses UDP in the transport layer. The question is how to do it properly? Should we be streaming at output and using some music before Dimax? Or maybe we have 2 separate streams, first for video and later for audio?

JMF is the second problem. We have to pay attention to our AV formats implemented for RTP transmission and its API is rigorous and special, it takes a lot of time for us and the fact is that this library Is old and is no longer developed and does not inspire us all. Can any of you implement some tests, validated RTP for Java? We are also open for other offers, maybe we are making a mistake on more points in our designs.

Thanks in advance! Huber

There is no need to use Muxar and Demcor in streaming video and audio frames. You must use 2 streams, another for video and another for audio. I advise you to read RFC 3550

Maybe you can try this Java RTP library

ZRTP4J is a library for major conversations. To encrypt and decrypt the packet you still need the SRTP library, the SRTP library can use the keys obtained from the ZRTP. I have found an open source project using SRTP


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -