Skip to content

In the embedded Linux environment, the application runs automatically…#27

Open
weicaishi wants to merge 132 commits intoj0r1:masterfrom
weicaishi:logname
Open

In the embedded Linux environment, the application runs automatically…#27
weicaishi wants to merge 132 commits intoj0r1:masterfrom
weicaishi:logname

Conversation

@weicaishi
Copy link

In the embedded Linux environment, the application runs automatically when it boots up, which will lead to the failure of LOGNAME acquisition.

j0r1 added 30 commits December 3, 2016 16:12
This function allows you to change the data that will be sent out
(e.g. for encryption). It could also be used to disable sending
RTCP packets.
Added OnValidatedRTPPacket to RTPSession and RTPSources, allowing you
to process a packet as soon as it is linked to an RTPSourceData
instance. This way you can avoid the GotoFirst/GotoNext iteration over
the sources.

An OnChangeIncomingData member function was added to RTPSession,
allowing you to change received RTP or RTCP data. This can be used to
e.g. decrypt the packets.
Example 6 uses one of them
j0r1 and others added 28 commits March 17, 2017 07:41
The RTPTCPTransmitter::Dump debug routine is not implemented right
now, will probably just do this when needed.
It's possible that OnValidatedRTPPacket already deletes the packet,
making the pointer invalid.
This shouldn't happen since the number of CSRCs comes from four bits in
the RTP header. But better safe than sorry.
Uses the abort descriptor SendAbortSignal everytime a packet is
injected, but this buffer can fill up.
Fix rtpsecuresession.cpp when thread is not supported
Fix rtpsecuresession.cpp when thread is not supported
… when it boots up, which will lead to the failure of LOGNAME acquisition.
@j0r1
Copy link
Owner

j0r1 commented Dec 14, 2018

I'm sorry, but I don't like hardcoding a user name in the library. Why don't you just set LOGNAME when starting the application? Something like

LOGNAME=root /path/to/application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants