Merge branch 'development' into LTS_development
# Conflicts: # lib/dtsc.h
This commit is contained in:
commit
775d25947c
2 changed files with 7 additions and 7 deletions
|
@ -99,7 +99,7 @@ static inline void show_stackframe(){}
|
||||||
#define SHM_DATASIZE 20
|
#define SHM_DATASIZE 20
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define AUDIO_KEY_INTERVAL 5000 ///< This define controls the keyframe interval for non-video tracks, such as audio and metadata tracks.
|
#define AUDIO_KEY_INTERVAL 2000 ///< This define controls the keyframe interval for non-video tracks, such as audio and metadata tracks.
|
||||||
|
|
||||||
#ifndef STATS_DELAY
|
#ifndef STATS_DELAY
|
||||||
#define STATS_DELAY 15
|
#define STATS_DELAY 15
|
||||||
|
|
12
lib/dtsc.h
12
lib/dtsc.h
|
@ -310,9 +310,9 @@ namespace DTSC {
|
||||||
return (parts.size() && keySizes.size() && (keySizes.size() == keys.size()));
|
return (parts.size() && keySizes.size() && (keySizes.size() == keys.size()));
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
void update(long long packTime, long long packOffset, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize, unsigned long segment_size = 5000);
|
void update(long long packTime, long long packOffset, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize, unsigned long segment_size = 1900);
|
||||||
*/
|
*/
|
||||||
void update(long long packTime, long long packOffset, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize, unsigned long segment_size = 5000, const char * iVec = 0);
|
void update(long long packTime, long long packOffset, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize, unsigned long segment_size = 1900, const char * iVec = 0);
|
||||||
int getSendLen(bool skipDynamic = false);
|
int getSendLen(bool skipDynamic = false);
|
||||||
void send(Socket::Connection & conn, bool skipDynamic = false);
|
void send(Socket::Connection & conn, bool skipDynamic = false);
|
||||||
void writeTo(char *& p);
|
void writeTo(char *& p);
|
||||||
|
@ -371,13 +371,13 @@ namespace DTSC {
|
||||||
return vod || live;
|
return vod || live;
|
||||||
}
|
}
|
||||||
void reinit(const DTSC::Packet & source);
|
void reinit(const DTSC::Packet & source);
|
||||||
void update(const DTSC::Packet & pack, unsigned long segment_size = 5000);
|
void update(const DTSC::Packet & pack, unsigned long segment_size = 1900);
|
||||||
void updatePosOverride(DTSC::Packet & pack, uint64_t bpos);
|
void updatePosOverride(DTSC::Packet & pack, uint64_t bpos);
|
||||||
void update(JSON::Value & pack, unsigned long segment_size = 5000);
|
void update(JSON::Value & pack, unsigned long segment_size = 1900);
|
||||||
/*LTS
|
/*LTS
|
||||||
void update(long long packTime, long long packOffset, long long packTrack, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize = 0, unsigned long segment_size = 5000);
|
void update(long long packTime, long long packOffset, long long packTrack, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize = 0, unsigned long segment_size = 1900);
|
||||||
LTS*/
|
LTS*/
|
||||||
void update(long long packTime, long long packOffset, long long packTrack, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize = 0, unsigned long segment_size = 5000, const char * iVec = 0);
|
void update(long long packTime, long long packOffset, long long packTrack, long long packDataSize, uint64_t packBytePos, bool isKeyframe, long long packSendSize = 0, unsigned long segment_size = 1900, const char * iVec = 0);
|
||||||
unsigned int getSendLen(bool skipDynamic = false, std::set<unsigned long> selectedTracks = std::set<unsigned long>());
|
unsigned int getSendLen(bool skipDynamic = false, std::set<unsigned long> selectedTracks = std::set<unsigned long>());
|
||||||
void send(Socket::Connection & conn, bool skipDynamic = false, std::set<unsigned long> selectedTracks = std::set<unsigned long>());
|
void send(Socket::Connection & conn, bool skipDynamic = false, std::set<unsigned long> selectedTracks = std::set<unsigned long>());
|
||||||
void writeTo(char * p);
|
void writeTo(char * p);
|
||||||
|
|
Loading…
Add table
Reference in a new issue