Documentation
¶
Index ¶
- func GetIDFromRTP(pkt *rtp.Packet) string
- func GetIP(addr string) string
- func GetIPFromSTUN(stunURL string) string
- func GetIntefaceIP() string
- func GetLostSN(begin, bitmap uint16) []uint16
- func GetMills() int64
- func GetPort(addr string) string
- func IsLocalIP(ip string) bool
- func IsVideo(pt uint8) bool
- func Map(args ...interface{}) map[string]interface{}
- func Marshal(m map[string]interface{}) string
- func MarshalStr(args ...interface{}) string
- func MarshalStrMap(m map[string]string) string
- func NewNpError(code int, reason string) *nprotoo.Error
- func RandStr(l int) string
- func ReadAbsSendTime(pkt *rtp.Packet) (uint32, bool)
- func Recover(flag string)
- func SetIDToRTP(pkt *rtp.Packet, id string) *rtp.Packet
- func StrToUint32(str string) uint32
- func StrToUint8(str string) uint8
- func Unmarshal(str string) map[string]interface{}
- func Val(msg map[string]interface{}, key string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIDFromRTP ¶
func GetIPFromSTUN ¶
func GetIntefaceIP ¶
func GetIntefaceIP() string
func Map ¶
func Map(args ...interface{}) map[string]interface{}
make kv to map, args should be multiple of 2
func MarshalStr ¶
func MarshalStr(args ...interface{}) string
func MarshalStrMap ¶
func StrToUint32 ¶
func StrToUint8 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.