ZegoSEIType enum
SEI 类型
- Inheritance
-
- Object
- Enum
- ZegoSEIType
Constructors
- ZegoSEIType()
-
const
Values
- ZegoDefined → const ZegoSEIType
-
采用 H.264 的 SEI (nalu type = 6, payload type = 243) 类型打包,此类型是 SEI 标准未规定的类型,跟视频编码器或者视频文件中的 SEI 不存在冲突性,用户不需要根据 SEI 的内容做过滤,SDK 默认采用此种类型。
- UserUnregister → const ZegoSEIType
-
采用 H.264 的 SEI (nalu type = 6, payload type = 5) 类型打包,H.264 标准对于此类型有规定的格式:startcode + nalu type (6) + payload type (5) + len + payload (uuid + context) + trailing bits;因为视频编码器自身会产生 payload type 为 5 的 SEI,或者使用视频文件推流时,视频文件中也可能存在这样的 SEI,所以使用此类型时,用户需要把 uuid + content 当作 buffer 塞给发送 SEI 的函数;此时为了区别视频编码器自身产生的 SEI, App 在发送此类型 SEI 时,可以填写业务特定的 uuid (uuid 长度为 16 字节),接收方使用 SDK 解析 payload type 为 5 的 SEI 时,会根据设置的过滤字符串过滤出 uuid 相符的 SEI 抛给业务,如果没有设置过滤字符串,SDK 会把所有收到的 SEI 都抛给开发者。
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- index → int
-
A numeric identifier for the enumerated value.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ZegoSEIType> -
A constant List of the values in this enum, in order of their declaration.
[ZegoDefined, UserUnregister]